Servers and applications
CVE-2026-16240
PostgreSQL pg_basebackup can use backup manifest content as a format string
- Severity
- Low 3.7
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Fixed in
- 14.25, 15.20, 16.16, 17.12, 18.7
- Weakness
- Format string (CWE-134)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
PostgreSQLServers and applications · cna:n/a|postgresql |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-16240