CVE-2018-7442 json
An issue was discovered in Leptonica through 1.75.3.
published 2018-02-23 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-19173
- cvss
- 9.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.
Patch / fix
- leptonlib Debian 14, Debian 13, Debian 12 1.76.0-1
debian advisories DEBIAN-CVE-2018-7442
- leptonica openSUSE Tumbleweed 1.80.0-1.9
opensuse advisories openSUSE-SU-2024:10914-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-7442 updated cvss 5.3
leptonica: directory traversal in gplot rootname argument
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.99% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
security.gentoo.org
/glsa/202312-01
vendor-advisory
-
lists.debian.org
/debian-lts/2018/02/msg00086.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-7442
- NVD CVE-2018-7442
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.