CVE-2018-7440
The gplotMakeOutput function allows command injection via a $(command) approach in the gplot rootname argument.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.74% probability · 90th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- leptonica/leptonica · debian/debian linux
- Source
- cve@mitre.org
EPSS 3.7% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00005.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-01
- https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00005.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-01
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.