{"id":"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-07-08T15:11:03.373369Z","published":"2018-02-23T21:29:00.243Z","related":["openSUSE-SU-2024:10914-1"],"references":[{"type":"ADVISORY","url":"https://bugs.debian.org/885704"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202312-01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/danbloomberg/leptonica","events":[{"introduced":"f3d7ee868b4864cdca7ea57349d49f3d2b4a63ec"},{"last_affected":"f3d7ee868b4864cdca7ea57349d49f3d2b4a63ec"}],"database_specific":{"extracted_events":[{"introduced":"1.74.4"},{"last_affected":"1.74.4"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:leptonica:leptonica:1.74.4:*:*:*:*:*:*:*"}}],"versions":["1.74.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18196.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}