Skip to main content
No exploitation reportedFix available

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?

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
  1. 2026-02-1214:16CVE publishedNVD

Versions per branch

NVD · OSV
PostgreSQL
BranchAffectedFixed in
18.x≥ 18.0, < 18.218.2
17.x≥ 17.0, < 17.817.8
16.x≥ 16.0, < 16.1216.12
15.x≥ 15.0, < 15.1615.16
14.x≥ 14.0, < 14.2114.21
postgresql
BranchAffectedFixed in
18.x≥ 18.0.0, < 18.2.018.2.0
17.x≥ 17.0.0, < 17.8.017.8.0
16.x≥ 16.0.0, < 16.12.016.12.0
15.x≥ 15.0.0, < 15.16.015.16.0
14.21< 14.21.014.21.0

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 affected
    Affected
    • ≥ 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

  • CVE-2026-2006 Red Hat Product Security3,674 products fixed · 40 known affected

    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

  • RHSA-2026:19010 Red Hat Product Security114 products fixed

    Red Hat Security Advisory: postgresql16 security update

  • RHSA-2026:19009 Red Hat Product Security106 products fixed

    Red Hat Security Advisory: postgresql18 security update

  • RHSA-2026:8756 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:4943 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Update Infrastructure 5.1 security update

  • RHSA-2026:4548 Red Hat Product Security149 products fixed

    Red Hat Security Advisory: postgresql:15 security update

25 more advisories

Full record on NVD

Fix

  1. Update PostgreSQL to 18.2 · 17.8 · 16.12 · 15.16 · 14.21
  2. 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
  3. 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/
  4. 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.
  5. 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
  6. 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

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
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

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?

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.

Is CVE-2026-2006 actively exploited?

Active exploitation of CVE-2026-2006 has not been confirmed. Its EPSS score was 1.1% on 2026-11-11, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-2006?

CVE-2026-2006 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record