CVE-2018-3836

HIGH

leptonica 1.74.4 - OS Command Injection via gplot rootname Argument

Title source: llm
STIX 2.1

Description

An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.

References (2)

Core 2
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/02/msg00019.html
Exploit, Third Party Advisory x_refsource_misc
https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516

Scores

CVSS v3 7.8
EPSS 0.0145
EPSS Percentile 70.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (2)
debian/debian_linux 7.0
leptonica/leptonica 1.74.4
Published Apr 24, 2018
Tracked Since Feb 18, 2026