{"id":"CVE-2018-7440","details":"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.","modified":"2026-05-28T04:03:59.604679137Z","published":"2018-02-23T21:29:00.600Z","related":["openSUSE-SU-2024:10914-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"],"vendor_product":"debian:debian_linux","source":"CPE_STRING","extracted_events":[{"last_affected":"7.0"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202312-01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/danbloomberg/leptonica","events":[{"introduced":"0"},{"last_affected":"ee301cb2029db8a6289c5295daa42bba7715e99a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"1.75.3"}],"cpe":"cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*","source":"CPE_RANGE"}}],"versions":["1.75.3","1.75.2","1.75.1","1.75.0","1.74.4","v1.74.3","1.74.3","1.74.2","1.74.1","1.74.0","v1.73","v1.72","v1.71","v1.70","v1.69","v1.68","v1.67","v1.66","v1.65","v1.64","v1.63","v1.62","v1.61","v1.60","v1.58","v1.56","v1.54","v1.52","v1.50","v1.48","v1.46","v1.44","v1.42"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-7440.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}