CVE catalog

CVE-2017-18196

leptonlib: CVE-2017-18196

[CVE catalog]

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

Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.

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~esm1fixed
Ubuntuleptonlibpro1.72-3vulnerable
Ubuntuleptonlibpro1.72-3build1vulnerable
Ubuntuleptonlibpro1.73-1vulnerable
Ubuntuleptonlibpro1.73-1ubuntu0.1~esm1fixed
Opensuseleptonicatumbleweed1.80.0-1.9fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianleptonlibsourcesid1.74.4-2lowNot reported[885704]
Debianleptonlibsourceforky1.74.4-2lowNot reported[885704]
Debianleptonlibsourcetrixie1.74.4-2lowNot reported[885704]
Debianleptonlibsourcebookworm1.74.4-2lowNot reported[885704]
Ubuntuleptonlibdebpro1.73-1ubuntu0.1~esm1Not reportedUSN-4819-1Not reported
Ubuntuleptonlibdebpro1.73-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2017-18196Not reported
Opensuseleptonicarpmtumbleweed1.80.0-1.9Not reportedOPENSUSE-SU-2024:10914-1Not reported

[Debian bug #885704]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [leptonica]

    Details (1)
    • 1.87.0-1.6 · x86_64 · tumbleweed

      Unknown · Fixed: 1.80.0-1.9

      Version impact unknown

      dsa · leptonica · opensuse · tumbleweed

  • Source package: [leptonica]

    Details (1)
    • 1.87.0-1.6 · x86_64 · tumbleweed

      Unknown · Fixed: 1.80.0-1.9

      Version impact unknown

      dsa · leptonica · opensuse · tumbleweed

  • [libleptonica6]Unknown

    Source package: [leptonica]

    Details (1)
    • 1.87.0-1.6 · x86_64 · tumbleweed

      Unknown · Fixed: 1.80.0-1.9

      Version impact unknown

      dsa · leptonica · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [leptonlib]

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

      Fixed · Fixed: 1.74.4-2

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

    • 1.82.0-3+b3 · arm64 · bookworm

      Fixed · Fixed: 1.74.4-2

      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.74.4-2

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

    • 1.82.0-3+b3 · arm64 · bookworm

      Fixed · Fixed: 1.74.4-2

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

  • Source package: [leptonlib]

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

      Fixed · Fixed: 1.74.4-2

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

    • 1.82.0-3+b3 · arm64 · bookworm

      Fixed · Fixed: 1.74.4-2

      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.74.4-2

      dsa · leptonlib · debian · 13

    • 1.84.1-4 · arm64 · trixie

      Fixed · Fixed: 1.74.4-2

      dsa · leptonlib · debian · 13

  • Source package: [leptonlib]

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

      Fixed · Fixed: 1.74.4-2

      dsa · leptonlib · debian · 13

    • 1.84.1-4 · arm64 · trixie

      Fixed · Fixed: 1.74.4-2

      dsa · leptonlib · debian · 13

  • Source package: [leptonlib]

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

      Fixed · Fixed: 1.74.4-2

      dsa · leptonlib · debian · 13

    • 1.84.1-4 · arm64 · trixie

      Fixed · Fixed: 1.74.4-2

      dsa · leptonlib · debian · 13

Observed:

References