CVE-2026-6637CWE-121CWE-89

PostgreSQL refint allows stack buffer overflow and SQL injection

High · published May 14, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
29.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00370 · 29.7th percentile
Weaknesses
CWE-121 · Stack-based Buffer Overflow; CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-05-14T13:00Z
EPSS history
Timeline
  • 14 MAY 13:00Z
    PostgreSQL refint allows stack buffer overflow and SQL injection
    cvelistv5