CVE-2026-6637 is a vulnerability in PostgreSQL's contrib/spi refint module, specifically in the check_foreign_key() trigger function. The function constructed SQL statements using fixed-length stack buffers and insufficiently safe quoting of key values. One flaw is a stack buffer overflow caused by building dynamically sized queries in a fixed 8 KB stack buffer with repeated formatted appends, allowing attacker-controlled key values to overrun the buffer. A second, distinct flaw is an SQL injection condition in the cascade update path, where certain values were wrapped in single quotes without proper escaping before being interpolated into SQL statements. The vulnerability affects PostgreSQL versions before 18.4, 17.10, 16.14, 15.18, and 14.23 when the refint module is present and used.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
49 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A specific vulnerability identified as CVE-2026-6637 referenced in a Unity Linux local security check advisory/plugin.
Specific vulnerability referenced as affecting VMware Photon OS 5.0 PostgreSQL 15 package; exploit availability is indicated, but no technical details are provided in the content.
A vulnerability in PostgreSQL addressed indirectly through upgraded third-party components in Tenable Security Center.
A PostgreSQL vulnerability affecting contrib/spi, described as involving prevention of SQL injection and buffer overruns.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.