Uncontrolled Recursion in scapy - CVE-2026-128238

 

Uncontrolled Recursion in scapy - CVE-2026-128238

Published: November 19, 2026 / Updated: November 29, 2026


Vulnerability identifier: #VU168025
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-128238
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service in applications that use Scapy to parse untrusted network traffic.

The vulnerability exists due to uncontrolled recursion in Scapy's BER/ASN.1 decoder when parsing nested SEQUENCE elements without a decoder-level depth limit. A remote attacker can supply network data that triggers excessive recursion during TLS, SNMP, LDAP, or X.509 parsing to cause a denial of service.


Affected software

scapy

How to mitigate CVE-2026-128238

Install security update from vendor's website.

scapy - update to 2.8.0

External References

Related Security Bulletins