Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-128238 EUVD-2026-125054GHSA-f6c2-ff6x-vmmq

Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder

Published Nov 13, 2026 · Updated Nov 13, 2026 · Assigned by VulnCheck

Description

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

Affected products

VendorProductAffectedFixed
secdev scapy < 2.8.0 2.8.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 scapy 2.8.0+dfsg-1 —
Debian 13 scapy No fix yet —
Debian 12 scapy No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 scapy No fix yet —
Ubuntu 26.04 LTS scapy No fix yet —
Ubuntu 24.04 LTS scapy No fix yet —
Ubuntu 22.04 LTS scapy No fix yet —
Ubuntu 20.04 LTS scapy No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS scapy No fix yet —
Ubuntu 16.04 LTS scapy No fix yet —

References