CVE-2026-16240: PostgreSQL pg_basebackup can use backup manifest content as a format string
Vulnerability summary
CVE-2026-16240 is a low (CVSS 3.7) vulnerability in postgresql-18. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.3% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 6Timeline
- 12-11-2026PublishedVulnerability first disclosed.
- 12-11-2026Last modifiedVulnerability information updated.
Description
Use of externally-controlled format string in PostgreSQL pg_basebackup allows an attacker having already compromised a server to achieve disclosure from pg_basebackup memory, via backup manifest bytes. The vulnerability does not return the improperly-read bytes back to the attacker's server, so a successful attack would need separate implementation-specific secrets for that. Integrity impact is unlikely; in particular, the applicable formatter does not support %n. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu7 products
- postgresql-10All versions (No fix recorded)
- postgresql-12All versions (No fix recorded)
- postgresql-14All versions (No fix recorded)
- postgresql-16All versions (No fix recorded)
- postgresql-18All versions (No fix recorded)
Alpine4 products
- postgresql15< 15.20-r0
- postgresql16< 16.16-r0
- postgresql17< 17.12-r0
- postgresql18< 18.7-r0
Debian3 products
- postgresql-15All versions (No fix recorded) | < 15.20-0+deb12u1
- postgresql-17All versions (No fix recorded) | < 17.12-0+deb13u1
- postgresql-18All versions (No fix recorded) | < 18.7-1
3 vendors · 14 products