Skip to content
OpenAdvisories
Unscored CVE-2018-7441 EUVD-2018-19172GHSA-ffph-9q4q-c343

Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified othe…

Published Feb 23, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 leptonlib 1.76.0-1 —
Debian 13 leptonlib 1.76.0-1 —
Debian 12 leptonlib 1.76.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS leptonlib No fix yet —
Ubuntu Pro 16.04 LTS leptonlib No fix yet —
Ubuntu Pro 14.04 LTS leptonlib No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed leptonica 1.80.0-1.9 openSUSE-SU-2024:10914-1

Advisories 1

References