2084AI Security Observatory

CVE

CVE-2026-6637

CVE-2026-6637HIGH 8.8EPSS 32%

CNA description

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.

Affected versions

All PostgreSQL vulnerabilities →

  • ≥ 18.0, < 18.4Fixed in 18.4
  • ≥ 17.0, < 17.10Fixed in 17.10
  • ≥ 16.0, < 16.14Fixed in 16.14
  • ≥ 15.0, < 15.18Fixed in 15.18
  • < 14.23Fixed in 14.23

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.