CVE-2018-7442

CRITICAL

leptonica < 1.75.3 - Path Traversal and Arbitrary File Write via gplot rootname Argument

Title source: llm
STIX 2.1

Description

An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.

References (2)

Core 2
Core References
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202312-01

Scores

CVSS v3 9.1
EPSS 0.0203
EPSS Percentile 78.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Details

CWE
CWE-22
Status published
Products (1)
leptonica/leptonica < 1.75.3
Published Feb 23, 2018
Tracked Since Feb 18, 2026