Skip to main content
CVE-2026-2007VulnerabilityPublished Updated

CVE-2026-2007: PostgreSQL · Heap-based Buffer Overflow

Affects PostgreSQLSource CVE Database V5

0

Not known to be exploited · CVSS 8.2 High : upgrade to 18.2 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 18.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade PostgreSQL to 18.2.

Affected software

ProductAffectedFixed in
PostgreSQLAffected
  • >=18 <18.2
Fixed in
  • 18.2

AI-suggested

Red Hat has released security updates for PostgreSQL 18 packages that address this vulnerability. Users should apply the official patches provided by Red Hat as detailed in their advisories (e.g., RHSA-2026:19009). Since this is not a cloud service, remediation requires updating the affected PostgreSQL packages on the affected systems. Patch status is confirmed by the vendor advisories and updates are available. No alternative mitigations are indicated by the vendor.

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.

References

Community reviews

Loading reviews…