CVE-2026-16240
Last modified
CVE-2026-16240 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | PostgreSQL | >= 18, < 18.7; >= 17, < 17.12; >= 16, < 16.16; >= 15, < 15.20; < 14.25 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-16240?
How severe is CVE-2026-16240?
How do I fix CVE-2026-16240?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-16235Crypt::Password versions through 0.28 for Perl generate inse…9.8
- CVE-2026-16236The Realtyna Organic IDX plugin for WordPress is vulnerable …8.8
- CVE-2026-16237Improper protection in PostgreSQL INSERT ... ON CONFLICT on …5.4
- CVE-2026-16238Type confusion in PostgreSQL pg_restore_attribute_stats() al…8.8
- CVE-2026-16239Type confusion in PostgreSQL "portal"/cursor lifecycle allow…8.8
- CVE-2026-1624A security vulnerability has been detected in D-Link DWR-M96…8.8
- CVE-2026-16241Integer underflow in PostgreSQL ECPG allows a database serve…3.8
- CVE-2026-16242A flaw was found in the Konnectivity proxy-server configurat…9.4
- CVE-2026-16243In Eclipse OMR versions up to 0.11, the arraycmp SIMD implem…7.5
- CVE-2026-16244A security vulnerability has been detected in itsourcecode H…6.3
- CVE-2026-16246In BRAIN2 versions prior to 3.09, the application LogPathCon…7.3
- CVE-2026-16247In _connect.BRAIN versions prior to 5.06, the application Lo…7.3
Are you affected by CVE-2026-16240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
