CVE-2026-16240
Public on 2026-11-12
Modified on 2026-11-14
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Postgresql14 Extra | libpq | Not Affected | ||
| Amazon Linux 2023 | libpq | Not Affected | ||
| Amazon Linux 2027 Preview | libpq | Not Affected | ||
| Amazon Linux 2 - Postgresql14 Extra | postgresql | Pending Fix | ||
| Amazon Linux 2 - Core | postgresql | Not Affected | ||
| Amazon Linux 2023 | postgresql15 | Pending Fix | ||
| Amazon Linux 2023 | postgresql16 | Pending Fix | ||
| Amazon Linux 2027 Preview | postgresql16 | Pending Fix | ||
| Amazon Linux 2023 | postgresql17 | Pending Fix | ||
| Amazon Linux 2027 Preview | postgresql17 | Pending Fix | ||
| Amazon Linux 2023 | postgresql18 | Pending Fix | ||
| Amazon Linux 2027 Preview | postgresql18 | Pending Fix |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |