File Overwrite Vulnerability in Leptonica by Leonidas Software
CVE-2018-7441
7HIGH
What is CVE-2018-7441?
Leptonica versions up to 1.75.3 contain a vulnerability due to the use of hardcoded pathnames in the /tmp directory. This design flaw allows local users to create specific files in advance, potentially leading to the overwriting of arbitrary files or causing other unspecified impacts through a race condition. This issue is demonstrated by the use of the /tmp/junk_split_image.ps file in the prog/splitimage2pdf.c code segment.
