PostgreSQL type confusion flaw CVE-2026-6460 crashes servers via a 22-year-old bug
A researcher has published a three-part series on CVE-2026-6460, a type confusion vulnerability in PostgreSQL patched in the November 9 security release. The flaw traces back to May 2004 and affects every PostgreSQL version shipped since ALTER TABLE ... ALTER COLUMN ... TYPE was introduced. Using a low-privilege role and four SQL statements, the researcher showed that the vulnerable 17.11 build crashed with a segmentation fault, while the patched 17.12 returned a descriptor-mismatch error instead. The fix adds composite attribute versioning, which detects when a composite's row type has changed after the datum was created and refuses to produce output. The series also explores how the underlying confusion could be turned into a control-flow hijack.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in