CVE-2026-81878 is a textbook size-plus-one integer overflow in radare2's CPython marshal/.pyc parser. A 32-bit length of 0xffffffff, incremented by one for a NUL terminator, wraps to zero. malloc(0) returns non-NULL on essentially every platform r2 runs on, and the subsequent copy loop writes past the zero-sized allocation until the heap corrupts or faults. The mechanism is settled; what matters is the surrounding code.
radare2 ingests adversarial artifacts by vocation. Every file it parses is, by definition, a file someone wanted analyzed — for threat intelligence, incident response, or automated malware triage. CI runners batch-process submitted samples, sandboxes pipe PyInstaller archives through r2, forensic pipelines commit .pyc blobs to shared storage. A crafted .pyc detonates inside the system whose job is to safely handle things that detonate. A CVSS of 5.5 MEDIUM reads like a single-user bug, not a force multiplier inside the defender tier. That calibration is worth pushing back on.
The unfixed code is probably not where the CVE landed. CPython's own marshal CVE history (CVE-2021-3733, CVE-2022-0391) clusters in legacy length-encoding paths upstream has been deprecating for years: PEP 552 magic numbers, pre-3.x header layouts, Python 2.x prefix encodings. radare2's version-dispatched table does what CPython maintainers are phasing out, on a fraction of the audit budget. PyInstaller bundles ship embedded runtimes and multi-version payloads, so those legacy paths are not historical — they are production attack surface for any tool analyzing compiled Python samples.
Before treating 6.2.0 as closed, check the actual diff. A localized guard on one switch arm confirms the legacy paths are unfixed sediment. A refactor touching the version-dispatch table and migrating all callsites to a bounded-length helper shifts the question to whether the refactor was complete. Either way, audit bin_pyc.c against CPython's published marshal CVE corpus — that is the format's own map of where this bug class lives.