CVE-2026-128237: Scapy before 2.8.0 Denial of Service via Quadratic BER OID Decoding

Published Nov 13, 2026
·
Updated

Scapy before 2.8.0 contains a denial of service vulnerability in BERnumdec() and BERcodecOID.dodec() 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+.

Affected Software

1 affected component
pypi/scapy<2.8.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:33 AM
Data Sourced
via MITRE·09:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Scapy before 2.8.0 that decode attacker-controlled ASN.1/BER data are exposed. The vulnerable decoding paths are BER_num_dec() and BERcodec_OID.do_dec().

2

What does an attacker need to send to trigger the denial of service?

An attacker can supply ASN.1/BER data containing oversized OID arcs with many base-128 continuation bytes. No privileges or user interaction are required according to the supplied severity vector.

3

What is the impact on Python 3.11 and later?

In addition to quadratic CPU consumption, malformed oversized OID arcs can cause an uncaught ValueError crash on Python 3.11 and later.

4

How can I determine whether an installation is affected?

Check the installed Scapy version and whether it is earlier than 2.8.0. Also identify whether the application processes untrusted ASN.1/BER input through Scapy's OID decoding functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203