CVE-2018-7441 Race condition in n/a

High 7.0 Published Updated

Local attackers can exploit a race condition in Leptonica to overwrite arbitrary files via hardcoded /tmp paths, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7441?

CVE-2018-7441 is a high-severity vulnerability in n/a, published on 23 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2018-7441?

It affects 1 product.

Products include Leptonica Leptonica.

How do I fix CVE-2018-7441?

Upgrade to a fixed version.

Is CVE-2018-7441 being exploited?

There is no known exploitation of CVE-2018-7441 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-7441, GHSA-ffph-9q4q-c343, UBUNTU-CVE-2018-7441.

Is CVE-2018-7441 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free