High
Security advisory
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-7441
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:56 UTC · Revision 1
Source evidence
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.
osv:CVE-2018-7441
Complete source record
{
"id": "1d00d344f607fa4f35ec8cf5d92d363cb3f98c81901a4f62ac617cf6f64f6589",
"url": "https://osv.dev/vulnerability/CVE-2018-7441",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-7441",
"summary": "Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.",
"evidence": "osv:CVE-2018-7441",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-7441",
"aliases": [
"CVE-2018-7441"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/danbloomberg/leptonica",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "ee301cb2029db8a6289c5295daa42bba7715e99a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.75.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.75.3",
"1.75.2",
"1.75.1",
"1.75.0",
"1.74.4",
"v1.74.3",
"1.74.3",
"1.74.2",
"1.74.1",
"1.74.0",
"v1.73",
"v1.72",
"v1.71",
"v1.70",
"v1.69",
"v1.68",
"v1.67",
"v1.66",
"v1.65",
"v1.64",
"v1.63",
"v1.62",
"v1.61",
"v1.60",
"v1.58",
"v1.56",
"v1.54",
"v1.52",
"v1.50",
"v1.48",
"v1.46",
"v1.44",
"v1.42"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7441.json"
}
}
],
"modified": "2026-10-24T10:30:33.923255850Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts/2018/02/msg00054.html",
"https://security.gentoo.org/glsa/202312-01"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-7441",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433404,
"published_at": "2018-02-23T21:29:00.663+00:00"
}