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
CVSSv4.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
Vulnerable software:
Leptonica
Software vendor:
DanBloomberg

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.


Remediation

Install updates from vendor's website.

External links