CVE-2026-128237 Scapy before 2.8.0 Denial of Service via Quadratic BER OID Decoding
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-128237?
CVE-2026-128237 is a medium-severity vulnerability in secdev scapy, published on 13 Nov 2026.
Official 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+.
Weakness: CWE-407
Which versions are affected by CVE-2026-128237?
1 open source package ship an affected version, including scapy.
| Package | Affected | Fixed in |
|---|---|---|
scapy PyPIpkg:pypi/scapy | All versions | 2.8.0 |
How do I fix CVE-2026-128237?
Upgrade scapy to 2.8.0 or later.
Is CVE-2026-128237 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-128237 exists.
Sources
Also known as DEBIAN-CVE-2026-128237, GHSA-f9f8-xrcx-w6x5, GHSA-xx44-g48m-mjp6, UBUNTU-CVE-2026-128237.