{"id":"CVE-2026-16240","aliases":["CVE-2026-16240","BIT-POSTGRESQL-2026-16240"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL pg_basebackup can use backup manifest content as a format string","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-12T14:15:31.280Z","modified":"2026-11-27T06:45:45.146Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-134"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.7","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.12","status":"affected"},{"type":"rpm","introduced":"16","fixed":"16.16","status":"affected"},{"type":"rpm","introduced":"15","fixed":"15.20","status":"affected"},{"type":"rpm","introduced":"0","fixed":"14.25","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"14.25.0"},{"type":"semver","introduced":"15.0.0","status":"affected","fixed":"15.20.0"},{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.16.0"},{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.12.0"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.7.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-16240/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16240","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Peter Eisentraut for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-12T21:10:07.723Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-16240","url":"https://www.cve.org/CVERecord?id=CVE-2026-16240","licence":"CVE Terms of Use","modified":"2026-11-12T21:41:47.325Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-16240","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16240","licence":"Public domain","modified":"2026-11-12T22:19:21.823Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-16240","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-16240","licence":"Apache-2.0","modified":"2026-11-27T06:45:45.146Z"}],"updatedAt":"2026-11-27T07:07:31.839Z","epss":{"score":0.00256,"percentile":0.18431,"date":"2026-12-01T12:00:22.000Z"}}