CVE-2018-7440 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-19171
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- leptonlib Debian 14, Debian 13, Debian 12 1.75.3-3
debian advisories DEBIAN-CVE-2018-7440
- leptonlib Ubuntu 18.04 LTS 1.75.3-3
ubuntu advisories UBUNTU-CVE-2018-7440
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- 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-7440 updated cvss 7.0
leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix)
-
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
3.74% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
security.gentoo.org
/glsa/202312-01
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/03/msg00005.html
mailing-list, third-party-advisory
-
github.com
/DanBloomberg/leptonica/issues/303#issuecomment-366472212
third-party-advisory
Sources
- CVE List CVE-2018-7440
- NVD CVE-2018-7440
Fencer Vulns 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.