Skip to main content
← All vulnerabilities
CVE-2026-6637

PostgreSQL refint allows stack buffer overflow and SQL injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 18.4, 17.10, 16.14, 15.18, 14.23
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • n/a PostgreSQL

    From 18 · fixed in 18.4; From 17 · fixed in 17.10; From 16 · fixed in 16.14; From 15 · fixed in 15.18; fixed in 14.23

References 1

postgresql.org