Mehmet Ince: Part 3/6 | How I Ended Up Turning a 22-Year-Old PostgreSQL Type-Confusion Primitive into RCE (CVE-2026-6460)

Security researcher Mehmet Ince detailed how he turned a 22-year-old type-confusion zero-day in PostgreSQL core, CVE-2026-6460, into remote code execution. Changing the type of a field inside a composite type and reading the value back produced a highly reliable memory-corruption primitive, which he describes as a new class of PostgreSQL type-confusion bugs. The work began while exploiting pg_clickhouse, used an AI agent to study internals, and is part 3 of a six-part series on systemic risks in managed PostgreSQL.

AI-written summary, checked against the cited sources. How summaries work

CVE-2026-6460

Severity
8.8 High · CVSS 3.1 · PostgreSQL
Exploited
Not in CISA’s catalog
Published
PostgreSQL

Affected: 18 to before 18.7; 17 to before 17.12; 16 to before 16.16; 15 to before 15.20; before 14.25

Fixed: 18.7; 17.12; 16.16; 15.20; 14.25

postgresql.org · CVE record · NVD

Coverage 3 publishers

  1. Planet PostgreSQLFirst report

    Mehmet Ince: Part 3/6 | How I Ended Up Turning a 22-Year-Old PostgreSQL Type-Confusion Primitive into RCE (CVE-2026-6460)

    If you had told me in April 2026 one question “Mehmet, can we use managed PostgreSQL for this project?” would send me into the deepest rabbit hole of my life, I would have laughed. Months later, I finally found the bottom of that rabbit…

  2. Hacker News

    Part 3/6 | How I Ended Up Turning a 22-Year-Old PostgreSQL Type-Confusion Primitive into RCE (CVE-2026-6460) - Mehmet Ince @mdisec - Vulnerability Researcher | Building security products | Security Advisor | Amateur Muay Thai fighter

    If you had told me in April 2026 one question “Mehmet, can we use managed PostgreSQL for this project?” would send me into the deepest rabbit hole of my life, I would have laughed. Months later, I finally found the bottom of that rabbit…

  3. Lobsters

    Part 3/6 | How I Ended Up Turning a 22-Year-Old PostgreSQL Type-Confusion Primitive into RCE (CVE-2026-6460) - Mehmet Ince @mdisec - Vulnerability Researcher | Building security products | Security Advisor | Amateur Muay Thai fighter

    If you had told me in April 2026 one question “Mehmet, can we use managed PostgreSQL for this project?” would send me into the deepest rabbit hole of my life, I would have laughed. Months later, I finally found the bottom of that rabbit…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.