CVE-2026-2007 Details
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.
A heap buffer overflow vulnerability has been identified in the PostgreSQL `pg_trgm` extension, affecting versions 18.1 and 18.0. This vulnerability allows a database user to manipulate memory through a crafted input string. While the exact impacts are unknown, there is a possibility that such an attack could lead to privilege escalation.
Users can upgrade to PostgreSQL version 18.2 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:19009 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:8756 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-2007 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2439320 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2007.json | redhat-SADP | |
| https://www.postgresql.org/support/security/CVE-2026-2007/ | PostgreSQL | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | redhat-SADP |
| CWE-122 | Heap-based Buffer Overflow | PostgreSQL |
Affected Products
| Product | Versions |
|---|---|
| postgresql postgresql | >= 18.0, < 18.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | PostgreSQL |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 20, 2026 | Initial Analysis | [email protected] |
| Feb 12, 2026 | New CVE Received | PostgreSQL |