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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-13 · Modified: 2026-08-29
- Aliases: ALPINE-CVE-2026-16241, UBUNTU-CVE-2026-16241, DEBIAN-CVE-2026-16241, CGA-2367-f28h-h6f8, CGA-26m5-rvc6-2jmp, CGA-28g2-wr5m-w8m8, CGA-2fc2-mqf8-9hg4, CGA-33j7-wr4q-p85h, CGA-3767-fr2m-cxv8, CGA-42cq-jq47-jgjm, CGA-4jgp-wr2v-2hjf, CGA-96c9-xf38-xvf8, CGA-9pcv-9hgj-325v, CGA-chhj-cmjv-g2jq, CGA-cxv8-wqp7-68hv, CGA-f5jc-f447-9368, CGA-fcqp-w45g-3jvf, CGA-g73h-x9x8-67v9, CGA-hr2m-54xr-gx9p, CGA-rjv9-j5r8-2qp3, CGA-vv72-xv94-f5rg, CGA-w9gr-4g42-r826, CGA-x8vx-phpp-qmmp
- Record: https://cvemate.com/vulnerability/CVE-2026-16241 · JSON: https://cvemate.com/vulnerability/CVE-2026-16241/json

## Description

```text
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.
```

## Signals

- CVSS: 3.8 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.198%, percentile 10.089%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 35)

- alpine postgresql15 (Alpine Linux): \< 15.19-r0
- alpine postgresql16 (Alpine Linux): \< 16.15-r0
- alpine postgresql17 (Alpine Linux): \< 17.11-r0
- alpine postgresql18 (Alpine Linux): \< 18.5-r0
- chainguard postgresql-14 (Chainguard): \< 14.24-r0
- chainguard postgresql-14-client (Chainguard): \< 14.24-r0
- chainguard postgresql-15 (Chainguard): \< 15.19-r0
- chainguard postgresql-15-client (Chainguard): \< 15.19-r0
- chainguard postgresql-16 (Chainguard): \< 16.15-r0
- chainguard postgresql-16-client (Chainguard): \< 16.15-r0
- chainguard postgresql-17 (Chainguard): \< 17.11-r0
- chainguard postgresql-17-client (Chainguard): \< 17.11-r0
- chainguard postgresql-18 (Chainguard): \< 18.6-r0
- chainguard postgresql-18-client (Chainguard): \< 18.6-r0
- wolfi postgresql-14 (Wolfi): \< 14.24-r0
- wolfi postgresql-14-client (Wolfi): \< 14.24-r0
- wolfi postgresql-15 (Wolfi): \< 15.19-r0
- wolfi postgresql-15-client (Wolfi): \< 15.19-r0
- wolfi postgresql-16 (Wolfi): \< 16.15-r0
- wolfi postgresql-16-client (Wolfi): \< 16.15-r0

## References

- <https://www.postgresql.org/support/security/CVE-2026-16241/>
- <https://security.alpinelinux.org/vuln/CVE-2026-16241>
- <https://ubuntu.com/security/CVE-2026-16241>
- <https://www.cve.org/CVERecord?id=CVE-2026-16241>
- <https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/>
- <https://ubuntu.com/security/notices/USN-8653-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-16241>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-16241>

---

Data as of 2026-12-05T04:23:34.727Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
