Bug 2132556 (CVE-2022-38266)

Summary: CVE-2022-38266 leptonica: arithmetic exception leads to denial of service
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dchen, jkucera, manisandro
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Leptonica linked library in Tesseract. A divide by zero in the pixBlockconvGray function causes an arithmetic exception, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2132557, 2132568, 2132569    
Bug Blocks: 2126060    

Description Dhananjay Arunesh 2022-10-06 07:20:46 UTC
An issue in the Leptonica linked library (v1.79.0) in Tesseract v5.0.0 allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.

References:
https://github.com/tesseract-ocr/tesseract/issues/3498

Comment 1 Dhananjay Arunesh 2022-10-06 07:21:11 UTC
Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-35 [bug 2132557]