#VU84721 Division by zero in Leptonica - CVE-2022-38266


Vulnerability identifier: #VU84721

Vulnerability risk: Medium

CVSSv4.0: 6.6 [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: Network

Exploit availability: No

Vulnerable software:
Leptonica
Universal components / Libraries / Libraries used by multiple products

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Leptonica: before 1.81.0


External links
https://github.com/tesseract-ocr/tesseract/issues/3498
https://github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614
https://lists.debian.org/debian-lts-announce/2022/12/msg00018.html
https://security.gentoo.org/glsa/202312-01


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability