CVE-2026-2007 json
PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
published 2026-02-12 8 mo ago modified 2026-09-08 2 mo ago also BIT-postgresql-2026-2007 , EUVD-2026-7042
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami postgresql 18.2.0
- n/a PostgreSQL 18.2
- Red Hat Red Hat Enterprise Linux 10 0:18.3-1.el10_2
- Red Hat Red Hat Hardened Images 18.3-1.2.hum1
- postgresql-18 Debian 14 18.2-1
debian advisories DEBIAN-CVE-2026-2007
- postgresql18 RHEL 10.2 18.3-1.el10_2
- postgresql18-test RHEL 10.2 18.3-1.el10_2
- postgresql18-plperl RHEL 10.2 18.3-1.el10_2
- postgresql18-server RHEL 10.2 18.3-1.el10_2
- postgresql18-contrib RHEL 10.2 18.3-1.el10_2
- postgresql18-upgrade RHEL 10.2 18.3-1.el10_2
- postgresql18-plpython3 RHEL 10.2 18.3-1.el10_2
- postgresql18-private-libs RHEL 10.2 18.3-1.el10_2
red hat advisories RHSA-2026:19009RHSA-2026:8756
- postgresql18 SLES for SAP applications 16.0, SLES 16.0 18.3-160000.1.1
- postgresql18 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +3 more 18.3-150600.13.8.1
- postgresql18 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 18.2-150200.5.6.1
- postgresql18 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 18.2-8.6.1
suse advisories SUSE-SU-2026:20921-1SUSE-SU-2026:0881-1SUSE-SU-2026:0585-1SUSE-SU-2026:0584-1
- postgresql18 openSUSE Leap 16.0 18.3-160000.1.1
- postgresql18-mini openSUSE Leap 16.0 18.3-160000.1.1
- postgresql18 openSUSE Tumbleweed 18.2-1.1
opensuse advisories openSUSE-SU-2026:20408-1openSUSE-SU-2026:10197-1
- postgresql18 AlmaLinux 10 18.3-1.el10_2
- postgresql18-test AlmaLinux 10 18.3-1.el10_2
- postgresql18-plperl AlmaLinux 10 18.3-1.el10_2
- postgresql18-server AlmaLinux 10 18.3-1.el10_2
- postgresql18-contrib AlmaLinux 10 18.3-1.el10_2
- postgresql18-upgrade AlmaLinux 10 18.3-1.el10_2
- postgresql18-plpython3 AlmaLinux 10 18.3-1.el10_2
- postgresql18-private-libs AlmaLinux 10 18.3-1.el10_2
almalinux advisories ALSA-2026:19009
- postgresql18 Rocky Linux 10 18.3-1.el10
rocky linux advisories RLSA-2026:19009
- postgresql15 Alpine 3.22, Alpine 3.20 15.16-r0
- postgresql15 Alpine 3.22, Alpine 3.21, Alpine 3.20 15.17-r0
- postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 16.12-r0
- postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 16.13-r0
- postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.8-r0
- postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.9-r0
- postgresql18 Alpine 3.24, Alpine 3.23 18.2-r0
alpine advisories ALPINE-CVE-2026-2007
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-2007 updated cvss 8.2
postgresql: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
-
Red Hat Enterprise Linux 9 postgresql18affected: workaround, no fix available
-
Red Hat Enterprise Linux AppStream (v. 10) postgresql18 18.3-1.el10_2, postgresql18-test 18.3-1.el10_2, postgresql18-plperl 18.3-1.el10_2, postgresql18-server 18.3-1.el10_2, postgresql18-contrib 18.3-1.el10_2, postgresql18-upgrade 18.3-1.el10_2, +2 more Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) postgresql18-test-rpm-macros 18.3-1.el10_2fixed: vendor fix RHSA-2026:19009
-
Red Hat Hardened Images postgresql18 18.3-1.2.hum1fixed: vendor fix RHSA-2026:8756
-
Red Hat Hardened Images postgresql 18.3-1.2.hum1, postgresql-test 18.3-1.2.hum1, postgresql-plperl 18.3-1.2.hum1, postgresql-server 18.3-1.2.hum1, postgresql-contrib 18.3-1.2.hum1, postgresql-upgrade 18.3-1.2.hum1, +3 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| CISA ADP | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| OSV | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | postgresql | >=18.0.0, <18.2.0 |
18.2.0 |
Affected products
- n/a PostgreSQL
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Hardened Images
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
- Technology feeds
References
-
access.redhat.com
/errata/RHSA-2026:19009
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2026:8756
vendor-advisory, web
-
postgresql.org
/support/security/CVE-2026-2007/
vendor-advisory, advisory
-
access.redhat.com
/security/cve/CVE-2026-2007
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2439320
issue-tracking, web
-
security.access.redhat.com
/data/csaf/v2/vex/2026/cve-2026-2007.json
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-2007
web
Sources
- CVE List CVE-2026-2007
- NVD CVE-2026-2007
- OSV BIT-postgresql-2026-2007
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.