Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder

State
Published
Severity
6.9 Medium
Published
Nov 13, 2026
Updated
Nov 13, 2026
Reserved
Nov 12, 2026

Read the record on cve.org

Description

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.

ProductVersions
scapy secdevbefore 2.8.0 Affected2.8.0 Not Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.