CVE-2026-16240 · Vendor
NO FIX YET · SEE WHAT TO DO
A flaw in PostgreSQL's pg_basebackup tool lets a server that has already been compromised read bytes from pg_basebackup's memory through crafted backup manifest data. The leaked bytes are not sent back to the attacker, so an exploit would need additional implementation-specific knowledge to recover useful secrets.
first public Nov 12, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams that run pg_basebackup to take backups from PostgreSQL servers, where the source server could be controlled by an attacker. The attacker must already have compromised the server being backed up. Teams that do not use pg_basebackup, or only back up trusted servers, are at lower risk.
Not affected if not-using-pg_basebackup, trusted-source-servers-only
Who cares database-backups, pg_basebackup, postgresql
pg_basebackup --version18.7, 17.12, 16.16, 15.20 and 14.25 are affected18.7, 17.12, 16.16, or for the matching major versionUse 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.
This page as .md · .json · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
15.2014.25