Low
Security advisory
Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-18196
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:23 UTC · Revision 1
Source evidence
Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.
osv:CVE-2017-18196
Complete source record
{
"id": "420133c8c085efe4b68802fd9e4d304c0ef3bb3e9028e684bb2c97e1b3098941",
"url": "https://osv.dev/vulnerability/CVE-2017-18196",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-18196",
"summary": "Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.",
"evidence": "osv:CVE-2017-18196",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2017-18196",
"aliases": [
"CVE-2017-18196"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"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-2017-18196.json"
}
}
],
"modified": "2026-10-24T10:31:06.900784874Z",
"provider": "osv",
"references": [
"https://bugs.debian.org/885704",
"https://security.gentoo.org/glsa/202312-01"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-18196",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441080,
"published_at": "2018-02-23T21:29:00.243+00:00"
}