Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| secdevscapy |
< 2.8.0→ 2.8.0 |
2.8.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128238 scapy Fix available
- Ubuntu UBUNTU-CVE-2026-128238 scapy No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com