AI News

Security researcher turns a 22-year-old PostgreSQL type-confusion primitive into RCE (CVE-2026-6460)

Hacker News TrendingUpdated Nov 13 03:24

AI summary

Security researcher Mehmet Ince disclosed CVE-2026-6460, turning a mutable row type primitive in PostgreSQL that dates back to the 2004 commit 077db40fa1f3, combined with the expanded-object pointer introduced in 2015, into an exploit chain from type confusion to RCE. The core technique is to first change a composite type attribute from uuid to bytea to trigger a segmentation fault, then forge an ExpandedObjectHeader and method table to turn the detoasting path into a system(H) call, and use unnest() to return a text pointer as a bigint in order to leak addresses and bypass ASLR. The author reported a total of 21 similar cases; among the PostgreSQL security commits on November 9, 6 CVEs are directly related to this article, with CVE-2026-6460 as the main fix, which introduces composite attribute versioning; the author states that all managed PostgreSQL platforms tested were affected.

Why read this

AI score 61

The author uses first-hand research to reconstruct the complete exploit chain of the PostgreSQL composite type confusion vulnerability from crash to RCE, and provides a remediation checklist for 21 variants.

Topics

Tags

Body

Only a summary is authorized here. Continue at the validated source link.

Source

Hacker News Trending