Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| kyz / libmspack | affected 0 through 0.11alpha |
CWE
CWE-824
References
- https://github.com/kyz/libmspack/commit/4d868504114346aa767d435fbb89a8b76603493f
- https://github.com/kyz/libmspack/blob/v0.11alpha/libmspack/mspack/kwajd.c#L111-L181
- 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
ADP enrichment
No English description supplied.