High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-3836
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:35 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-3836
Complete source record
{
"id": "a3455376aac791213c8f163229576ac1016e3ff5574bdfadaf15691e80ac6010",
"url": "https://osv.dev/vulnerability/CVE-2018-3836",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-3836",
"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.",
"evidence": "osv:CVE-2018-3836",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-3836",
"aliases": [
"CVE-2018-3836"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/danbloomberg/leptonica",
"type": "GIT",
"events": [
{
"introduced": "f3d7ee868b4864cdca7ea57349d49f3d2b4a63ec"
},
{
"last_affected": "f3d7ee868b4864cdca7ea57349d49f3d2b4a63ec"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:leptonica:leptonica:1.74.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.74.4"
},
{
"last_affected": "1.74.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.74.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-3836.json"
}
}
],
"modified": "2026-10-24T10:30:20.434304202Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2018/02/msg00019.html",
"https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-3836",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430263,
"published_at": "2018-04-24T19:29:03.97+00:00"
}