Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-16240
Published:November 12, 2026
Updated:November 12, 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.
Affected Packages
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_17_BETA1 <REL_17_12
Fix Suggestion:
Update to version REL_17_12
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_16_BETA1 <REL_16_16
Fix Suggestion:
Update to version REL_16_16
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_15_BETA1 <REL_15_20
Fix Suggestion:
Update to version REL_15_20
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_18_BETA1 <REL_18_7
Fix Suggestion:
Update to version REL_18_7
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_13_BETA1 <REL_14_25 || >=REL_14_BETA1 <REL_14_25
Fix Suggestion:
Update to version REL_14_25
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Use of Externally-Controlled Format String