Division by zero in SAIL - CVE-2026-59959

 

Division by zero in SAIL - CVE-2026-59959

Published: November 23, 2026


Vulnerability identifier: #VU169783
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59959
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing an application that uses SAIL to decode WebP images.

The vulnerability exists due to a divide-by-zero error in the SAIL WebP loader when it uses the canvas width to calculate bytes per pixel before validating that the width is nonzero. A remote attacker can induce a victim to open a malformed animated WebP file to crash the application before frame decoding begins.


Affected software

SAIL

How to mitigate CVE-2026-59959

Install security update from vendor's website.

SAIL - update to 1.0.2

External References

Related Security Bulletins