Skip to content
Fencer Vulns
low 3.8

CVE-2026-16241 json

PostgreSQL ECPG integer underflow can crash the client

published 2026-08-13 2 mo ago modified 2026-09-08 2 mo ago also BIT-postgresql-2026-16241 , EUVD-2026-57850

cvss
3.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 27%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami postgresql 14.24.0, 15.19.0, 16.15.0, 17.11.0, 18.5.0
  • n/a PostgreSQL 14.24, 15.19, 16.15, 17.11, 18.6
  • postgresql-15 Debian 12 15.19-0+deb12u1
  • postgresql-17 Debian 13 17.11-0+deb13u1
  • postgresql-18 Debian 14 18.6-1

debian advisories DEBIAN-CVE-2026-16241

  • postgresql-14 Ubuntu 22.04 LTS 14.24-0ubuntu0.22.04.1
  • postgresql-16 Ubuntu 24.04 LTS 16.15-0ubuntu0.24.04.1
  • postgresql-18 Ubuntu 26.04 LTS 18.6-0ubuntu0.26.04.1

ubuntu advisories UBUNTU-CVE-2026-16241

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • postgresql15 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 15.19-150200.5.62.1
  • postgresql15 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Legacy 15 SP7 15.19-150600.16.36.1
  • postgresql17 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +2 more 17.11-150600.13.32.1
  • postgresql18 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 18.6-150200.5.17.1
  • postgresql18 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +2 more 18.6-150600.13.16.1
  • postgresql17 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 17.11-150200.5.33.1
  • postgresql16 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +2 more 16.15-150600.16.38.1
  • postgresql14 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Package Hub 15 SP7 +1 more 14.24-150600.16.36.1

suse advisories SUSE-SU-2026:4018-1SUSE-SU-2026:4017-1SUSE-SU-2026:4016-1SUSE-SU-2026:4015-1SUSE-SU-2026:4014-1SUSE-SU-2026:4013-1

  • postgresql15 openSUSE Leap 16.0 15.19-160000.1.1
  • postgresql16 openSUSE Leap 16.0 16.15-160000.1.1
  • postgresql17 openSUSE Leap 16.0 17.11-160000.1.1
  • postgresql14 openSUSE Leap 16.0 14.24-160000.1.1
  • postgresql18 openSUSE Leap 16.0 18.6-160000.1.1
  • postgresql18-mini openSUSE Leap 16.0 18.6-160000.1.1
  • postgresql18 openSUSE Tumbleweed 18.6-1.1
  • postgresql14 openSUSE Tumbleweed 14.24-1.1

opensuse advisories openSUSE-SU-2026:21700-1openSUSE-SU-2026:21701-1openSUSE-SU-2026:21702-1openSUSE-SU-2026:21699-1openSUSE-SU-2026:21703-1openSUSE-SU-2026:11565-1

  • postgresql15 Alpine 3.22, Alpine 3.21 15.19-r0
  • postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 16.15-r0
  • postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.11-r0
  • postgresql18 Alpine 3.24, Alpine 3.23 18.5-r0

alpine advisories ALPINE-CVE-2026-16241

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • postgresql Azure Linux 3.0 16.15-1

azure linux advisories AZL-95711

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-16241 updated cvss 3.8

postgresql: PostgreSQL ECPG: Denial of Service via integer underflow

  • Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +7 more Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +4 more Red Hat Enterprise Linux 10 postgresql16, postgresql18 Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more
    not affected: vulnerable code not present
  • Red Hat Hardened Images postgresql17, postgresql18, hi/postgresql
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 mo ago

Exploit prediction

0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
OSV 3.1 3.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

Affected packages

ecosystem package affected fixed in
bitnami postgresql
<14.24.0
>=15.0.0, <15.19.0
>=16.0.0, <16.15.0
>=17.0.0, <17.11.0
>=18.0.0, <18.5.0
14.24.0
15.19.0
16.15.0
17.11.0
18.5.0

Affected products

  • n/a PostgreSQL

Classification

Weakness
  • CWE-191 Integer Underflow (Wrap or Wraparound)
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.