{"id":"UBUNTU-CVE-2018-7441","details":"Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.","modified":"2025-09-08T16:44:47Z","published":"2018-02-23T21:29:00Z","upstream":["CVE-2018-7441"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7441"},{"type":"REPORT","url":"https://lists.debian.org/debian-lts/2018/02/msg00054.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-7441"}],"affected":[{"package":{"name":"leptonlib","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/leptonlib@1.70.1-1ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.69-4ubuntu1","1.69-4ubuntu2","1.69-4ubuntu3","1.69-4ubuntu4","1.70.1-1","1.70.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.70.1-1ubuntu0.1~esm1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7441.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"}]}],"versions":["1.72-3","1.72-3build1","1.73-1","1.73-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.73-1ubuntu0.1~esm1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7441.json"}},{"package":{"name":"leptonlib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/leptonlib@1.75.3-3ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.74.4-1","1.74.4-2","1.75.3-1","1.75.3-2","1.75.3-3","1.75.3-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.75.3-3ubuntu0.1~esm1","binary_name":"leptonica-progs"},{"binary_version":"1.75.3-3ubuntu0.1~esm1","binary_name":"liblept5"},{"binary_version":"1.75.3-3ubuntu0.1~esm1","binary_name":"libleptonica-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7441.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}