
CVE-2026-20698: XNU kernel heap overflow via PF_ROUTE RTA_GENMASK. PoC and analysis. Independently discovered.
Heap buffer overflow in XNU's routing socket (PF_ROUTE) when processing RTA_GENMASK in route_msg(). Triggers kernel panic from an unprivileged process with no entitlements.
ENOBUFS instead of processing oversized genmask)pf_route_crash.c — Minimal PoC (triggers kernel panic)variant_probe.c — Variant analysis across route familiesfamily_probe.c — Family enumeration proberoute_26_4_variants.c — Post-patch variant testing (26.4)genmask_escalate.c — Escalation attempt analysisvariant_26_4_test.m — iOS app variant testsingle_family.c — Single family isolation testAPPLE_SUBMISSION.md — Original Apple Security Bounty submissionpanic_iphone17_26.3.1.ips — Kernel panic log from iPhone 17 Pro MaxThis CVE was officially assigned to DARKNAVY, who reported it before us. We independently discovered the same vulnerability through kernel source code analysis and binary testing on a real iPhone 17 Pro Max. Our Apple Security Bounty submission (OE110531644254) was closed as the issue was already patched in iOS 26.4.
Somair Ansar ([email protected])
Independently discovered, submitted 29/03/2026. Not the original reporter.