cve.bz

CVE-2018-3836 OS Command Injection

7.8 highExploit referenceEPSS 1.4%

High (7.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-3836 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-3836?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-3836?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-3836 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
leptonica:leptonica1.74.4
debian:debian_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7leptonlib1.69-3.1+deb7u1DLA-1284-1
Debian12, 13, 14leptonlib1.75.3-1DEBIAN-CVE-2018-3836
UbuntuPro:14.04:LTSleptonlib1.70.1-1ubuntu0.1~esm1UBUNTU-CVE-2018-3836 USN-4819-1
UbuntuPro:16.04:LTSleptonlib1.73-1ubuntu0.1~esm1UBUNTU-CVE-2018-3836 USN-4819-1
openSUSETumbleweedleptonica1.80.0-1.9openSUSE-SU-2024:10914-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON