CVE-2026-128238
published medium CVSS 4.0 · 6.9Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| secdev | — | scapy0 to < 2.8.0 (affected · semver) · 2.8.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| secdev | scapy | 0 to < 2.8.0 (affected · semver)2.8.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-674 Uncontrolled Recursion
References
2- GitHub Security Advisory (GHSA-456h-w4v7-hvpr) https://github.com/secdev/scapy/security/advisories/GHSA-456h-w4v7-hvpr
- VulnCheck Advisory: Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder https://www.vulncheck.com/advisories/scapy-before-2.8.0-uncontrolled-recursion-dos-via-ber-sequence-decoder
Provider assertions
2VulnCheck · cna
Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 601d1b938143fc4881686ecb98a0f47a801a0a25ba9fcb55f8617790c7d200ae
- Ingested
- 13 Nov 2026, 22:37:54 UTC
- Source record
- Official CVE record