# CVE-2026-14676: PostgreSQL pg\_stat\_statements heap buffer overflow executes arbitrary code

- Priority: **Routine**
- Reason: Not severe (CVSS 8.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-14676, UBUNTU-CVE-2026-14676, DEBIAN-CVE-2026-14676
- Record: https://cvemate.com/vulnerability/CVE-2026-14676 · JSON: https://cvemate.com/vulnerability/CVE-2026-14676/json

## Description

```text
Heap buffer overflow in PostgreSQL pg_stat_statements allows the query author to execute arbitrary code as the operating system user running the database, via crafted queries containing array constants.  Within major version 18, minor versions before PostgreSQL 18.6 are affected.  Versions before PostgreSQL 18 are unaffected.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.436%, percentile 39.617%, 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

- 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
- debian postgresql-18 (Debian): \< 18.6-1
- ubuntu postgresql-18 (Ubuntu): \< 18.6-0ubuntu0.26.04.1
- ubuntu postgresql-9.3 (Ubuntu): All versions (No fix recorded)
- postgresql postgresql: ≥ 18.0, \< 18.5

## References

- <https://www.postgresql.org/support/security/CVE-2026-14676/>
- <https://security.alpinelinux.org/vuln/CVE-2026-14676>
- <https://ubuntu.com/security/CVE-2026-14676>
- <https://www.cve.org/CVERecord?id=CVE-2026-14676>
- <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-14676>

---

Data as of 2026-12-05T05:11:23.630Z. 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
