Vulnerability · Published Aug 13, 2026 · Assigned by PostgreSQL

CVE-2026-16241PostgreSQL ECPG integer underflow can crash the client

Low 3.8

In plain English

A low-severity security flaw in PostgreSQL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.8Low
Exploit odds (30 days)0.3%top 72.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Integer underflow in PostgreSQL ECPG allows a database server administrator to achieve temporary denial of service against the ECPG client via sending a bytea value lacking the mandatory prefix. The client overwrites a huge memory region with bytes outside attacker knowledge or control. This typically yields a simple SIGSEGV, but rare cases might achieve client-specific integrity impact via the write. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21postgresql1515.19-r0ALPINE-CVE-2026-16241
Alpine:v3.22postgresql1515.19-r0ALPINE-CVE-2026-16241
Alpine:v3.21postgresql1616.15-r0ALPINE-CVE-2026-16241
Alpine:v3.22postgresql1616.15-r0ALPINE-CVE-2026-16241
Alpine:v3.23postgresql1616.15-r0ALPINE-CVE-2026-16241
Alpine:v3.24postgresql1616.15-r0ALPINE-CVE-2026-16241
Alpine:v3.21postgresql1717.11-r0ALPINE-CVE-2026-16241
Alpine:v3.22postgresql1717.11-r0ALPINE-CVE-2026-16241
Alpine:v3.23postgresql1717.11-r0ALPINE-CVE-2026-16241
Alpine:v3.24postgresql1717.11-r0ALPINE-CVE-2026-16241
Alpine:v3.23postgresql1818.5-r0ALPINE-CVE-2026-16241
Alpine:v3.24postgresql1818.5-r0ALPINE-CVE-2026-16241
Debian:12postgresql-1515.19-0+deb12u1DEBIAN-CVE-2026-16241
Debian:13postgresql-1717.11-0+deb13u1DEBIAN-CVE-2026-16241
Debian:14postgresql-1818.6-1DEBIAN-CVE-2026-16241
Ubuntu:22.04:LTSpostgresql-1414.24-0ubuntu0.22.04.1USN-8653-1
Ubuntu:22.04:LTSpostgresql-1414.24-0ubuntu0.22.04.1UBUNTU-CVE-2026-16241
Ubuntu:24.04:LTSpostgresql-1616.15-0ubuntu0.24.04.1USN-8653-1
Ubuntu:24.04:LTSpostgresql-1616.15-0ubuntu0.24.04.1UBUNTU-CVE-2026-16241
Ubuntu:26.04:LTSpostgresql-1818.6-0ubuntu0.26.04.1UBUNTU-CVE-2026-16241
Ubuntu:26.04:LTSpostgresql-1818.6-0ubuntu0.26.04.1USN-8653-1

Affected products (as reported)

VendorProductVersions
n/a PostgreSQL 18 – before 18.617 – before 17.1116 – before 16.1515 – before 15.190 – before 14.24

Weakness: CWE-191 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

References