Every CVE Search/ Get API key

CVE-2020-36277

Leptonica before 1.80.0 allows a denial of service (application crash) via an incorrect left...

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.43%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2020-36277
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-670
Updated
2026-11-02
CVE List No score

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

Record
CVE-2020-36277
Updated
2026-11-02
EUVDEUVD-2020-23820 No score

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

Record
EUVD-2020-23820
Updated
2026-11-03
GitHub AdvisoriesGHSA-5h62-2v5q-2mpg No score

Leptonica before 1.80.0 allows a denial of service (application crash) via an incorrect left...

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

Record
GHSA-5h62-2v5q-2mpg
Weakness
CWE-670
Updated
2026-11-02
OSV 7.5

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

Record
CVE-2020-36277
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-36277 7.5

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

Record
DEBIAN-CVE-2020-36277
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVJLSEC-2026-205 7.5

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

Record
JLSEC-2026-205
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSVOESA-2021-1327 7.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):

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

Leptonica before 1.80.0 allows a heap-based buffer over-read in findNextBorderPixel in ccbord.c.(CVE-2020-36278)

Leptonica before 1.80.0 allows a heap-based buffer over-read in pixFewColorsOctcubeQuantMixed in colorquant1.c.(CVE-2020-36281)

Leptonica before 1.80.0 allows a heap-based buffer over-read in rasteropGeneralLow, related to adaptmap_reg.c and adaptmap.c.(CVE-2020-36279)

Leptonica before 1.80.0 allows a heap-based buffer over-read in pixReadFromTiffStream, related to tiffio.c.(CVE-2020-36280)

Record
OESA-2021-1327
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-36277 7.5

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

Record
UBUNTU-CVE-2020-36277
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2021-0290 No score

Updated leptonica packages fix security vulnerabilities

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

Leptonica before 1.80.0 allows a heap-based buffer over-read in findNextBorderPixel in ccbord.c (CVE-2020-36278).

Leptonica before 1.80.0 allows a heap-based buffer over-read in rasteropGeneralLow, related to adaptmap_reg.c and adaptmap.c (CVE-2020-36279).

Leptonica before 1.80.0 allows a heap-based buffer over-read in pixReadFromTiffStream, related to tiffio.c (CVE-2020-36280).

Leptonica before 1.80.0 allows a heap-based buffer over-read in pixFewColorsOctcubeQuantMixed in colorquant1.c (CVE-2020-36281).

Record
MGASA-2021-0290
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
leptonlib
Debian:12
before 1.79.0-1.1
1.79.0-1.1
leptonlib
Debian:13
before 1.79.0-1.1
1.79.0-1.1
leptonlib
Debian:14
before 1.79.0-1.1
1.79.0-1.1
leptonlib
Debian:9
From an advisory covering 4 CVEs
before 1.74.1-1+deb9u1, plus listed versions
1.74.1-1
1.74.1-1+deb9u1
Leptonica_jll
Julia
before 1.81.1+0
1.81.1+0
leptonica
Mageia:7
From an advisory covering 5 CVEs
before 1.80.0-1.mga7
1.80.0-1.mga7
leptonica
openEuler:20.03-LTS-SP2
From an advisory covering 5 CVEs
before 1.79.0-2.oe1
1.79.0-2.oe1
leptonlib
Ubuntu: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
leptonlib
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.72-31.72-3build11.73-11.73-1ubuntu0.1~esm1
None known
leptonlib
Ubuntu: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
leptonlib
Ubuntu:20.04:LTS
All versions, plus listed versions
1.78.0-21.79.0-1
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-36277 is a high vulnerability (CVSS 7.5) in Leptonica, published March 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.43%, the 84th percentile. Fixed in leptonlib 1.79.0-1.1.

References

Show 17 moreShow less
MoveEnter Open