PostgreSQL · published 2026-08-13

CVE-2026-6464PostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands

Routine No exploitation evidence; EPSS 0.4%.

CVE-2026-6464 is not known to be exploited in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 30% of all CVEs. This PostgreSQL vulnerability: CVSS 8.1 (v3.1), a successful attack gives total control of the component. Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20 (+1 more); patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux; Ubuntu still has unfixed releases. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixiepostgresql-17Fixed in 17.11-0+deb13u1
12 bookwormpostgresql-15Fixed in 15.19-0+deb12u1
Ubuntu26.04 LTSpostgresql-18Fixed in 18.6-0ubuntu0.26.04.1
24.04 LTSpostgresql-16Fixed in 16.15-0ubuntu0.24.04.1
22.04 LTSpostgresql-14Fixed in 14.24-0ubuntu0.22.04.1
20.04 LTSpostgresql-12No fix yet
Red Hat Enterprise LinuxRHEL 10postgresql16Fixed in 16.15-1.el10_2 RHSA-2026:70186
RHEL 10postgresql18Fixed in 18.6-1.el10_2 RHSA-2026:67280
RHEL 9postgresqlFixed in 13.23-6.el9_8 RHSA-2026:69607
RHEL 6postgresqlWon’t fix

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This monthSecurity release

    DatabasePostgreSQL

    PostgreSQL security releases: 18.7, 17.12, 16.16, 15.20, 14.25

    Upgrade to 18.717.1216.1615.2014.25

    Why: Vendor security release for server software (most severe: CVE-2026-116326).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.4% (30th pct)FIRST EPSS v2026.06.15
CVSS base score8.1 (v3.1)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →