CVE-2017-18196
publishedleptonica: Mishandled pathnames in /tmp subdirectories can allow users to bypass intended file restrictions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-develaarch64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| Ubuntu | xenial | leptonica-progs | Advisory build | 1.73-1ubuntu0.1~esm1 | USN-4819-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-develppc64le | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-devels390x | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-develx86_64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-toolsaarch64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-toolsppc64le | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-toolss390x | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | leptonica-toolsx86_64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5aarch64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5ppc64le | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5s390x | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5x86_64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5-32bitaarch64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5-32bitppc64le | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5-32bits390x | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblept5-32bitx86_64 | Advisory build | 1.80.0-1.9 | OPENSUSE-SU-2024:10914-1 |
| Ubuntu | xenial | leptonlib | Advisory build | 1.73-1ubuntu0.1~esm1 | USN-4819-1 |
| Ubuntu | xenial | liblept5 | Advisory build | 1.73-1ubuntu0.1~esm1 | USN-4819-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
2- https://bugs.debian.org/885704
- GLSA-202312-01 https://security.gentoo.org/glsa/202312-01
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6a1baa4d7d7f4f61c87b44f1637fc086814df73381706c69b0a1b84fec3108c3
- Ingested
- 23 Sep 2026, 07:42:22 UTC
- Source record
- Official CVE record