
CVE catalog
CVE-2026-128238
scapy affected and fixed versions
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.
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.47% · Nov 19, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | scapy | 2.8.0+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-128238] |
| Debianforky | scapy | 2.8.0+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-128238] |
More observations (18)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | scapy | Not reported | AffectedDistribution reports no fix | [CVE-2026-128238] |
| Debianbookworm | scapy | 2.5.0+dfsg-2 | Affected | [CVE-2026-128238] |
| Debiantrixie | scapy | Not reported | AffectedDistribution reports no fix | [CVE-2026-128238] |
| Debiantrixie | scapy | 2.6.1+dfsg-1 | Affected | [CVE-2026-128238] |
| Ubuntu16.04 | scapy | 2.2.0-1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu18.04 | scapy | 2.3.3-1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu18.04 | scapy | 2.3.3-3 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu20.04 | scapy | 2.4.2-1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu20.04 | scapy | 2.4.3-3 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu20.04 | scapy | 2.4.3-4 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu22.04 | scapy | 2.4.4-4ubuntu1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu24.04 | scapy | 2.5.0+dfsg-2 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu24.04 | scapy | 2.5.0+dfsg-2ubuntu1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu26.04 | scapy | 2.6.1+dfsg-1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu26.04 | scapy | 2.6.1+dfsg-3 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu26.04 | scapy | 2.7.0+dfsg-1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu26.04 | scapy | 2.7.0+dfsg1-1 | Affected | [UBUNTU-CVE-2026-128238] |
| Ubuntu26.10 | scapy | 2.7.0+dfsg1-1 | Affected | [UBUNTU-CVE-2026-128238] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-scapy]Affected
Source package: [scapy]
Details (2)
2.5.0+dfsg-2· all · bookwormAffected
dsa · scapy · debian · bookworm; pypi · scapy · debian · 12
2.5.0+dfsg-2· all · bookwormAffected
dsa · scapy · debian · bookworm; pypi · scapy · debian · 12
[Debian 13 (Trixie)]
- [python3-scapy]Affected
Source package: [scapy]
Details (2)
2.6.1+dfsg-1· all · trixieAffected
pypi · scapy · debian · 13
2.6.1+dfsg-1· all · trixieAffected
pypi · scapy · debian · 13
Observed: