CVE catalog

CVE-2026-128238

scapy affected and fixed versions

[CVE catalog]

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 / releasePackageVersionStatusSource
Debiansidscapy2.8.0+dfsg-1FixedDistribution-reported fixed boundary[CVE-2026-128238]
Debianforkyscapy2.8.0+dfsg-1FixedDistribution-reported fixed boundary[CVE-2026-128238]
More observations (18)
Distribution / releasePackageVersionStatusSource
DebianbookwormscapyNot reportedAffectedDistribution reports no fix[CVE-2026-128238]
Debianbookwormscapy2.5.0+dfsg-2Affected[CVE-2026-128238]
DebiantrixiescapyNot reportedAffectedDistribution reports no fix[CVE-2026-128238]
Debiantrixiescapy2.6.1+dfsg-1Affected[CVE-2026-128238]
Ubuntu16.04scapy2.2.0-1Affected[UBUNTU-CVE-2026-128238]
Ubuntu18.04scapy2.3.3-1Affected[UBUNTU-CVE-2026-128238]
Ubuntu18.04scapy2.3.3-3Affected[UBUNTU-CVE-2026-128238]
Ubuntu20.04scapy2.4.2-1Affected[UBUNTU-CVE-2026-128238]
Ubuntu20.04scapy2.4.3-3Affected[UBUNTU-CVE-2026-128238]
Ubuntu20.04scapy2.4.3-4Affected[UBUNTU-CVE-2026-128238]
Ubuntu22.04scapy2.4.4-4ubuntu1Affected[UBUNTU-CVE-2026-128238]
Ubuntu24.04scapy2.5.0+dfsg-2Affected[UBUNTU-CVE-2026-128238]
Ubuntu24.04scapy2.5.0+dfsg-2ubuntu1Affected[UBUNTU-CVE-2026-128238]
Ubuntu26.04scapy2.6.1+dfsg-1Affected[UBUNTU-CVE-2026-128238]
Ubuntu26.04scapy2.6.1+dfsg-3Affected[UBUNTU-CVE-2026-128238]
Ubuntu26.04scapy2.7.0+dfsg-1Affected[UBUNTU-CVE-2026-128238]
Ubuntu26.04scapy2.7.0+dfsg1-1Affected[UBUNTU-CVE-2026-128238]
Ubuntu26.10scapy2.7.0+dfsg1-1Affected[UBUNTU-CVE-2026-128238]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-scapy]Affected

    Source package: [scapy]

    Details (2)
    • 2.5.0+dfsg-2 · all · bookworm

      Affected

      dsa · scapy · debian · bookworm; pypi · scapy · debian · 12

    • 2.5.0+dfsg-2 · all · bookworm

      Affected

      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 · trixie

      Affected

      pypi · scapy · debian · 13

    • 2.6.1+dfsg-1 · all · trixie

      Affected

      pypi · scapy · debian · 13

Observed:

References