Every CVE Search/ Get API key

CVE-2017-18196

Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when...

3.3 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.41%Up 0.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 3.3

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.

Record
CVE-2017-18196
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-18196
Updated
2026-11-02
EUVDEUVD-2017-9330 No score

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.

Record
EUVD-2017-9330
Updated
2026-11-03
GitHub AdvisoriesGHSA-m7cf-9jqx-8xrq 3.3

Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when...

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.

Record
GHSA-m7cf-9jqx-8xrq
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 3.3

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.

Record
CVE-2017-18196
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2017-18196 3.3

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.

Record
DEBIAN-CVE-2017-18196
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2017-18196 3.3

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.

Record
UBUNTU-CVE-2017-18196
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVopenSUSE-SU-2024:10914-1 No score

leptonica-devel-1.80.0-1.9 on GA media

These are all security issues fixed in the leptonica-devel-1.80.0-1.9 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10914-1
Updated
2026-11-02
OSVUSN-4819-1 No score

leptonlib vulnerabilities

It was discovered that Leptonica incorrectly handled path names. An attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 16.04 ESM. (CVE-2017-18196)

It was discovered that Leptonica incorrectly handled certain input arguments. An attacker could possibly use this issue to execute arbitrary commands. (CVE-2018-3836)

It was discovered that Leptonica incorrectly handled input arguments. An attacker could possibly use this issue to cause a denial of service or other unspecified impact. (CVE-2018-7186)

Record
USN-4819-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
leptonlib
Debian:12
before 1.74.4-2
1.74.4-2
leptonlib
Debian:13
before 1.74.4-2
1.74.4-2
leptonlib
Debian:14
before 1.74.4-2
1.74.4-2
leptonlib
Ubuntu:Pro:16.04:LTS
before 1.73-1ubuntu0.1~esm1, plus listed versions
1.72-31.72-3build11.73-1
1.73-1ubuntu0.1~esm1
leptonlib
Ubuntu:Pro:14.04:LTS
From an advisory covering 3 CVEs
before 1.70.1-1ubuntu0.1~esm1, plus listed versions
1.69-4ubuntu11.69-4ubuntu21.69-4ubuntu31.69-4ubuntu41.70.1-1
1.70.1-1ubuntu0.1~esm1
leptonlib
Ubuntu:Pro:16.04:LTS
From an advisory covering 3 CVEs
before 1.73-1ubuntu0.1~esm1, plus listed versions
1.72-31.72-3build11.73-1
1.73-1ubuntu0.1~esm1
leptonica
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 1.80.0-1.9
1.80.0-1.9

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-2017-18196 is a low vulnerability (CVSS 3.3) in Leptonica, published February 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in leptonlib 1.74.4-2.

References

Show 11 moreShow less
MoveEnter Open