CVE-2026-16240
JSON

3.7low

PostgreSQL pg_basebackup can use backup manifest content as a format string

Severity
3.7low CVSS:3.1 by PostgreSQL
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-16240

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

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.7, from 17 before 17.12, from 16 before 16.16, from 15 before 15.20, before 14.25CVE List
postgresql (Bitnami)before 14.25.0, from 15.0.0 before 15.20.0, from 16.0.0 before 16.16.0, from 17.0.0 before 17.12.0, from 18.0.0 before 18.7.0Bitnami Vulnerability Database

All scores

PostgreSQL3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-134

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-16240 changed 2026-11-12CVE Terms of Use
NVDCVE-2026-16240 changed 2026-11-12Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-16240 changed 2026-11-27Apache-2.0