NULL pointer dereference in scapy - #VU159460

 

NULL pointer dereference in scapy - #VU159460

Published: November 5, 2026


Vulnerability identifier: #VU159460
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service in Scapy TLS client and server endpoints.

The vulnerability exists due to improper handling of a null negotiated TLS version in _TLSAutomaton.get_next_msg when processing application-data records before the TLS handshake. A remote attacker can send the six-byte record 170303000158 before any hello message to trigger a comparison between None and an integer, raising an unhandled TypeError and terminating the active endpoint or client handler.


Affected software

scapy

Remediation

Install security update from vendor's website.

scapy - update to 2.8.0

External References

Related Security Bulletins