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
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.
| Product | Versions |
|---|---|
| scapy secdev | before 2.8.0 Affected2.8.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-674 Uncontrolled Recursion
References
- GitHub Security Advisory (GHSA-456h-w4v7-hvpr)Vendor Advisory
- VulnCheck Advisory: Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE DecoderThird-Party Advisory
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.