Scapy before 2.8.0 Denial of Service via Quadratic BER OID Decoding
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 12, 2026
Description
Scapy before 2.8.0 contains a denial of service vulnerability in BER_num_dec() and BERcodec_OID.do_dec() that allows remote attackers to exhaust CPU by supplying oversized OID arcs. Attackers can send ASN.1/BER data with many base-128 continuation bytes to cause quadratic CPU consumption or an uncaught ValueError crash on Python 3.11+.
| 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-407 Inefficient Algorithmic Complexity
References
- GitHub Security Advisory (GHSA-xx44-g48m-mjp6)Vendor Advisory
- VulnCheck Advisory: Scapy before 2.8.0 Denial of Service via Quadratic BER OID DecodingThird-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.