
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-16240 is a use of externally-controlled format string vulnerability (CWE-134) in PostgreSQL's pg_basebackup utility that enables limited memory disclosure via maliciously crafted backup manifest bytes. It affects PostgreSQL versions before 14.25, 15.20, 16.16, 17.12, and 18.7. The vulnerability was published on November 12, 2026, with patches released the same day. It carries a CVSS v3.1 base score of 3.7 (Low) (GitHub Advisory, Red Hat Bugzilla).
The root cause is improper handling of format strings derived from external input (CWE-134) within the pg_basebackup tool when processing backup manifest content. An attacker who has already compromised a PostgreSQL server can craft a malicious backup manifest containing format string specifiers that, when processed by pg_basebackup, cause it to read from unintended memory locations. Exploitation requires prior server compromise as a precondition, and the vulnerability's impact is further constrained because the applicable formatter does not support %n (ruling out write primitives), and the improperly-read bytes are not directly returned to the attacker's server — a separate exfiltration mechanism would be required (GitHub Advisory, Red Hat Bugzilla).
Successful exploitation results in limited confidentiality impact through partial disclosure of pg_basebackup process memory contents. There is no integrity or availability impact, as the format string handler does not support write-capable specifiers like %n. Because the improperly-read bytes are not automatically returned to the attacker's server, a full data exfiltration attack would require additional implementation-specific mechanisms beyond this vulnerability alone (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.269% (19th percentile), indicating a low probability of exploitation in the near term. Exploitation is further constrained by the requirement for prior server compromise and the high attack complexity rating.
PostgreSQL has released patched versions addressing this vulnerability: 18.7, 17.12, 16.16, 15.20, and 14.25. Administrators should upgrade to the appropriate patched version for their branch as the primary remediation. As additional hardening measures, restrict network access to pg_basebackup and backup infrastructure, monitor for anomalous backup manifest activity, and implement network segmentation to limit lateral movement from any compromised server (GitHub Advisory, PostgreSQL Release).
The vulnerability was part of a broader PostgreSQL security release in November 2026 that addressed multiple CVEs, described by some community sources as one of PostgreSQL's largest security updates. Coverage from pganalyze and HeroDevs noted the release in the context of the broader November 2026 security batch (pganalyze, HeroDevs). Red Hat tracked the issue as low severity and assigned it to their Product Security team (Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
bookworm
postgresql-15: 15.20-0+deb12u1
sid
postgresql-18: 18.7-1
trixie
postgresql-17: 17.12-0+deb13u1
bionic (esm-infra)
postgresql-10
devel
postgresql-18
focal (esm-infra)
postgresql-12
jammy
postgresql-14
noble
postgresql-16
resolute
postgresql-18
trusty (esm-infra-legacy)
postgresql-9.3
xenial (esm-infra-legacy)
postgresql-9.5
RHEL 8
postgresql:12/postgresql.src
RHEL 9
postgresql.src
RHEL 10
postgresql16.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."