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.
CVE-2026-6637
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-14. NVD baseline CVSS 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EPSS
- 29.9%
- KEV
- Not listed
Published
May 14, 2026
Last Modified
May 18, 2026
Advisory Details (1)
Auto-updated May 14, 2026PostgreSQL: CVE-2026-6637: PostgreSQL refint allows stack buffer overflow and SQL injection
https://www.postgresql.org/support/security/CVE-2026-6637/Vendor Advisories for CVE-2026-6637(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:22878Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:21182Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- CVE-2026-6637Microsoft Security Response Center (MSRC)High
PostgreSQL refint allows stack buffer overflow and SQL injection
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | postgresql-server-dev-18 (18.4-0ubuntu0.26.04.1) @ resolute | 2026-06-29 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 10× in last 7d / 78× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 194 total refreshes for this CVE.
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 21:55 UTCEG score recompute
- 2026-06-29 21:55 UTCVendor advisory
- 2026-06-29 21:55 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 11:24 UTCEG score recompute
- 2026-06-28 11:24 UTCVendor advisory
- 2026-06-28 11:24 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 22:51 UTCEG score recompute
- 2026-06-27 22:51 UTCVendor advisory
- 2026-06-27 22:51 UTCGHSA enrichment
- 2026-06-27 08:07 UTCEG score recompute
- 2026-06-27 08:07 UTCVendor advisory
- 2026-06-27 08:07 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:24 UTCEG score recompute
- 2026-06-26 20:24 UTCVendor advisory
- 2026-06-26 20:24 UTCGHSA enrichment
- 2026-06-25 19:18 UTCEG score recompute
- 2026-06-25 19:18 UTCVendor advisory
- 2026-06-25 19:18 UTCGHSA enrichment
- 2026-06-25 13:50 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 13:57 UTCEG score recompute
- 2026-06-17 13:57 UTCVendor advisory
- 2026-06-17 13:57 UTCGHSA enrichment
- 2026-06-16 22:46 UTCEG score recompute
- 2026-06-16 22:46 UTCVendor advisory
- 2026-06-16 22:46 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 11:26 UTCEG score recompute
- 2026-06-16 11:26 UTCVendor advisory
- 2026-06-16 11:26 UTCGHSA enrichment
- 2026-06-16 00:05 UTCEG score recompute
- 2026-06-16 00:05 UTCVendor advisory
- 2026-06-16 00:05 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 22:17 UTCEG score recompute
- 2026-06-14 22:17 UTCVendor advisory
- 2026-06-14 22:17 UTCGHSA enrichment
- 2026-06-14 10:54 UTCEG score recompute
- 2026-06-14 10:54 UTCVendor advisory
- 2026-06-14 10:54 UTCGHSA enrichment
- 2026-06-13 23:33 UTCEG score recompute
- 2026-06-13 23:33 UTCVendor advisory
- 2026-06-13 23:33 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 04:31 UTCEG score recompute
- 2026-06-13 04:31 UTCVendor advisory
- 2026-06-13 04:30 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 16:28 UTCEG score recompute
- 2026-06-12 16:28 UTCVendor advisory
- 2026-06-12 16:28 UTCGHSA enrichment
- 2026-06-12 04:14 UTCEG score recompute
- 2026-06-12 04:14 UTCVendor advisory
- 2026-06-12 04:14 UTCGHSA enrichment
- 2026-06-11 16:51 UTCEG score recompute
- 2026-06-11 16:51 UTCVendor advisory
- 2026-06-11 16:51 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu · msrc
Frequently asked(5)
What is CVE-2026-6637?
When was CVE-2026-6637 disclosed?
Is CVE-2026-6637 actively exploited?
What is the CVSS score of CVE-2026-6637?
How do I remediate CVE-2026-6637?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-6637
Is Your Infrastructure Affected by CVE-2026-6637?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.