{"id":"UBUNTU-CVE-2026-110602","details":"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.","modified":"2026-10-17T12:58:03.394031568Z","published":"2026-10-15T00:00:00Z","upstream":["CVE-2026-110602"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-110602"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-110602"},{"type":"REPORT","url":"https://github.com/kyz/libmspack/blob/v0.11alpha/libmspack/mspack/kwajd.c#L111-L181"},{"type":"REPORT","url":"https://github.com/kyz/libmspack/commit/4d868504114346aa767d435fbb89a8b76603493f"},{"type":"REPORT","url":"https://hackmd.io/@haind-pwn/libmspack-kwaj-uninitialized-free"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/libmspack-through-0-11alpha-uninitialized-pointer-free-via-kwajd-open-error-path"}],"affected":[{"package":{"name":"clamav","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/clamav?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.97.8+dfsg-1ubuntu4","0.97.8+dfsg-1ubuntu5","0.98.1+dfsg-1ubuntu4","0.98.1+dfsg-1ubuntu5","0.98.1+dfsg-2ubuntu2","0.98.1+dfsg-4ubuntu1","0.98.1+dfsg-4ubuntu1.1","0.98.5+addedllvm-0ubuntu0.14.04.1","0.98.6+dfsg-0ubuntu0.14.04.1","0.98.7+dfsg-0ubuntu0.14.04.1","0.99.2+addedllvm-0ubuntu0.14.04.1","0.99.2+addedllvm-0ubuntu0.14.04.2","0.99.3+addedllvm-0ubuntu0.14.04.1","0.99.4+addedllvm-0ubuntu0.14.04.1","0.100.1+dfsg-1ubuntu0.14.04.1","0.100.1+dfsg-1ubuntu0.14.04.2","0.100.1+dfsg-1ubuntu0.14.04.3","0.100.1+dfsg-1ubuntu0.14.04.4","0.100.2+dfsg-1ubuntu0.14.04.1","0.100.2+dfsg-1ubuntu0.14.04.2","0.100.3+dfsg-0ubuntu0.14.04.1","0.100.3+dfsg-0ubuntu0.14.04.1+esm1","0.101.4+dfsg-0ubuntu0.14.04.1+esm1","0.102.1+dfsg-0ubuntu0.14.04.1+esm1","0.102.2+dfsg-0ubuntu0.14.04.1+esm1","0.102.3+dfsg-0ubuntu0.14.04.1+esm1","0.102.4+dfsg-0ubuntu0.14.04.1+esm1","0.103.2+dfsg-0ubuntu0.14.04.1+esm1","0.103.2+dfsg-0ubuntu0.14.04.1+esm2","0.103.5+dfsg-0ubuntu0.14.04.1+esm1","0.103.6+dfsg-0ubuntu0.14.04.1+esm1","0.103.8+dfsg-0ubuntu0.14.04.1+esm1","0.103.9+dfsg-0ubuntu0.14.04.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"clamav","binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1"},{"binary_name":"clamav-base","binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1"},{"binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1","binary_name":"clamav-daemon"},{"binary_name":"clamav-docs","binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1"},{"binary_name":"clamav-freshclam","binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1"},{"binary_name":"clamav-milter","binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1"},{"binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1","binary_name":"clamav-testfiles"},{"binary_name":"libclamav9","binary_version":"0.103.9+dfsg-0ubuntu0.14.04.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4-1","0.4-1ubuntu0.1~esm1","0.4-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4-1ubuntu0.1~esm2","binary_name":"libmspack0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5-1","0.5-1ubuntu0.16.04.1","0.5-1ubuntu0.16.04.2","0.5-1ubuntu0.16.04.3","0.5-1ubuntu0.16.04.4"],"ecosystem_specific":{"binaries":[{"binary_name":"libmspack0","binary_version":"0.5-1ubuntu0.16.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6-3","0.6-3ubuntu0.1","0.6-3ubuntu0.2","0.6-3ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmspack0","binary_version":"0.6-3ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.1-1","0.10.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmspack0","binary_version":"0.10.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.1-2build1","0.10.1-2build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmspack0","binary_version":"0.10.1-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11-1","0.11-1.1","0.11-1.1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmspack0t64","binary_version":"0.11-1.1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11-1.1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11-1.1build2","binary_name":"libmspack0t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}},{"package":{"name":"libmspack","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libmspack?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11-1.1build1","0.11-1.1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11-1.1build2","binary_name":"libmspack0t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-110602.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}