{"id":"CVE-2018-3836","details":"An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.","modified":"2026-07-08T05:56:23.601525428Z","published":"2018-04-24T19:29:03.970Z","related":["openSUSE-SU-2024:10914-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00019.html"},{"type":"EVIDENCE","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/danbloomberg/leptonica","events":[{"introduced":"f3d7ee868b4864cdca7ea57349d49f3d2b4a63ec"},{"last_affected":"f3d7ee868b4864cdca7ea57349d49f3d2b4a63ec"}],"database_specific":{"cpe":"cpe:2.3:a:leptonica:leptonica:1.74.4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.74.4"},{"last_affected":"1.74.4"}],"source":"CPE_STRING"}}],"versions":["1.74.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-3836.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}