Description
libmspack through 0.11alpha contains an uninitialized pointer free vulnerability in kwajd_open() in mspack/kwajd.c that frees unzeroed filename and extra pointers on header read errors. Attackers can supply a truncated, empty, or wrong-signature KWAJ file to crash the process or obtain an arbitrary-free memory corruption primitive.
Metrics
CVSS 3.1 6.3/10
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| kyz | libmspack | <= 0.11alpha |
References
- https://github.com/kyz/libmspack/blob/v0.11alpha/libmspack/mspack/kwajd.c#L111-L181
- https://github.com/kyz/libmspack/commit/4d868504114346aa767d435fbb89a8b76603493f
- https://hackmd.io/@haind-pwn/libmspack-kwaj-uninitialized-free
- https://www.vulncheck.com/advisories/libmspack-through-0-11alpha-uninitialized-pointer-free-via-kwajd-open-error-path
- https://hackmd.io/@haind-pwn/libmspack-kwaj-uninitialized-free
Timeline
- Published
- Oct 14, 2026
- Last modified
- Oct 16, 2026
- NVD status
- Deferred