Denial of service in Leptonica



| Updated: 2023-12-22
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-38266
CWE-ID CWE-369
Exploitation vector Network
Public exploit N/A
Vulnerable software
Leptonica
Universal components / Libraries / Libraries used by multiple products

Vendor DanBloomberg

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Division by zero

EUVDB-ID: #VU84721

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 - Divide By Zero

Exploit availability: No

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

CPE2.3 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.



###SIDEBAR###