Technical impact
Scapy, as distributed before version 2.8.0, contains a flaw in the BER_num_dec() and BERcodec_OID.do_dec() functions that permits a remote attacker to force the library into a denial of service condition. By sending ASN.1/BER data that includes oversized OID arcs with many base‑128 continuation bytes, the decoder can consume CPU time quadratically or trigger an uncaught ValueError crash on Python 3.11 and newer. The result is a denial of service with no impact on confidentiality or integrity.
Affected Systems
The vulnerability applies to the Scapy package from the secdev project for all versions prior to 2.8.0. Updated releases (2.8.0 and later) have removed the vulnerable code paths.
Risk and Exploitability
The CVSS score of 6.9 indicates a moderate to high severity. The EPSS score is below 1%, suggesting that exploitation in the wild is unlikely, and the flaw is not listed in CISA's KEV catalog. Nevertheless, because the issue can be triggered remotely via crafted ASN.1/BER payloads sent over a network, an attacker can exhaust CPU resources without needing privileged access, potentially taking affected services offline.