UBUNTU-CVE-2026-128238: Medium severity ubuntu/scapy vulnerability

Published Nov 13, 2026
·
Updated

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.

Affected Software

7 affected components
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*

Event History

Nov 13, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are realistically exposed to this issue?

Applications that use Scapy's BER/ASN.1 decoder to parse attacker-controlled TLS, SNMP, X.509, or LDAP data are exposed. The affected software is Scapy before version 2.8.0.

2

What does an attacker need to exploit it?

An unauthenticated remote attacker only needs to deliver a crafted ASN.1 payload to a reachable parsing application. A single 833-byte packet containing 250 nested ASN.1 SEQUENCE structures can trigger the failure.

3

Does enabling safe=True prevent the crash?

No. The recursion failure can terminate affected parsers even when safe=True is enabled.

4

What is the impact of successful exploitation?

Successful exploitation triggers an unhandled RecursionError and crashes the parsing application, causing a denial of service. The provided severity vector indicates no confidentiality or integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203