CVE-2026-2006: PostgreSQL Vulnerability

CVE-2026-2006

NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Vulnerability Summary

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.
Severity Level
HIGH(8.8)
Published Date
Feb 12, 2026
Last Modified
Jun 30, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
1.08%Probability
Root Weakness (CWE)
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
The product receives input that is expected to specify an index, position, or offset into an indexable resource such as a buffer or file, but it does not validate or incorrectly validates that the specified index/position/offset has the required properties.
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • PostgreSQL >= 14.0 and < 14.21
  • PostgreSQL >= 15.0 and < 15.16
  • PostgreSQL >= 16.0 and < 16.12
  • PostgreSQL >= 17.0 and < 17.8
  • PostgreSQL >= 18.0 and < 18.2
  • PostgreSQL >= 18 and < 18.2
  • PostgreSQL >= 17 and < 17.8
  • PostgreSQL >= 16 and < 16.12
  • PostgreSQL >= 15 and < 15.16
  • PostgreSQL < 14.21
Patched Versions
  • PostgreSQL 14.21
  • PostgreSQL 15.16
  • PostgreSQL 16.12
  • PostgreSQL 17.8
  • PostgreSQL 18.2

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run PostgreSQL and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Feb 12, 2026Published
  • Jun 30, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new PostgreSQL CVEsYou are reading CVE-2026-2006. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Dec 3, 2026 01:10 UTC