CVE-2026-16240 Affecting postgresql17 package, versions <17.12-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.27% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-POSTGRESQL17-22505745
  • published13 Nov 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

NewCVE-2026-16240  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 postgresql17 to version 17.12-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql17 package and not the postgresql17 package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1