{"id":"UBUNTU-CVE-2017-18196","details":"Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.","modified":"2026-02-04T02:41:37.919592Z","published":"2018-02-23T21:29:00Z","related":["USN-4819-1"],"upstream":["CVE-2017-18196"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18196"},{"type":"REPORT","url":"https://bugs.debian.org/885704"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18196"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4819-1"}],"affected":[{"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":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18196.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}