Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Scapy-based parser over network
-
ExploitSend 833-byte 250-level nested SEQUENCE packet
-
ExecutionTrigger unbounded BER decoder recursion
-
ImpactUnhandled RecursionError crashes parser process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires that the target application actually feed attacker-controlled, untrusted BER/ASN.1-encoded data into Scapy's decoder - i.e. it uses a code path such as TLS certificate/handshake parsing (scapy/layers/tls/), SNMP (scapy/layers/snmp.py), X.509 (scapy/layers/x509.py), or LDAP (scapy/layers/ldap.py) on data sourced from the network. No authentication, privileges, user interaction, or non-default configuration is needed (PR:N/UI:N/AC:L), and the documented safe=True parameter explicitly does NOT limit nesting depth, so it provides no mitigation. The principal limiting factor is deployment shape rather than attacker prerequisites: Scapy installed only for packet crafting or on trusted input is not exposed; the realistic risk is confined to long-running services that parse untrusted traffic (IDS, passive analyzers, protocol dissectors, honeypots). A single 833-byte packet (250 nested SEQUENCEs) suffices, and depth as low as the 100-250 range is the crash threshold shown in the PoC. |
| Impact | This is a genuine but bounded denial-of-service issue, not a critical emergency. The assigned CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L, 6.9 Medium) describes a remote, network-reachable, low-complexity, unauthenticated attack with no confidentiality or integrity impact and only availability affected - consistent with the CWE-674 uncontrolled-recursion crash in the BER/ASN.1 decoder. Note an internal discrepancy: the vulnerable-system availability is scored VA:L (partial) in the assigned 4.0 vector, while the GHSA advisory text self-rates the equivalent CVSS 3.1 as A:H (7.5), reflecting that a single repeatable 833-byte packet can terminate a long-running parser process faster than it restarts - so real-world availability impact on an exposed service is closer to High than the VA:L label suggests. No KEV listing and no EPSS score are present in the input, so there is no signal of active or widespread exploitation; a working proof-of-concept is published in the vendor GHSA advisory with demonstrated crash output. The vuln.today decision label is 'this_month' (not act_now/emergency), which matches the picture: a patched, impact-limited DoS worth scheduled remediation rather than crisis response. The practical risk is concentrated in a specific population - applications that use Scapy to parse untrusted, attacker-supplied TLS/SNMP/X.509/LDAP traffic (IDS, passive analyzers, honeypots) - rather than every Scapy installation. |
| Exploit ScenarioDerived | An attacker sends a single unauthenticated 833-byte packet containing 250 nested ASN.1 SEQUENCE structures to a network service that uses Scapy to dissect untrusted TLS, SNMP, X.509, or LDAP traffic (for example a passive IDS, traffic analyzer, or honeypot). The malformed input drives Scapy's BERcodec_SEQUENCE decoder into unbounded recursion, raising an unhandled RecursionError that terminates the parsing process; because AC is low and no privileges or user interaction are needed, the packet can be replayed to keep the service down. A working proof-of-concept with demonstrated crash output is published in the vendor's GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Denial of service in Scapy before 2.8.0 stems from unbounded recursion in the BER/ASN.1 decoder: a single 833-byte packet containing 250 nested SEQUENCE structures raises an unhandled RecursionError and terminates the parsing process, affecting TLS, SNMP, X.509 and LDAP parsers even when safe=True is used. The independent assessment rates it CVSS 3.1 7.5 High (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H); exposure is bounded to applications that actually feed untrusted BER/ASN.1 data into Scapy, and the vendor advisory includes a tested PoC against Scapy 2.7.0 while no CISA KEV listing is present. The vuln.today priority is this_month, and this is a genuine but bounded denial-of-service issue, not a critical emergency.
RemediationAI
Vendor-released patch: Scapy 2.8.0. Upgrade to Scapy 2.8.0 or later; the package data lists fixed in 2.8.0 and the vendor advisory is https://github.com/secdev/scapy/security/advisories/GHSA-456h-w4v7-hvpr. The advisory's suggested fix adds a configurable maximum BER nesting depth (for example 50) and raises BER_Decoding_Error beyond it; until 2.8.0 is deployed, safe=True does not limit nesting and does not mitigate the crash. If upgrading cannot be done immediately, do not feed untrusted BER/ASN.1-encoded traffic into Scapy's TLS, SNMP, X.509 or LDAP parsers, and run any necessary parsing in a supervised subprocess that can be restarted; this reduces the persistence of the denial of service but does not eliminate the crash.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Scapy's BER/ASN.1 decoder is the component at issue: BERcodec_SEQUENCE.do_dec() calls BERcodec_Object.dec() for each nested element, and when the element is another SEQUENCE the dispatch returns to do_dec(), creating mutual recursion with no depth counter, maximum nesting limit or size guard. CWE-674 describes this as uncontrolled recursion. The safe parameter only checks a subset of malformed length and type fields and does not constrain nesting, so safe=True provides no protection. The same code path is reached by scapy/layers/tls/, scapy/layers/snmp.py, scapy/layers/x509.py and scapy/layers/ldap.py; the advisory's crash table shows 100 nested SEQUENCEs (239 bytes) still parse, while 250 (833 bytes) crashes with a RecursionError after roughly 3,995 frames. The advisory's suggested code fix adds a configurable maximum BER nesting depth (for example 50) and raises BER_Decoding_Error beyond it, consistent with other ASN.1 parsers such as OpenSSL capping SEQUENCE nesting at 32.
Know when Scapy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote single-packet trigger with no auth or interaction gives AV:N/AC:L/PR:N/UI:N; the repeatable process-terminating crash with no data impact yields A:H, C:N, I:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
scapy 2.4.0 is affected by: Denial of Service. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitabl
Denial of service in Scapy before 2.8.0 lets remote attackers consume disproportionate CPU - and on Python 3.11+ crash t
Arbitrary code execution in Scapy before 2.7.0 is triggered when a user loads an attacker-controlled gzip-compressed pic
EUVD-2026-125054
GHSA-f6c2-ff6x-vmmq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB