{"id":"CVE-2018-7441","aliases":["DEBIAN-CVE-2018-7441","EUVD-2018-19172","GHSA-ffph-9q4q-c343","UBUNTU-CVE-2018-7441","openSUSE-SU-2024:10914-1"],"status":"published","title":"Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to...","description":"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.","severity":{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00254,"percentile":0.1706,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2018-02-23T00:00:00Z","modified":"2026-10-24T10:30:33Z","fixes":[{"ecosystem":"Debian:12","package":"leptonlib","fixed_in":["1.76.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"leptonlib","fixed_in":["1.76.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"leptonlib","fixed_in":["1.76.0-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"leptonlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.76.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"leptonlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.76.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"leptonlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.76.0-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"leptonlib","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"leptonlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.72-3","1.72-3build1","1.73-1","1.73-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"leptonlib","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"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"leptonica","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.80.0-1.9"}]}],"bundled":7}],"products":[{"vendor":"leptonica","product":"leptonica"}],"references":[{"url":"https://lists.debian.org/debian-lts/2018/02/msg00054.html","tags":["x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"https://security.gentoo.org/glsa/202312-01","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7441"},{"url":"https://github.com/advisories/GHSA-ffph-9q4q-c343"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-7441","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-7441","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7441","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18196","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-3836","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7186","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7247","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7440","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7441","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7442","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-7441","description":"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.","status":"published","published":"2018-02-23T00:00:00Z","modified":"2024-08-05T06:24:12.05Z","updated_at":"2026-11-02T14:35:09.908186Z"}],"euvd":[{"id":"EUVD-2018-19172","description":"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.","status":"published","published":"2018-02-23T00:00:00Z","modified":"2024-08-05T06:24:12Z","updated_at":"2026-11-03T02:40:05.625439Z"}],"ghsa":[{"id":"GHSA-ffph-9q4q-c343","title":"Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to...","description":"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.","status":"published","published":"2022-05-14T03:36:44Z","modified":"2023-02-02T05:07:57Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:52:38.092316Z"}],"nvd":[{"id":"CVE-2018-7441","description":"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.","status":"published","published":"2018-02-23T21:29:00.663Z","modified":"2026-06-17T02:03:07.957Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:04:23.783914Z"}],"osv":[{"id":"CVE-2018-7441","description":"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.","status":"published","published":"2018-02-23T21:29:00.663Z","modified":"2026-10-24T10:30:33.92325585Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-7441","description":"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.","status":"published","published":"2018-02-23T21:29:00.663Z","modified":"2026-10-23T18:03:48.170222605Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-7441","description":"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.","status":"published","published":"2018-02-23T21:29:00Z","modified":"2026-04-22T12:03:19.982505Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"openSUSE-SU-2024:10914-1","title":"leptonica-devel-1.80.0-1.9 on GA media","description":"These are all security issues fixed in the leptonica-devel-1.80.0-1.9 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:09:40.124008Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
