8.2

CVE-2026-2007: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

Modified
AliasesALPINE-CVE-2026-2007UBUNTU-CVE-2026-2007DEBIAN-CVE-2026-2007
Published 12-02-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-2007 is a high (CVSS 8.2) Heap-based Buffer Overflow vulnerability in postgresql. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 45.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.55%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 12-02-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.51% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine4 products
  • postgresql15< 15.17-r0
  • postgresql16< 16.13-r0
  • postgresql17< 17.9-r0
  • postgresql18< 18.2-r0
Debian1 product
  • postgresql-18< 18.2-1
Postgresql1 product
Ubuntu1 product
  • postgresql-9.3All versions (No fix recorded)

4 vendors · 7 products

References

11 links
Show all 11 references