Early warning
PostgreSQL releases fixes for 52 flaws, including CVE-2026-6460 type confusion bug
The PostgreSQL project released updates fixing CVE-2026-6460, a type confusion flaw rated 8.8 that lets a database user who can create objects run code on the server.
Written by a model from the sources below. Verify against them.
- Kind
- Pending CVE
- Vendor
- PostgreSQL
- Product
- PostgreSQL
- Status
- Confirmed
- First seen
- Confirmed
Summary
The PostgreSQL project released updates fixing CVE-2026-6460, a type confusion flaw rated 8.8 that lets a database user who can create objects run code on the server. Researcher Mehmet Ince published a writeup with a crash exploit and a memory-address leak, but withheld the final code-execution step, and no attacks have been reported by the project.
What to do
Update PostgreSQL to 18.7, 17.12, 16.16, 15.20, or 14.25, matching your major version.
Rebuild or update every C-language extension at the same time as the server.
Restrict which database roles can create or modify objects.
For managed PostgreSQL services, confirm with your provider whether its patch has been applied.
Timeline
- Made public by Mastodon
- First seen by cve.now1 day
- Confirmed as CVE-2026-64601 day
- Record last updated
Evidence 15
- SocialMastodon
“Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$us...”
+41 more: Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon - Social
- Social
- SocialMastodon
“Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view's base table, via iterated INSERT ... ON CONFLIC...”
- Social
- SocialMastodon
“Use after free in PostgreSQL pg_show_all_settings() allows a database user to retrieve memory contents, via loading a module while the function is scanning custom-variable placeholders that the module replaces and frees.”
- SocialMastodon
“Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more rows than the server supplied.”
- SocialMastodon
“Exposure of sensitive information in PostgreSQL security_barrier processing allows a database user to infer values hidden by a security_barrier view, via applying a leaky function to a CASE test value or internal parameter that indirectl”
- SocialReddit (r/netsec, r/cybersecurity, r/sysadmin)
“prepared statements prevents SQLi. But it also helped me to exploit a 22 years old PostgreSQL 0-day RCE (CVE-2026-6460)”
- Social
- Socialoss-security
“PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released, fixes 52 security vulnerabilities”
- PressThe Hacker News
“A type confusion flaw in PostgreSQL lets a database user who can create objects run code on the server.”
- SocialReddit (r/netsec, r/cybersecurity, r/sysadmin)
“PostgreSQL Patches 52 Vulnerabilities, Including a Code Execution Flaw That Reportedly Dates Back Two Decades”
- SocialMastodon
“New PostgreSQL minor releases fix a flaw whose patch also affects extensions, so RPM repository maintainers rebuilt every extension and warn against updating one without the other.”
- SocialReddit (r/netsec, r/cybersecurity, r/sysadmin)
“PostgreSQL Just Patched 52 CVEs in a Single Minor Release”
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about SZB-334738b1ec
Has PostgreSQL confirmed it?
Mastodon, Mastodon and Mastodon report a possible compromise. None of the sources says it happened.Source: Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Mastodon, Reddit (r/netsec, r/cybersecurity, r/sysadmin), Mastodon, oss-security, The Hacker News, Reddit (r/netsec, r/cybersecurity, r/sysadmin), Mastodon, Reddit (r/netsec, r/cybersecurity, r/sysadmin)
What should PostgreSQL and psql users do?
Update PostgreSQL to 18.7, 17.12, 16.16, 15.20, or 14.25, matching your major version. Rebuild or update every C-language extension at the same time as the server. Restrict which database roles can create or modify objects. For managed PostgreSQL services, confirm with your provider whether its patch has been applied.
Does it have a CVE?
Yes. It is tracked as CVE-2026-6460 and CVE-2026-116322.Source: CVE-2026-6460, CVE-2026-116322