{"id":"UBUNTU-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-01-30T01:06:58.285071Z","published":"2018-04-24T19:29:00Z","related":["USN-4819-1"],"upstream":["CVE-2018-3836"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-3836"},{"type":"REPORT","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-3836"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4819-1"}],"affected":[{"package":{"name":"leptonlib","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/leptonlib@1.70.1-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.70.1-1ubuntu0.1~esm1"}]}],"versions":["1.69-4ubuntu1","1.69-4ubuntu2","1.69-4ubuntu3","1.69-4ubuntu4","1.70.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"leptonica-progs","binary_version":"1.70.1-1ubuntu0.1~esm1"},{"binary_name":"liblept4","binary_version":"1.70.1-1ubuntu0.1~esm1"},{"binary_name":"libleptonica-dev","binary_version":"1.70.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-3836.json"}},{"package":{"name":"leptonlib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/leptonlib@1.73-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.73-1ubuntu0.1~esm1"}]}],"versions":["1.72-3","1.72-3build1","1.73-1"],"ecosystem_specific":{"binaries":[{"binary_name":"leptonica-progs","binary_version":"1.73-1ubuntu0.1~esm1"},{"binary_name":"liblept5","binary_version":"1.73-1ubuntu0.1~esm1"},{"binary_name":"libleptonica-dev","binary_version":"1.73-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-3836.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}