ABI compatibility in Python: How hard could it be?
Summary: Trail of Bits released abi3audit, a tool that checks Python packages for CPython ABI violations, and used it to find hundreds of inconsistently or incorrectly tagged distributions. Auditing 357 packages that had abi3 wheels downloaded from PyPI in the prior 21 days, it found 54 (15 percent) with ABI version violations and 11 (3.1 percent) with outright ABI violations, including PyQt6, sip, refl1d, and SAP's hdbcli.
What's compelling: Roughly one in six audited packages claimed support for one Python version while using the ABI of a newer one, and the CPython interpreter ignores the abi3 tag entirely, so a mismatched wheel loads blindly and can cause crashes or exploitable memory corruption.
Read the original at Trail of Bits Blog ↗
- Topics
- Supply Chain & AppSec
- Related
- Kitesurf is now open source Cyber Risks · Nov 13, 2026Trained to betray: How post-training supply chain attacks hijack coding agents Cyber Risks · Nov 12, 2026ZDI-26-913: (0Day) Meta fairseq load_audio_path Code Injection Remote Code Execution Vulnerability Cyber Risks · Nov 11, 2026