CVE catalog

CVE-2018-7440

leptonlib: CVE-2018-7440

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.74% · Oct 25, 2026

An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function allows command injection via a $(command) approach in the gplot rootname argument. This issue exists because of an incomplete fix for CVE-2018-3836.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianleptonlibsid1.86.0-1fixed
Debianleptonlibforky1.86.0-1fixed
Debianleptonlibtrixie1.84.1-4fixed
Debianleptonlibbookworm1.82.0-3fixed
Ubuntuleptonlibpro1.72-3vulnerable
Ubuntuleptonlibpro1.72-3build1vulnerable
Ubuntuleptonlibpro1.73-1vulnerable
Ubuntuleptonlibpro1.73-1ubuntu0.1~esm1vulnerable
Ubuntuleptonlib18.041.74.4-1vulnerable
Ubuntuleptonlib18.041.74.4-2vulnerable
Ubuntuleptonlib18.041.75.3-1vulnerable
Ubuntuleptonlib18.041.75.3-2vulnerable
Ubuntuleptonlib18.041.75.3-3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianleptonlibsourcesid1.75.3-3not yet assignedNot reported[891932]
Debianleptonlibsourceforky1.75.3-3not yet assignedNot reported[891932]
Debianleptonlibsourcetrixie1.75.3-3not yet assignedNot reported[891932]
Debianleptonlibsourcebookworm1.75.3-3not yet assignedNot reported[891932]
Ubuntuleptonlibdeb18.041.75.3-3Not reportedUBUNTU-CVE-2018-7440Not reported

[Debian bug #891932]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [leptonlib]

    Details (2)
    • 1.82.0-3+b3 · amd64 · bookworm

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · bookworm; dsa · leptonlib · debian · 12

    • 1.82.0-3+b3 · arm64 · bookworm

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · bookworm; dsa · leptonlib · debian · 12

  • [liblept5]Fixed

    Source package: [leptonlib]

    Details (2)
    • 1.82.0-3+b3 · amd64 · bookworm

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · bookworm; dsa · leptonlib · debian · 12

    • 1.82.0-3+b3 · arm64 · bookworm

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · bookworm; dsa · leptonlib · debian · 12

  • Source package: [leptonlib]

    Details (2)
    • 1.82.0-3+b3 · amd64 · bookworm

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · bookworm; dsa · leptonlib · debian · 12

    • 1.82.0-3+b3 · arm64 · bookworm

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · bookworm; dsa · leptonlib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [leptonlib]

    Details (2)
    • 1.84.1-4 · amd64 · trixie

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · 13

    • 1.84.1-4 · arm64 · trixie

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · 13

  • Source package: [leptonlib]

    Details (2)
    • 1.84.1-4 · amd64 · trixie

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · 13

    • 1.84.1-4 · arm64 · trixie

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · 13

  • Source package: [leptonlib]

    Details (2)
    • 1.84.1-4 · amd64 · trixie

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · 13

    • 1.84.1-4 · arm64 · trixie

      Fixed · Fixed: 1.75.3-3

      dsa · leptonlib · debian · 13

Observed:

References