{"schema_version":"1.7.5","id":"CVE-2018-14681","published":"2018-07-28T23:29:00.343Z","modified":"2026-07-08T20:30:11.448087Z","related":["SUSE-SU-2018:3250-1","SUSE-SU-2018:3436-1","SUSE-SU-2018:3436-2","SUSE-SU-2018:3441-1","SUSE-SU-2021:2765-1","SUSE-SU-2021:2802-1","openSUSE-SU-2021:1200-1","openSUSE-SU-2021:2802-1","openSUSE-SU-2024:10958-1"],"details":"An issue was discovered in kwajd_read_headers in mspack/kwajd.c in libmspack before 0.7alpha. Bad KWAJ file header extensions could cause a one or two byte overwrite.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kyz/libmspack","events":[{"introduced":"25be5e56c1f140dfed754073c7dc374fd4d3010a"},{"last_affected":"a2b36d2f477a183c046b66c731936fa56eba53b4"},{"fixed":"0b0ef9344255ff5acfac6b7af09198ac9c9756c8"}],"database_specific":{"cpe":["cpe:2.3:a:cabextract:libmspack:0.0.20060920:alpha:*:*:*:*:*:*","cpe:2.3:a:cabextract:libmspack:0.3:alpha:*:*:*:*:*:*","cpe:2.3:a:cabextract:libmspack:0.4:alpha:*:*:*:*:*:*","cpe:2.3:a:cabextract:libmspack:0.5:alpha:*:*:*:*:*:*","cpe:2.3:a:cabextract:libmspack:0.6:alpha:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0.0.20060920-alpha"},{"last_affected":"0.0.20060920-alpha"},{"introduced":"0.3-alpha"},{"last_affected":"0.3-alpha"},{"introduced":"0.4-alpha"},{"last_affected":"0.4-alpha"},{"introduced":"0.5-alpha"},{"last_affected":"0.5-alpha"},{"introduced":"0.6-alpha"},{"last_affected":"0.6-alpha"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["0.0.20060920-alpha","0.3-alpha","0.4-alpha","0.5-alpha","0.6-alpha","v0.6alpha","v1.5","v0.5alpha","v0.4alpha","v1.4","v0.3alpha","v1.3","v1.2","v0.0.20060920alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14681.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["264125639601368245136278382040962299940","334718959738228674956836817475169085946","129263725176395171497904630117284598573","136055985965663008756139860224137290491","146921429704295347375559488414009961315","144048888467957435751834250567563075182","111846584464331271926986855392744924426","203836619199442944830654375939473252323","81676947660109281998418610702684930460","298075990359636591353990776340018337053","291184430367398170553833683326145169146","265994721061227409424378697157226067255","282128057683887539700009755939422265141","145568330504166830716940528839867775308","47732878296738844481897533567175310364","296738990979170437360220607543689989228","310121185771599670866381063311104525529","274428706265141814401783177908660083895","71631741594013791888316882536923655880","126237243167368149135907565162241690162","134367768589457487684380498779829148207"],"threshold":0.9},"id":"CVE-2018-14681-ebb257ff","signature_type":"Line","signature_version":"v1","source":"https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8","target":{"file":"libmspack/mspack/kwajd.c"}},{"deprecated":false,"digest":{"function_hash":"9188850034302970685971634658391947089","length":2697},"id":"CVE-2018-14681-f0630062","signature_type":"Function","signature_version":"v1","source":"https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8","target":{"file":"libmspack/mspack/kwajd.c","function":"kwajd_read_headers"}}],"vanir_signatures_modified":"2026-07-08T20:30:11Z"}}],"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2018/07/26/1"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1041410"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3327"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00007.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201903-20"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3728-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3728-2/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3728-3/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3789-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4260"},{"type":"FIX","url":"https://bugs.debian.org/904799"},{"type":"FIX","url":"https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:cabextract_project:cabextract:*:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"1.5"}],"source":"CPE_RANGE","vendor_product":"cabextract_project:cabextract"},{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"12.04"},{"last_affected":"12.04"},{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"},{"cpes":["cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.3"},{"last_affected":"3.3"}],"source":"CPE_STRING","vendor_product":"redhat:ansible_tower"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_desktop"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_server"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_workstation"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}