8.1

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

Modified
AliasesALPINE-CVE-2026-6464UBUNTU-CVE-2026-6464DEBIAN-CVE-2026-6464
Published 13-08-2026Last modified 29-08-2026

Vulnerability summary

CVE-2026-6464 is a high (CVSS 8.1) vulnerability in postgresql. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 56 · Related 30

Timeline

  1. 13-08-2026
    PublishedVulnerability first disclosed.
  2. 29-08-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.36% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • postgresql-14< 14.24-r0
  • postgresql-14-client< 14.24-r0
  • postgresql-15< 15.19-r0
  • postgresql-15-client< 15.19-r0
  • postgresql-16< 16.15-r0
Wolfi10 products
  • postgresql-14< 14.24-r0
  • postgresql-14-client< 14.24-r0
  • postgresql-15< 15.19-r0
  • postgresql-15-client< 15.19-r0
  • postgresql-16< 16.15-r0
Ubuntu7 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12All versions (No fix recorded)
  • postgresql-14< 14.24-0ubuntu0.22.04.1
  • postgresql-16< 16.15-0ubuntu0.24.04.1
  • postgresql-18< 18.6-0ubuntu0.26.04.1
Alpine4 products
  • postgresql15< 15.19-r0
  • postgresql16< 16.15-r0
  • postgresql17< 17.11-r0
  • postgresql18< 18.5-r0
Debian3 products
  • postgresql-15< 15.19-0+deb12u1
  • postgresql-17< 17.11-0+deb13u1
  • postgresql-18< 18.6-1
Postgresql1 product
  • postgresql≥ 14.0, < 14.24 | ≥ 15.0, < 15.19 | ≥ 16.0, < 16.15 | ≥ 17.0, < 17.11 | ≥ 18.0, < 18.5

6 vendors · 35 products

References

8 links