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.
Created leptonica tracking bugs for this issue:
Affects: epel-all [bug 1549744]
Affects: fedora-all [bug 1549743]
Created mingw-leptonica tracking bugs for this issue:
Affects: fedora-all [bug 1549745]