CVE-2018-3836 json
An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4.
published 2018-04-24 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-15622
- cvss
- 7.0
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- leptonlib Debian 14, Debian 13, Debian 12 1.75.3-1
debian advisories DEBIAN-CVE-2018-3836
- leptonlib Ubuntu Pro 14.04 LTS 1.70.1-1ubuntu0.1~esm1
- leptonlib Ubuntu Pro 16.04 LTS 1.73-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-3836
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- leptonica openSUSE Tumbleweed 1.80.0-1.9
opensuse advisories openSUSE-SU-2024:10914-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-3836 updated cvss 7.0
leptonica: gplotMakeOutput command injection
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- talosintelligence.com https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- Dan Bloomberg Leptonica
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
talosintelligence.com
/vulnerability_reports/TALOS-2018-0516
exploit, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/02/msg00019.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-3836
- NVD CVE-2018-3836
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.