CVE-2018-7441
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
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.
- Record
CVE-2018-7441- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-362
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-7441- Updated
- 2026-11-02
EUVDEUVD-2018-19172 No score
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.
- Record
EUVD-2018-19172- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ffph-9q4q-c343
7.0
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to...
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.
- Record
GHSA-ffph-9q4q-c343- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-362
- Updated
- 2026-11-02
OSV
7.0
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.
- Record
CVE-2018-7441- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-7441
7.0
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.
- Record
DEBIAN-CVE-2018-7441- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-7441
7.0
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.
- Record
UBUNTU-CVE-2018-7441- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10914-1 No score
leptonica-devel-1.80.0-1.9 on GA media
These are all security issues fixed in the leptonica-devel-1.80.0-1.9 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10914-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
leptonlibDebian:12 |
before 1.76.0-1 | 1.76.0-1 |
leptonlibDebian:13 |
before 1.76.0-1 | 1.76.0-1 |
leptonlibDebian:14 |
before 1.76.0-1 | 1.76.0-1 |
leptonlibUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 1.69-4ubuntu11.69-4ubuntu21.69-4ubuntu31.69-4ubuntu41.70.1-11.70.1-1ubuntu0.1~esm1 |
None known |
leptonlibUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.72-31.72-3build11.73-11.73-1ubuntu0.1~esm1 |
None known |
leptonlibUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.74.4-11.74.4-21.75.3-11.75.3-21.75.3-31.75.3-3ubuntu0.1~esm1 |
None known |
leptonicaopenSUSE:Tumbleweed From an advisory covering 7 CVEs |
before 1.80.0-1.9 | 1.80.0-1.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-7441 is a high vulnerability (CVSS 7.0) in Leptonica, published February 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 17th percentile. Fixed in leptonlib 1.76.0-1.
References
lists.debian.org/debian-lts/2018/02/msg00054.html
security.gentoo.org/glsa/202312-01
nvd.nist.gov/vuln/detail/CVE-2018-7441
github.com/advisories/GHSA-ffph-9q4q-c343
security-tracker.debian.org/tracker/CVE-2018-7441
ubuntu.com/security/CVE-2018-7441