CVE-2026-2007
HIGH8.2EPSS 0.02%PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
Published: 2/12/2026Modified: 4/28/2026
Description
Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string. The attacker has limited control over the byte patterns to be written, but we have not ruled out the viability of attacks that lead to privilege escalation. PostgreSQL 18.1 and 18.0 are affected.
Affected packages (6)
- Alpine/postgresql15from 0, < 15.16-r0
- Alpine/postgresql16from 0, < 16.12-r0
- Alpine/postgresql17from 0, < 17.8-r0
- Alpine/postgresql18from 0, < 18.2-r0
- Bitnami/postgresql>= 18.0.0, < 18.2.0
- Debian/postgresql-18from 0, < 18.2-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |