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.
https://hackmd.io/@haind-pwn/libmspack-kwaj-uninitialized-free
https://github.com/kyz/libmspack/commit/4d868504114346aa767d435fbb89a8b76603493f
https://github.com/kyz/libmspack/blob/v0.11alpha/libmspack/mspack/kwajd.c#L111-L181
Published: 2026-10-14
Updated: 2026-10-14
Base Score: 5.6
Vector: CVSS2#AV:L/AC:H/Au:N/C:N/I:C/A:C
Severity: Medium
Base Score: 6.3
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
Severity: Medium
Base Score: 5.8
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00235