ALPINE-CVE-2026-116328: High severity alpine/postgresql15 vulnerability
Integer wraparound in PostgreSQL generation memory contexts allows a database user to execute arbitrary code as the operating system user running the database, via freeing an allocation larger than 1 GB and causing its block to be reused for smaller chunks whose back-pointer offset cannot represent that position. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/postgresql15to a version that resolves this vulnerability.Fixed in 15.20-r0 - Upgrade
Upgrade
alpine/postgresql16to a version that resolves this vulnerability.Fixed in 16.16-r0 - Upgrade
Upgrade
alpine/postgresql17to a version that resolves this vulnerability.Fixed in 17.12-r0 - Upgrade
Upgrade
alpine/postgresql18to a version that resolves this vulnerability.Fixed in 18.7-r0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.16
Event History
Frequently Asked Questions
Which deployments are affected?
PostgreSQL 16 through 18 are affected when below 16.16, 17.12, or 18.7, respectively. PostgreSQL versions before 16 are unaffected; the listed Alpine package set includes postgresql16, postgresql17, and postgresql18, while postgresql15 corresponds to an unaffected major version.
What level of access does an attacker need?
An attacker needs database-user privileges. No user interaction is required, and successful exploitation can result in arbitrary code execution as the operating system account that runs PostgreSQL.
What is the recommended remediation?
Upgrade affected PostgreSQL installations to 16.16, 17.12, or 18.7 or later within the corresponding major version.