CVE-2022-38266
An issue in the Leptonica linked library (v1.79.0) in Tesseract v5.0.0 allows attackers to cause...
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
CVE-2022-38266- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
CVE-2022-38266- Updated
- 2026-11-02
EUVDEUVD-2022-40858 No score
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
EUVD-2022-40858- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xgw2-h7jv-85pm
6.5
An issue in the Leptonica linked library (v1.79.0) in Tesseract v5.0.0 allows attackers to cause...
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.
- Record
GHSA-xgw2-h7jv-85pm- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-38266
6.5
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
DEBIAN-CVE-2022-38266- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVJLSEC-2026-210
6.5
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
JLSEC-2026-210- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVOESA-2023-1134
6.5
leptonica security update
The library supports many operations that are useful on * Document images * Natural images Fundamental image processing and image analysis operations * Rasterop (aka bitblt) * Affine transforms (scaling, translation, rotation, shear)on images of arbitrary pixel depth * Projective and bi-linear transforms * Binary and gray scale morphology, rank order filters, and convolution * Seed-fill and connected components * Image transformations with changes in pixel depth, both at the same scale and with scale change * Pixelwise masking, blending, enhancement, arithmetic ops,etc.
Security Fix(es):
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.(CVE-2022-38266)
- Record
OESA-2023-1134- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-38266
6.5
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
UBUNTU-CVE-2022-38266- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1784817741 No score
leptonica: Fix of CVE-2022-38266
- CVE-2022-38266: prevent divide-by-zero errors in block convolution functions
- Record
CLSA-2026-1784817741- Updated
- 2026-11-02
OSVCLSA-2026-1784970773 No score
leptonica: Fix of CVE-2022-38266
- CVE-2022-38266: prevent divide-by-zero errors in block convolution functions
- Record
CLSA-2026-1784970773- Updated
- 2026-11-02
OSV No score
An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.
- Record
CVE-2022-38266- Updated
- 2026-11-02
OSVMGASA-2022-0472 No score
Updated leptonica packages fix security vulnerability
This update fixes a denial of service vulnerability in leptonlib. It can be made to crash with an arithmetic exception on specially crafted JPEG files. (CVE-2022-38266)
- Record
MGASA-2022-0472- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
leptonicaTuxCare:AlmaLinux:9.2 |
before 1.80.0-4.el9_2.1.tuxcare.els1 | 1.80.0-4.el9_2.1.tuxcare.els1 |
leptonica-develTuxCare:AlmaLinux:9.2 |
before 1.80.0-4.el9_2.1.tuxcare.els1 | 1.80.0-4.el9_2.1.tuxcare.els1 |
leptonica-toolsTuxCare:AlmaLinux:9.2 |
before 1.80.0-4.el9_2.1.tuxcare.els1 | 1.80.0-4.el9_2.1.tuxcare.els1 |
leptonicaTuxCare:AlmaLinux:9.6 |
before 1.80.0-4.el9.1.tuxcare.els1 | 1.80.0-4.el9.1.tuxcare.els1 |
leptonica-develTuxCare:AlmaLinux:9.6 |
before 1.80.0-4.el9.1.tuxcare.els1 | 1.80.0-4.el9.1.tuxcare.els1 |
leptonica-toolsTuxCare:AlmaLinux:9.6 |
before 1.80.0-4.el9.1.tuxcare.els1 | 1.80.0-4.el9.1.tuxcare.els1 |
leptonlibDebian:12 |
before 1.82.0-1 | 1.82.0-1 |
leptonlibDebian:13 |
before 1.82.0-1 | 1.82.0-1 |
leptonlibDebian:14 |
before 1.82.0-1 | 1.82.0-1 |
leptonlibDebian:10 |
before 1.76.0-1+deb10u2, plus listed versions 1.76.0-11.76.0-1+deb10u1 |
1.76.0-1+deb10u2 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
Leptonica_jllJulia |
before 1.81.1+0 | 1.81.1+0 |
leptonicaMageia:8 |
before 1.81.0-1.mga8 | 1.81.0-1.mga8 |
mingw-leptonicaMageia:8 |
before 1.81.0-1.mga8 | 1.81.0-1.mga8 |
leptonicaopenEuler:20.03-LTS-SP1 |
before 1.79.0-3.oe1 | 1.79.0-3.oe1 |
leptonicaopenEuler:20.03-LTS-SP3 |
before 1.79.0-3.oe1 | 1.79.0-3.oe1 |
leptonicaopenEuler:22.03-LTS |
before 1.79.0-3.oe2203sp1 | 1.79.0-3.oe2203sp1 |
leptonicaopenEuler:22.03-LTS-SP1 |
before 1.79.0-3.oe2203sp1 | 1.79.0-3.oe2203sp1 |
leptonlibUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 1.69-4ubuntu11.69-4ubuntu21.69-4ubuntu31.69-4ubuntu41.70.1-11.70.1-1ubuntu0.1~esm1 |
None known |
tesseractUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 3.02.02-13.03.02-33.03.02-3ubuntu0.1~esm1 |
None known |
leptonlibUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.72-31.72-3build11.73-11.73-1ubuntu0.1~esm1 |
None known |
tesseractUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 3.04.00-5ubuntu13.04.01-23.04.01-43.04.01-4ubuntu0.1~esm1 |
None known |
leptonlibUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.74.4-11.74.4-21.75.3-11.75.3-21.75.3-31.75.3-3ubuntu0.1~esm1 |
None known |
tesseractUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 3.04.01-63.04.01-6build13.04.01-6build24.00~git2188-cdc35338-4build14.00~git2188-cdc35338-5 Show 4 moreShow less4.00~git2207-766b7bd6-3.14.00~git2219-40f43111-1.24.00~git2288-10f4998a-24.00~git2288-10f4998a-2ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-38266 is a medium vulnerability (CVSS 6.5) in Leptonica, published September 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.55%, the 75th percentile. Fixed in leptonica 1.80.0-4.el9_2.1.tuxcare.els1.
References
github.com/tesseract-ocr/tesseract/issues/3498
github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614
lists.debian.org/debian-lts-announce/2022/12/msg00018.html
security.gentoo.org/glsa/202312-01
nvd.nist.gov/vuln/detail/CVE-2022-38266
github.com/advisories/GHSA-xgw2-h7jv-85pm
Show 10 moreShow less
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1784817741.html
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1784970773.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38266.json
security-tracker.debian.org/tracker/CVE-2022-38266
advisories.mageia.org/MGASA-2022-0472.html
bugs.mageia.org/show_bug.cgi?id=31266
debian.org/lts/security/2022/dla-3233
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1134
ubuntu.com/security/CVE-2022-38266
cve.org/CVERecord?id=CVE-2022-38266