CVE-2026-16240
PostgreSQL pg_basebackup can use backup manifest content as a format string
- Severity
- low CVSS 3.7 (v3.1)
- Affects
- PostgreSQL · n/a
- Weakness
- CWE-134: Use of Externally-Controlled Format String
- Published
- 12 November 2026 by PostgreSQL
- First seen on our lists
- 12 November 2026
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.
Our coverage
On the lists
- -Wformat-nonliteral
- [oss-security] PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released, fixes 52 security vulnerabilities