CVE Watchtower

CVE-2026-6637Postgresql Postgresql SQL Injection

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

Vulnerability Summary

Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
Severity Level
HIGH(8.8)
Published Date
May 14, 2026
Last Modified
Nov 11, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.37%Probability
Root Weakness (CWE)
Improper neutralization of special elements used in an SQL command, allowing attackers to modify queries.
The buffer being overwritten is allocated on the stack.
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 Postgresql < 14.23
  • Postgresql Postgresql >= 15.0 and < 15.18
  • Postgresql Postgresql >= 16.0 and < 16.14
  • Postgresql Postgresql >= 17.0 and < 17.10
  • Postgresql Postgresql >= 18.0 and < 18.4
Patched Versions
  • Postgresql Postgresql 14.23
  • Postgresql Postgresql 15.18
  • Postgresql Postgresql 16.14
  • Postgresql Postgresql 17.10
  • Postgresql Postgresql 18.4

What to do

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

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

Timeline

  • May 14, 2026Published
  • Nov 11, 2026Record last modified

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

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

Data last checked: Nov 19, 2026 04:06 UTC