libmspack — security advisory
chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against absolute/relative pathnames in CHM files, leading to Directory Traversal. NOTE: the vendor disputes that this is a libmspack vulnerability, because chmextract.c was only intended as a source-code example, not a supported application
- Products
- libmspack
- Affected versions
- Not specified
- Fixed versions
- 0.8-1
- CVEs
- CVE-2018-18586
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:56 UTC · Revision 1
Source evidence
chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against absolute/relative pathnames in CHM files, leading to Directory Traversal. NOTE: the vendor disputes that this is a libmspack vulnerability, because chmextract.c was only intended as a source-code example, not a supported application
osv:DEBIAN-CVE-2018-18586
libmspack
Fixed versions: 0.8-1
libmspack
Fixed versions: 0.8-1
libmspack
Fixed versions: 0.8-1
Complete source record
{
"id": "76fc961c7f6d49387efb4d505f0b6d7fbc3c6eb8855d06514b8375ee324f7c03",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-18586",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-18586",
"summary": "chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against absolute/relative pathnames in CHM files, leading to Directory Traversal. NOTE: the vendor disputes that this is a libmspack vulnerability, because chmextract.c was only intended as a source-code example, not a supported application",
"evidence": "osv:DEBIAN-CVE-2018-18586",
"products": [
{
"name": {
"value": "libmspack",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.8-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libmspack",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.8-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libmspack",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.8-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2018-18586",
"aliases": [
"DEBIAN-CVE-2018-18586"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8-1"
}
]
}
],
"package": {
"name": "libmspack",
"purl": "pkg:deb/debian/libmspack?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-18586.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8-1"
}
]
}
],
"package": {
"name": "libmspack",
"purl": "pkg:deb/debian/libmspack?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-18586.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8-1"
}
]
}
],
"package": {
"name": "libmspack",
"purl": "pkg:deb/debian/libmspack?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-18586.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-23T18:02:28.961211230Z",
"provider": "osv",
"upstream": [
"CVE-2018-18586"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-18586"
]
},
"related_cves": [
{
"value": "CVE-2018-18586",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419498,
"published_at": "2018-10-23T02:29:00.7+00:00"
}