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

Read the record on cve.org

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+.

ProductVersions
scapy secdevbefore 2.8.0 Affected2.8.0 Not Affected

Weaknesses

  • CWE-407 Inefficient Algorithmic Complexity

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.