All vulnerabilities

PyPI

CVE-2026-128238

Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder

Severity
Medium 6.9
Published
13 Nov 2026
Last changed
13 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.8.0
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled recursion (CWE-674)
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
scapyPyPI · osv:PyPI:scapy
  • Every version before 2.8.0

About scapy

Weekly downloads (PyPI)
901,017PyPI Stats, 24 Nov 2026

Vulnerabilities in scapy

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for scapy

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-128238