The Compiler Nobody Satisfactorily Tested - Supply-Chain Gaps in EV Charging Firmware
Where
Car Hacking Village
DEF CON 34
Duration
18 min
Examines how unverified compilers can undermine memory safety in EV charger firmware, and proposes a four-step trust chain for evaluating toolchain integrity.
Summary
The talk opens with the Pwn2Own Automotive 2026 results, where EV chargers drew heavy attention and several winning exploits were plain memory-safety bugs such as out-of-bounds writes. The speaker points out that public disclosures never record which compiler built the affected firmware, and that the bill of materials format in a reference charger design has no field for a toolchain.
The middle of the talk uses a dead-store example to show that a key wiped with memset in correct C can disappear from the emitted binary, so source review alone misses the problem. The speaker then maps ISO 26262 qualified Rust compilers against chips and operating systems, showing many combinations with no qualified option. ISO 21434 manages tools but does not require compiler qualification, and software-defined vehicles and machine-written code raise the stakes.
For chargers and roadside units, which fall under fewer standards than cars, the speaker proposes a four-step lens: develop in a memory-safe language, compile with a qualified compiler, verify independently for the exact configuration, and review the binary. The speaker has not yet built the proposed demonstration and offers the blueprint for others to attempt.
Materials
Related talks
Cryptocurrency Village·27 min
Do Truong Giang · Sadiq · Arjun Suresh
Explains how a Cryptohack badge signs crypto transactions on-device and walks through the hardware attack surfaces an attacker with physical access could try.
Black Hat Europe 2025·38 min
Ben Liderman · Maayan Keshet
Analysts investigate attack surfaces and defenses concerning Bootstrapping Trust: From Isolated Build Machines to Enclaved CI Pipelines.
Aerospace Village·26 min
Lily · Adam · Robert · Kevin
Presents SAOv3, a draft add-on standard for conference badges, plus open-source OLED animation tooling that removes screen tearing.


