CVE-2026-128238
Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
CVE-2026-128238 is a medium vulnerability (CVSS 6.9) in Secdev Scapy, published November 13, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 41st percentile. Fixed in scapy 2.8.0+dfsg-1.
- Severity
- 6.9 MediumCVSS 4.0, CVE List
- Exploit chance
- 0.47%EPSS, 41st percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
2.8.0+dfsg-1scapy +9 more
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
scapyDebian:12 | All versions, plus listed versions 2.5.0+dfsg-22.5.0+git20240324.2b58b51+dfsg-12.5.0+git20240324.2b58b51+dfsg-22.6.0+dfsg-12.6.0+dfsg-2 Show 6 moreShow less2.6.1+dfsg-12.6.1+dfsg-22.6.1+dfsg-32.7.0+dfsg-12.7.0+dfsg1-12.8.0+dfsg-1 | None known |
scapyDebian:13 | All versions, plus listed versions 2.6.1+dfsg-12.6.1+dfsg-22.6.1+dfsg-32.7.0+dfsg-12.7.0+dfsg1-12.8.0+dfsg-1 | None known |
scapyDebian:14 | before 2.8.0+dfsg-1, plus listed versions 2.6.1+dfsg-12.6.1+dfsg-22.6.1+dfsg-32.7.0+dfsg-12.7.0+dfsg1-1 | 2.8.0+dfsg-1 |
scapyUbuntu:16.04:LTS | All versions, plus listed versions 2.2.0-1 | None known |
scapyUbuntu:18.04:LTS | All versions, plus listed versions 2.3.3-12.3.3-3 | None known |
scapyUbuntu:20.04:LTS | All versions, plus listed versions 2.4.2-12.4.3-32.4.3-4 | None known |
scapyUbuntu:22.04:LTS | All versions, plus listed versions 2.4.4-4ubuntu1 | None known |
scapyUbuntu:24.04:LTS | All versions, plus listed versions 2.5.0+dfsg-22.5.0+dfsg-2ubuntu1 | None known |
scapyUbuntu:26.10 | All versions, plus listed versions 2.7.0+dfsg1-1 | None known |
scapyUbuntu:26.04:LTS | All versions, plus listed versions 2.6.1+dfsg-12.6.1+dfsg-32.7.0+dfsg-12.7.0+dfsg1-1 | None known |
What each source reports
CVE List Score used 6.9
Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
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.
- Record
CVE-2026-128238- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-674
- Updated
- 2026-11-13
EUVDEUVD-2026-125054 6.9
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.
- Record
EUVD-2026-125054- CVSS 4.0
- 6.9 Medium
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 - Updated
- 2026-11-13
GitHub AdvisoriesGHSA-f6c2-ff6x-vmmq 6.9
Scapy before 2.8.0 contains an uncontrolled recursion vulnerability in the BER/ASN.1 decoder in...
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.
- Record
GHSA-f6c2-ff6x-vmmq- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-674
- Updated
- 2026-11-13
NVD 6.9
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.
- Record
CVE-2026-128238- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-674
- Updated
- 2026-11-14
OSV 6.9
Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
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.
- Record
CVE-2026-128238- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-674
- Updated
- 2026-11-14
OSVDEBIAN-CVE-2026-128238 6.9
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.
- Record
DEBIAN-CVE-2026-128238- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-14
OSVUBUNTU-CVE-2026-128238 6.9
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.
- Record
UBUNTU-CVE-2026-128238- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-13
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts, references | OSV | |
| aliases, references | NVD, OSV | |
| affected, aliases, published, references | OSV | |
| published | EUVD | |
| published | EUVD | |
| aliases, references | GitHub Advisories, NVD | |
| aliases, published | EUVD | |
| first indexed | CVE List |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/secdev/scapy/security/advisories/GHSA-456h-w4v7-hvpr
vulncheck.com/advisories/scapy-before-2.8.0-uncontrolled-recursion-dos-via-ber-sequence-decoder
nvd.nist.gov/vuln/detail/CVE-2026-128238
github.com/advisories/GHSA-f6c2-ff6x-vmmq
github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128238.json
security-tracker.debian.org/tracker/CVE-2026-128238
ubuntu.com/security/CVE-2026-128238
cve.org/CVERecord?id=CVE-2026-128238