dosage — security advisory
Dosage is a comic strip downloader and archiver. When downloading comic images in versions 3.1 and below, Dosage constructs target file names from different aspects of the remote comic (page URL, image URL, page content, etc.). While the basename is properly stripped of directory-traversing characters, the file extension is taken from the HTTP Content-Type header. This allows a remote attacker (or a Man-in-the-Middle, if the comic is served over HTTP) to write arbitrary files outside the target directory (if additional conditions are met). This issue is fixed in version 3.2.
- Products
- dosage
- Affected versions
- 2.15-1, 2.15-2, 2.15-3, 2.15-4, 3.0+dfsg-1, 3.0+dfsg-2, 3.0+dfsg-2.1, 3.0+dfsg-2.1build1, 3.2-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-64184
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:34 UTC · Revision 1
Source evidence
Dosage is a comic strip downloader and archiver. When downloading comic images in versions 3.1 and below, Dosage constructs target file names from different aspects of the remote comic (page URL, image URL, page content, etc.). While the basename is properly stripped of directory-traversing characters, the file extension is taken from the HTTP Content-Type header. This allows a remote attacker (or a Man-in-the-Middle, if the comic is served over HTTP) to write arbitrary files outside the target directory (if additional conditions are met). This issue is fixed in version 3.2.
osv:UBUNTU-CVE-2025-64184
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
dosage
Fixed versions: Not specified
Complete source record
{
"id": "f12080b8e50cb3f98cce6a2ec6bee7310727c975bdf0eb3743efef461417b756",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-64184",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-64184",
"summary": "Dosage is a comic strip downloader and archiver. When downloading comic images in versions 3.1 and below, Dosage constructs target file names from different aspects of the remote comic (page URL, image URL, page content, etc.). While the basename is properly stripped of directory-traversing characters, the file extension is taken from the HTTP Content-Type header. This allows a remote attacker (or a Man-in-the-Middle, if the comic is served over HTTP) to write arbitrary files outside the target directory (if additional conditions are met). This issue is fixed in version 3.2.",
"evidence": "osv:UBUNTU-CVE-2025-64184",
"products": [
{
"name": {
"value": "dosage",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.15-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15-4",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15-4",
"evidence": "/affected/4/versions"
},
{
"value": "3.0+dfsg-1",
"evidence": "/affected/4/versions"
},
{
"value": "3.0+dfsg-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0+dfsg-2.1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.2-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "dosage",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0+dfsg-2.1",
"evidence": "/affected/7/versions"
},
{
"value": "3.0+dfsg-2.1build1",
"evidence": "/affected/7/versions"
},
{
"value": "3.2-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-64184",
"aliases": [
"UBUNTU-CVE-2025-64184"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.15-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "2.15-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.15-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "2.15-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.15-2",
"2.15-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "2.15-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.15-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "2.15-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.15-4",
"3.0+dfsg-1",
"3.0+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "3.0+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.0+dfsg-2.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "3.0+dfsg-2.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "3.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "dosage",
"purl": "pkg:deb/ubuntu/dosage?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.0+dfsg-2.1",
"3.0+dfsg-2.1build1",
"3.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "dosage",
"binary_version": "3.2-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:11.127783316Z",
"provider": "osv",
"upstream": [
"CVE-2025-64184"
],
"references": [
"https://ubuntu.com/security/CVE-2025-64184",
"https://www.cve.org/CVERecord?id=CVE-2025-64184",
"https://github.com/webcomics/dosage/commit/336a9684191604bc49eed7296b74bd582151181e",
"https://github.com/webcomics/dosage/security/advisories/GHSA-4vcx-3pj3-44m7"
]
},
"related_cves": [
{
"value": "CVE-2025-64184",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356842,
"published_at": "2025-11-07T04:15:00+00:00"
}