Uncontrolled Recursion Affecting scapy package, versions <2.8.0+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.47% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-SCAPY-22550270
  • published15 Nov 2026
  • disclosed13 Nov 2026

Introduced: 13 Nov 2026

NewCVE-2026-128238  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Debian:14 scapy to version 2.8.0+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream scapy package and not the scapy package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1