Read the docs

Scapy Uncontrolled Recursion DoS via BER SEQUENCE Decoder

Priority LOW 37CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.

Summary

Scapy before 2.8.0 contains uncontrolled recursion (CWE-674) in the BER/ASN.1 decoder in scapy/asn1/ber.py. An unauthenticated remote attacker can send a single 833-byte packet with 250 nested ASN.1 SEQUENCE structures to raise an unhandled RecursionError, which terminates TLS, SNMP, X.509, or LDAP parsers even when safe=True is set. CVSS 4.0 base score 6.9 (MEDIUM).

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00473 41st percentileScored 2026-11-16
Fix Fixed scapy (secdev): 2.8.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
secdevscapybefore 2.8.02.8.0Patch availableCNA
  • scapy Vendorsecdev Affected before 2.8.0 Fixed in 2.8.0 Patch available CNA

Remediation

Update Scapy to 2.8.0, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA scapy (secdev) Fixed in 2.8.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    secdev scapy 2.8.0

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-91461 Scapy Denial of Service via Quadratic BER OID DecodingPriority LOW 31

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128238
  2. 2026-11-13 Alias added: GHSA-f6c2-ff6x-vmmq
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2026-91461 Scapy Denial of Service via Quadratic BER OID Decoding CVSS 4.0MEDIUM 6.9
  • TI-2025-44071 Insecure deserialization in Scapy lets crafted session files run code CVSS 4.0MEDIUM 5.4

Sources