{"id":"UBUNTU-CVE-2026-128238","details":"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.","modified":"2026-11-18T11:14:55Z","published":"2026-11-13T10:18:00Z","upstream":["CVE-2026-128238"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-128238"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-128238"},{"type":"REPORT","url":"https://github.com/secdev/scapy/security/advisories/GHSA-456h-w4v7-hvpr"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/scapy-before-2.8.0-uncontrolled-recursion-dos-via-ber-sequence-decoder"}],"affected":[{"package":{"name":"scapy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.0-1","binary_name":"python-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.3-1","2.3.3-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-scapy","binary_version":"2.3.3-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.2-1","2.4.3-3","2.4.3-4"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scapy","binary_version":"2.4.3-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.4-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scapy","binary_version":"2.4.4-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0+dfsg-2","2.5.0+dfsg-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.0+dfsg-2ubuntu1","binary_name":"python3-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0+dfsg1-1","binary_name":"python3-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.1+dfsg-1","2.6.1+dfsg-3","2.7.0+dfsg-1","2.7.0+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scapy","binary_version":"2.7.0+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-128238.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}