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.
Conclusion & alert: CVE-2018-7440 is rated High Risk (68.1/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.79%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-22 | 1.66% | 1.79% | +0.13% |
| 2 | 2025-11-21 | 12.62% | 1.66% | -10.96% |
| 3 | 2025-11-18 | — | 12.62% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2018-7440 not yet assigned priority: Debian including 1 source packages (leptonlib), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2018-7440 |
gentoo
|
high | CVE-2018-7440: 1 GLSA(s) (202312-01), 1 atom(s) (media-libs/leptonica); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-7440 |
ubuntu
|
medium | CVE-2018-7440 medium priority: Ubuntu including 1 source packages (leptonlib), 20 status rows across 20 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 16, ignored 1, needed 1, needs-triage 1, released 1. | https://ubuntu.com/security/CVE-2018-7440 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| leptonica | leptonica | <= 1.75.3 | cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:* |
| debian | debian_linux | 7.0 | cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html | Mailing List Third Party Advisory |
| https://security.gentoo.org/glsa/202312-01 |