CVE-2026-6464
PostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands
Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data lines as psql commands, via error injection. If the "COPY FROM STDIN" or "\copy FROM STDIN" command fails before the server indicates that it awaits input rows, psql processes the in-line data rows as psql commands. "COPY FROM" with a filename is unaffected. The server administrator has no inherent control over the data rows, so a complete attack requires the attacker to separately acquire control of both the server and the data rows. Alternatively, an attacker controlling data rows alone might complete an attack through a coincidental error that they don't control. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.358% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.1 · published by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T11:59:22.105Z
CVSS 3.1 · 8.1 · published by PostgreSQLCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:02:04.179Z
CVSS 3.1 · 8.1 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:01:37.662Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T11:59:22.105Z | NVD |
| epss | verified | 2026-11-19T16:04:53.982Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:01:37.662Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:02:04.179Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:02:04.179Z | CVE Program |
Affected versions and configuration
n/a PostgreSQL; default status: unaffected: 18 to < 18.6 [affected; scheme: rpm]; 17 to < 17.11 [affected; scheme: rpm]; 16 to < 16.15 [affected; scheme: rpm]; 15 to < 15.19 [affected; scheme: rpm]; 0 to < 14.24 [affected; scheme: rpm]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "postgresql-16",
"debian": "https://tracker.debian.org/pkg/postgresql-16",
"source": "https://ubuntu.com/security/cve?package=postgresql-16",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=postgresql-16",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "16.15-0ubuntu0.24.04.1",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2026-6464",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "17.11-0+deb13u1"
}
]
}
],
"package": {
"name": "postgresql-17",
"purl": "pkg:deb/debian/postgresql-17?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"17.10-0+deb13u1",
"17.5-1",
"17.6-0+deb13u1",
"17.6-1",
"17.7-0+deb13u1",
"17.8-0+deb13u1",
"17.9-0+deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6464.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [
"CVE-2026-6464"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2026-6464",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2026-6464",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "15.19-0+deb12u1"
}
]
}
],
"package": {
"name": "postgresql-15",
"purl": "pkg:deb/debian/postgresql-15?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"15.10-0+deb12u1",
"15.11-0+deb12u1",
"15.12-0+deb12u1",
"15.12-0+deb12u2",
"15.13-0+deb12u1",
"15.14-0+deb12u1",
"15.15-0+deb12u1",
"15.16-0+deb12u1",
"15.17-0+deb12u1",
"15.18-0+deb12u1",
"15.3-0+deb12u1",
"15.3-1",
"15.4-0+deb12u1",
"15.4-1",
"15.4-2",
"15.4-3",
"15.5-0+deb12u1",
"15.6-0+deb12u1",
"15.7-0+deb12u1",
"15.8-0+deb12u1",
"15.9-0+deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6464.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [
"CVE-2026-6464"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2026-6464",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "PostgreSQL",
"versions": [
{
"status": "affected",
"version": "18",
"lessThan": "18.6",
"versionType": "rpm"
},
{
"status": "affected",
"version": "17",
"lessThan": "17.11",
"versionType": "rpm"
},
{
"status": "affected",
"version": "16",
"lessThan": "16.15",
"versionType": "rpm"
},
{
"status": "affected",
"version": "15",
"lessThan": "15.19",
"versionType": "rpm"
},
{
"status": "affected",
"version": "0",
"lessThan": "14.24",
"versionType": "rpm"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-6464",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-08-13T00:00:00+00:00"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-08-14T03:55:30.751Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6BEE5714-C2EF-48DC-8613-C3EAA149E12E",
"versionEndExcluding": "14.24",
"versionStartIncluding": "14.0"
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F433746A-733F-4ED0-9913-8AF69E0C8BF2",
"versionEndExcluding": "15.19",
"versionStartIncluding": "15.0"
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1996B91F-E0B2-4A78-8788-E17EA68D179C",
"versionEndExcluding": "16.15",
"versionStartIncluding": "16.0"
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3D04E642-71D7-4979-AA19-B9CCDEFD8C31",
"versionEndExcluding": "17.11",
"versionStartIncluding": "17.0"
},
{
"criteria": "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8494F67B-673A-4E1F-8F40-D24DCC1F8DA4",
"versionEndExcluding": "18.5",
"versionStartIncluding": "18.0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / noble | postgresql-16 | security | 16.15-0ubuntu0.24.04.1 | Official record |
| ecosystem-boundary | Debian:13 / 13 | postgresql-17 | unknown | 17.11-0+deb13u1 | Official record |
| ecosystem-boundary | Debian:12 / 12 | postgresql-15 | unknown | 15.19-0+deb12u1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:02:04.179ZArchived source JSON
Source publication: 2026-08-13T13:00:16.158Z
Source modification: 2026-08-29T23:07:34.365ZDocument fingerprint
571b80144a5484c30a58ad07d1053e0d44bc2b30c8c44cbe96010a234d86fb3a - NVDConsulted: 2026-11-19T11:59:22.105ZArchived source JSON
Source publication: 2026-08-13T13:19:16.347Z
Source modification: 2026-08-29T23:17:21.723ZDocument fingerprint
5c882f6879ff506d585bf6d0a8c0540d2a18c104af820ca42cefc5bfdb044bbe - OSVConsulted: 2026-11-19T12:52:05.592ZArchived source JSON
Source publication: 2026-08-13T13:19:16.347Z
Source modification: 2026-10-01T03:03:38.283ZDocument fingerprint
bc7377159fbe1883ea8a51101a0bcce2f458a18dc726dd446fd2fa90a886a417 - OSVConsulted: 2026-11-19T12:52:08.472ZArchived source JSON
Source publication: 2026-08-13T13:19:16.347Z
Source modification: 2026-10-01T03:03:38.283ZDocument fingerprint
f99aedadc224159839f616997f8960cddd28c97207494f9c647b7c1e87e10fac - Ubuntu SecurityConsulted: 2026-11-19T16:01:37.662ZArchived source JSON
Source publication: 2026-08-13T13:19:00.000Z
Source modification: 2026-09-02T21:05:12.662ZDocument fingerprint
c9140da55c32b6a935fe0a0ade6c5dc561ee3ad9fdb6c2f64dbe31cd52f1fa2c - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:53.982ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
02f716adbfe8e4b3cb0489a50d5e3ba9c4249656218c1bd7ac535713ed705366
Official status history
- UNKNOWN → PUBLISHED · · evidence