8.8

CVE-2026-6637: PostgreSQL refint allows stack buffer overflow and SQL injection

Analyzed
AliasesALPINE-CVE-2026-6637RHSA-2026:50119RHSA-2026:50811
Published 14-05-2026Last modified 15-05-2026

Vulnerability summary

CVE-2026-6637 is a high (CVSS 8.8) vulnerability in postgresql. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 32.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 48 · Related 15

Timeline

  1. 14-05-2026
    PublishedVulnerability first disclosed.
  2. 15-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat28 products
  • postgresql< 0:13.23-1.el9_6.3 | < 0:13.23-1.el9_2.3
  • postgresql-contrib< 0:13.23-1.el9_6.3 | < 0:13.23-1.el9_2.3
  • postgresql-contrib-debuginfo< 0:13.23-1.el9_6.3 | < 0:13.23-1.el9_2.3
  • postgresql-debuginfo< 0:13.23-1.el9_6.3 | < 0:13.23-1.el9_2.3
  • postgresql-debugsource< 0:13.23-1.el9_6.3 | < 0:13.23-1.el9_2.3
Ubuntu8 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12All versions (No fix recorded)
  • postgresql-14< 14.23-0ubuntu0.22.04.1
  • postgresql-16< 16.14-0ubuntu0.24.04.1
  • postgresql-17< 17.10-0ubuntu0.25.10.1
Alpine4 products
  • postgresql15< 15.18-r0
  • postgresql16< 16.14-r0
  • postgresql17< 17.10-r0
  • postgresql18< 18.4-r0
Debian3 products
  • postgresql-15< 15.18-0+deb12u1
  • postgresql-17< 17.10-0+deb13u1
  • postgresql-18< 18.4-1
Postgresql1 product
  • postgresql< 14.23 | ≥ 15.0, < 15.18 | ≥ 16.0, < 16.14 | ≥ 17.0, < 17.10 | ≥ 18.0, < 18.4

5 vendors · 44 products

References

15 links
Show all 15 references