CVE-2026-2006
No exploitation reported by the sources we read.
- Published2026-02-12
- Fixed in18.2 · 17.8 · 16.12 · 15.16 · 14.21
- WeaknessCWE-1285 · CWE-129
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.
Timeline
dates in UTC- 2026-02-1214:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.x | ≥ 18.0, < 18.2 | 18.2 | NVD |
| 17.x | ≥ 17.0, < 17.8 | 17.8 | NVD |
| 16.x | ≥ 16.0, < 16.12 | 16.12 | NVD |
| 15.x | ≥ 15.0, < 15.16 | 15.16 | NVD |
| 14.x | ≥ 14.0, < 14.21 | 14.21 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.x | ≥ 18.0.0, < 18.2.0 | 18.2.0 | OSV |
| 17.x | ≥ 17.0.0, < 17.8.0 | 17.8.0 | OSV |
| 16.x | ≥ 16.0.0, < 16.12.0 | 16.12.0 | OSV |
| 15.x | ≥ 15.0.0, < 15.16.0 | 15.16.0 | OSV |
| 14.21 | < 14.21.0 | 14.21.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As PostgreSQL, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- PostgreSQLother versions: not affectedAffected
- ≥ 18, < 18.2fixed in 18.2rpm
- ≥ 17, < 17.8fixed in 17.8rpm
- ≥ 16, < 16.12fixed in 16.12rpm
- ≥ 15, < 15.16fixed in 15.16rpm
- < 14.21fixed in 14.21rpm
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-02-12
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libpqopenEuler:24.03-LTS-SP3all versions · fixed in 15.17-1.oe2403sp3and 1 other package
- libpqopenEuler:24.03-LTS-SP2all versions · fixed in 15.17-1.oe2403sp2and 1 other package
- libpqopenEuler:24.03-LTS-SP1all versions · fixed in 15.17-1.oe2403sp1and 1 other package
- libpqopenEuler:24.03-LTSall versions · fixed in 15.17-1.oe2403and 1 other package
- pg_repackRocky Linux:9all versions · fixed in 0:1.4.8-2.module+el9.7.0+40011+28af63c9
- pg_repackRocky Linux:9all versions · fixed in 0:1.5.1-1.module+el9.7.0+40012+a654bbaa
- pg_repackRocky Linux:9all versions · fixed in 0:1.5.1-1.module+el9.7.0+40060+39463e08
- pg_repackRocky Linux:8all versions · fixed in 0:1.4.6-3.module+el8.10.0+1862+29bef648
286 more package ranges on OSV.dev
Vendor advisories
postgresql: PostgreSQL missing validation of multibyte character length executes arbitrary code
postgresql as a component of Red Hat Enterprise Linux 6 · postgresql-contrib as a component of Red Hat Enterprise Linux 6 · postgresql-devel as a component of Red Hat Enterprise Linux 6 · +37 more
Red Hat Security Advisory: postgresql16 security update
Red Hat Security Advisory: postgresql18 security update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Update Infrastructure 5.1 security update
Red Hat Security Advisory: postgresql:15 security update
25 more advisories
Fix
- Update PostgreSQL to 18.2 · 17.8 · 16.12 · 15.16 · 14.21
- Vendor fix Red Hat Product Security RHSA-2026:19010 · 114 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:8756 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Vendor fix Red Hat Product Security RHSA-2026:4943 · 1 productThe container images provided by this release, apart from the installer, should be deployed using rhui-installer utility. See the official documentation for more details.
- Vendor fix Red Hat Product Security RHSA-2026:4544 · 149 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2026:19010 · 114 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Advisories and patches
- www.postgresql.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-12
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-02-13
- CNACVSS 3.18.8known since 2026-10-23
- CNAweakness (CWE)CWE-1285, CWE-129known since 2026-10-23
- FIRST EPSSEPSS score1.1 %2026-11-11
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-77426same flawAzure Linux · MIT
- AZL-77589same flawAzure Linux · MIT
- AZL-77643same flawAzure Linux · MIT
- BIT-postgresql-2026-2006same flawBitnami · Apache-2.0
- CGA-pr67-6mc9-h2mpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vg3p-ccrm-m3xxsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-6186same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-mq5v-x68w-mc4fsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-56same flawJulia Security Advisories · CC-BY-4.0
- MINI-3mvw-743p-p89hsame flawMinimOS · LicenseRef-unstated
- MINI-8948-336c-jxqfsame flawMinimOS · LicenseRef-unstated
- MINI-f4jm-5gcw-wrrpsame flawMinimOS · LicenseRef-unstated
- MINI-qqqc-gxgp-249hsame flawMinimOS · LicenseRef-unstated
- MINI-r2g3-cxvm-rm4hsame flawMinimOS · LicenseRef-unstated
- MINI-rv4f-cj7h-q55vsame flawMinimOS · LicenseRef-unstated
- ALSA-2026:19009advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:19010advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:3730advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:3887advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:3896advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:4024advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:4059advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:4063advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:4064advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:4110advisory covering several CVEsAlmaLinux · MIT
- DSA-6132-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-6133-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2026-0041advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-1493advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1494advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1495advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1496advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1512advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1513advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1514advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1515advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1531advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:10190-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10191-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10192-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10193-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10197-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20265-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20266-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20388-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20408-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20447-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:19009advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:19010advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:3730advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-02-12
- Last Modified
- 2026-07-15
- NVD status
- Modified
- GitHub Advisory
- GHSA-mq5v-x68w-mc4f
Frequently asked questions
What is CVE-2026-2006?
Is CVE-2026-2006 actively exploited?
What is the CVSS score for CVE-2026-2006?
Running PostgreSQL? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mq5v-x68w-mc4f
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0