CVE-2026-2007
PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
8.2
HIGH
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2026-2007
To remediate CVE-2026-2007, upgrade the affected package to a fixed version below.
- —upgrade to 15.16-r0 or later
- —upgrade to 16.12-r0 or later
- —upgrade to 17.8-r0 or later
- —upgrade to 18.2-r0 or later
- —upgrade to 18.2.0 or later
- —upgrade to 18.2-1 or later
Is CVE-2026-2007 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 15.16-r0
- from 0, < 16.12-r0
- from 0, < 17.8-r0
- from 0, < 18.2-r0
- >= 18.0.0, < 18.2.0
- from 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 |