CVE Vulnerabilities

CVE-2020-36277

Always-Incorrect Control Flow Implementation

Published: Mar 11, 2021 | Modified: Nov 07, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Leptonica before 1.80.0 allows a denial of service (application crash) via an incorrect left shift in pixConvert2To8 in pixconv.c.

Weakness

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

Affected Software

Name Vendor Start Version End Version
Leptonica Leptonica * 1.80.0 (excluding)
Leptonlib Ubuntu bionic *
Leptonlib Ubuntu groovy *
Leptonlib Ubuntu hirsute *
Leptonlib Ubuntu impish *
Leptonlib Ubuntu kinetic *
Leptonlib Ubuntu lunar *
Leptonlib Ubuntu mantic *
Leptonlib Ubuntu trusty *
Leptonlib Ubuntu xenial *

References