LiveActive security incident?Get immediate response
CVE Record

CVE-2018-3836: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4.

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.

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Leptonica 1.74.4 contains a command injection flaw. If an application lets a low-privileged local user influence the gplot rootname value passed into Leptonica, that user may be able to execute arbitrary commands with the application's privileges.

Executive priority

Treat as high priority for environments that embed Leptonica 1.74.4 in local processing workflows. Business risk is arbitrary code execution in affected applications, but urgency depends on whether untrusted local users can supply gplot path inputs.

Technical view

CVE-2018-3836 affects gplotMakeOutput in Leptonica 1.74.4. A specially crafted rootname/path argument can trigger command injection and arbitrary code execution. The CVSS 3.0 vector is local, high complexity, low privileges, no user interaction, with high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely in systems running Leptonica/leptonlib 1.74.4 where application code passes attacker-influenced path or rootname data into gplotMakeOutput. The source bundle does not identify broader affected versions or products.

Exploitation context

The provided sources describe exploitability but do not show active exploitation. The CVE is not listed as KEV in the supplied data. Successful exploitation requires a local, low-privileged attacker and a vulnerable application data flow into the affected function.

Researcher notes

Key validation is data-flow based: version presence alone is insufficient unless attacker-controlled rootname input reaches gplotMakeOutput. The sources do not provide active exploitation evidence, detailed affected-version range, or complete upstream fixed-version information in the supplied bundle.

Mitigation direction

  • Apply vendor or distribution security updates for leptonlib/Leptonica.
  • Prioritize Debian LTS guidance if using Debian-packaged leptonlib.
  • Upgrade away from Leptonica 1.74.4 where vendor guidance confirms a fixed version.
  • Restrict untrusted input from reaching gplot rootname/path handling.
  • Review dependent applications that invoke gplotMakeOutput with user-controlled data.

Validation and detection

  • Inventory installed Leptonica/leptonlib versions across servers and build images.
  • Search application code for calls to gplotMakeOutput.
  • Confirm whether rootname/path arguments can be influenced by low-privileged users.
  • Check package advisory status against Debian DLA 1284-1 or vendor guidance.
  • Run regression tests covering rejected unsafe path/rootname input.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-3836 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H15.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

7High
CVSS 3.0 vector shape for CVE-2018-3836Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Dan BloombergLeptonica1.74.4Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.