CVE-2026-2007: PostgreSQL · Heap-based Buffer Overflow
Affects PostgreSQLSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 18.2 soon.
Data as of 25 Oct 2026, 19:02 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQL | Affected
| Fixed in
|
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
- postgresql.org/support/security/CVE-2026-2007/ (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-2007 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2439320 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2007.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19009 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8756 (opens in a new tab)