Division by zero in Leptonica - CVE-2022-38266

 

Division by zero in Leptonica - CVE-2022-38266

Published: December 22, 2023


Vulnerability identifier: #VU84721
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-38266
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: DanBloomberg
Affected software:
Leptonica

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a divide by zero error within the blocksumLow() function in convolve.c. A remote attacker can pass a specially crafted JPEG image to the application and crash it.


How to mitigate CVE-2022-38266

Install updates from vendor's website.

Sources