Division by zero in scapy - #VU168022

 

Division by zero in scapy - #VU168022

Published: November 19, 2026


Vulnerability identifier: #VU168022
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: N/A
CWE-ID: CWE-369
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's built-in TFTP read server.

The vulnerability exists due to an unchecked division in the TFTP read server when it calculates the number of blocks for a transfer. A remote attacker can send a malformed TFTP read request to trigger an uncaught division-by-zero exception that stops the server from processing subsequent requests.


Affected software

scapy

Remediation

Install security update from vendor's website.

scapy - update to 2.8.0

External References

Related Security Bulletins