CVE-2026-128238

NameCVE-2026-128238
DescriptionScapy before 2.8.0 contains an uncontrolled recursion vulnerability in the BER/ASN.1 decoder in scapy/asn1/ber.py that allows unauthenticated remote attackers to crash parsing applications. Attackers can send a single 833-byte packet with 250 nested ASN.1 SEQUENCE structures to trigger an unhandled RecursionError, terminating TLS, SNMP, X.509, or LDAP parsers even with safe=True.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
scapy (PTS)bookworm2.5.0+dfsg-2vulnerable
trixie2.6.1+dfsg-1vulnerable
forky, sid2.8.0+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
scapysource(unstable)2.8.0+dfsg-1

Notes

https://github.com/secdev/scapy/security/advisories/GHSA-456h-w4v7-hvpr

Search for package or bug name: Reporting problems