Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed CHM file with unusual structure sizes
-
DeliveryDeliver file to victim analyst/developer
-
ExploitVictim runs chminfo test utility on file
-
Executionprint_dir reads out of bounds
-
ImpactLeak adjacent memory or crash tool
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim to run the bundled chminfo CHM inspection/test utility (test/chminfo.c) against an attacker-crafted CHM file whose internal structure sizes are abnormal, triggering the out-of-bounds read in print_dir (and the under-allocation in load_sys_data). Critically, the vulnerable code is the test/debug tool shipped with the source, NOT the libmspack decompression routines that applications such as cabextract call, so the flaw is not reachable through the normal library API. Limiting factors: user interaction is required (someone must invoke the test binary on the malicious file), impact is a read-only memory disclosure plus possible crash, and there is no path to code execution or integrity change evident in the sources. |
| Impact | This is a genuine but low-priority issue whose raw CVSS 4.0 score of 5.3 (Medium) overstates real-world risk. The supplied vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P with VC:L/VI:L/VA:L describes a remote, low-complexity, unauthenticated condition requiring passive user interaction, and the CWE-125 out-of-bounds read is confirmed by the commit diff. However, the flaw is located in test/chminfo.c - a bundled CHM inspection/test utility (functions print_dir and load_sys_data) - not in the core libmspack decompression library that downstream applications link against, so the AV:N framing is misleading: realistic exploitation requires a victim to manually run the test tool against an attacker-supplied CHM file (effectively local, UI-dependent). Exploitation status is 'no confirmed active exploitation' - the CVE is not in CISA KEV and no EPSS score was provided; a public PoC reference exists (poc.zip) but it is not verified as working exploit code. The VI:L (integrity) impact in the supplied vector is questionable for a read-only out-of-bounds flaw. The vuln.today decision label is 'this_month', not act_now or emergency, consistent with a low-severity, hard-to-reach information-disclosure bug. Net: treat as routine patch hygiene rather than an urgent threat. |
| Exploit ScenarioDerived | An attacker crafts a malformed CHM file with unusual internal structure sizes and induces a developer or analyst to inspect it with the bundled chminfo test utility. When print_dir parses the directory, it reads past the allocated buffer, leaking adjacent process memory or crashing the tool. A public PoC reference exists but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 29, 2026
An out-of-bounds read (CWE-125) in the chminfo test utility shipped with kyz libmspack up to 1.11 causes memory disclosure and possible crashes when the tool parses a crafted CHM file with abnormal internal structure sizes. Exploitation requires a user to build and run the bundled test/chminfo.c inspection binary against the malicious file; the vulnerable code path is not in the library's decompression routines that applications such as cabextract call, so normal library consumers are not exposed through the API. Impact is limited to read-only information disclosure and denial of service with no code execution or integrity change evident in the sources, and a public PoC reference exists but is not verified as working exploit code; there is no CISA KEV listing, and the upstream fix lands in release v0.12alpha.
RemediationAI
Upgrade to libmspack v0.12alpha, which contains the fix, or apply upstream commit fdfe82c6a72420dca7f8e63492a2373399f1b464 (https://github.com/kyz/libmspack/commit/fdfe82c6a72420dca7f8e63492a2373399f1b464), which introduces a minimum 36-byte calloc allocation in load_sys_data and adds chunk_size/quickref_size and directory-cursor bounds checks in print_dir. Because the defect is confined to the shipped chminfo test/debug utility, downstream applications that link libmspack's decompression routines are not affected and do not need emergency action; adopters of the test tool should rebuild from the patched source. Where rebuilding is not immediately possible, the practical interim control is to avoid running the chminfo binary against untrusted or externally sourced CHM files, since the trigger is a malformed file supplied to that specific utility and no library-side configuration toggle exists to constrain the parsing. Remediation references: https://github.com/kyz/libmspack/issues/61 and https://vuldb.com/vuln/445085.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Microsoft Compiled HTML Help (CHM) files are container archives based on the ITSF/ITSF chunk structures and PMGL directory listings. In libmspack's test/chminfo.c, print_dir() walks directory entries and load_sys_data() allocates a buffer sized from the CHM-declared file->length, which can be smaller than the 36-byte minimum system-data structure the code subsequently reads. The root cause is CWE-125: missing bounds validation on chunk_size versus quickref_size and on directory-cursor arithmetic (pos+4 and pos+8 against the buffer length), so a file with unusual structure sizes causes reads past the end of the heap allocation. The upstream commit fdfe82c6a72420dca7f8e63492a2373399f1b464 addresses this by adding a minimum 36-byte allocation via calloc(), breaking out of the directory loop when k < (chm->chunk_size - quickref_size), and tightening the loop guards to (pos+4) <= len and (pos+8) <= len with corresponding end-of-buffer checks; the ChangeLog entry describes these as guards to stop out-of-bounds reads on CHM files with unusual structure sizes.
Know when Libmspack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Flaw is in a bundled test utility a user must run on a crafted CHM file, so AV:L and UI:R; out-of-bounds read yields info disclosure (C:L) and possible crash (A:L), no integrity impact (I:N).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in kyz libmspack up to 1.11. This affects the function print_dir of the file test/chminfo.c of the component CHM File Handler. Executing a manipulation can lead to out-of-bounds read. The attack may be launched remotely. The exploit has been published and may be used. Upgrading to version 0.12alpha is able to mitigate this issue. This patch is called fdfe82c6a72420dca7f8e63492a2373399f1b464. The affected component should be upgraded.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Off-by-one error in the READ_ENCINT macro in chmd.c in libmspack before 0.5 allows remote attackers to cause a denial of
libmspack 0.9.1alpha is affected by: Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no authent
chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against a
Integer overflow in the qtmd_decompress function in libmspack 0.4 allows remote attackers to cause a denial of service (
An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. Rated high severity (CVSS 8.8), this vulnerabilit
An issue was discovered in kwajd_read_headers in mspack/kwajd.c in libmspack before 0.7alpha. Rated high severity (CVSS
Off-by-one error in the lzxd_decompress function in lzxd.c in libmspack before 0.5 allows remote attackers to cause a de
Off-by-one error in the inflate function in mszipd.c in libmspack before 0.5 allows remote attackers to cause a denial o
The cabd_extract function in cabd.c in libmspack before 0.5 does not properly maintain decompression callbacks in certai
The chmd_read_headers function in chmd.c in libmspack before 0.5 does not validate name lengths, which allows remote att
Multiple integer overflows in the search_chunk function in chmd.c in libmspack before 0.5 allow remote attackers to caus
The chmd_init_decomp function in chmd.c in libmspack before 0.5 does not properly validate the reset interval, which all
EUVD-2026-137733
GHSA-xr6f-45p8-cj4p
NVD
CVE.org
EPSS
VulDB
Exploit-DB