Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
CVE-2026-128238
6.9MEDIUM
What is CVE-2026-128238?
Scapy before 2.8.0 contains an uncontrolled recursion vulnerability in the BER/ASN.1 decoder in scapy/asn1/ber.py that allows unauthenticated remote attackers to crash parsing applications. Attackers can send a single 833-byte packet with 250 nested ASN.1 SEQUENCE structures to trigger an unhandled RecursionError, terminating TLS, SNMP, X.509, or LDAP parsers even with safe=True.
Affected Version(s)
scapy 0 < 2.8.0
scapy 2.8.0
