Scapy before 2.8.0 Denial of Service via Quadratic BER OID Decoding
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-128237 scapy Fix available
- Ubuntu UBUNTU-CVE-2026-128237 scapy3k, scapy No fixed version in this record
Original description The description as published by the source.
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+.
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