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

- Severity: Low 3.8 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-08-13T13:00:13.697Z
- Modified: 2026-09-08T08:48:04.889Z
- Also known as: BIT-POSTGRESQL-2026-16241
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PostgreSQL

## 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.

(As written by CVE List.)

## Affected

- PostgreSQL: from 18 before 18.6; from 17 before 17.11; from 16 before 16.15; from 15 before 15.19; before 14.24
- postgresql postgresql: from 14.0 before 14.24; from 15.0 before 15.19; from 16.0 before 16.15; from 17.0 before 17.11; from 18.0 before 18.5
- postgresql (Bitnami): before 14.24.0; from 15.0.0 before 15.19.0; from 16.0.0 before 16.15.0; from 17.0.0 before 17.11.0; from 18.0.0 before 18.5.0

## Every score

- PostgreSQL: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L`
- Bitnami Vulnerability Database: rating Low

## References

- <https://www.postgresql.org/support/security/CVE-2026-16241/> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-16241> (web)

## Sources

- CVE List: [CVE-2026-16241](https://www.cve.org/CVERecord?id=CVE-2026-16241), CVE Terms of Use, modified 2026-08-29
- NVD: [CVE-2026-16241](https://nvd.nist.gov/vuln/detail/CVE-2026-16241), Public domain, modified 2026-08-29
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2026-16241](https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-16241), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-16241 · Whole record: https://cve.day/CVE-2026-16241.json · Rebuilt by cve.day 2026-11-25T22:59:32.718Z
