Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-14681

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-14681
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:10 UTC · Revision 1

Source evidence

CVE-2018-14681

core-osv · Original source

Published 28 Jul 2018, 23:29 UTC

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.

osv:CVE-2018-14681
Complete source record
{
  "id": "fe48b1fac034d04a9f2153fa85b77a6febbf03b708aeb5bb5f2299c3e931390c",
  "url": "https://osv.dev/vulnerability/CVE-2018-14681",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-14681",
    "summary": "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.",
    "evidence": "osv:CVE-2018-14681",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-14681",
      "aliases": [
        "CVE-2018-14681"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/kyz/libmspack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "25be5e56c1f140dfed754073c7dc374fd4d3010a"
                },
                {
                  "last_affected": "a2b36d2f477a183c046b66c731936fa56eba53b4"
                },
                {
                  "fixed": "0b0ef9344255ff5acfac6b7af09198ac9c9756c8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cabextract:libmspack:0.0.20060920:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.0.20060920-alpha"
                      },
                      {
                        "last_affected": "0.0.20060920-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:cabextract:libmspack:0.3:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.3-alpha"
                      },
                      {
                        "last_affected": "0.3-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:cabextract:libmspack:0.4:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.4-alpha"
                      },
                      {
                        "last_affected": "0.4-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:cabextract:libmspack:0.5:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.5-alpha"
                      },
                      {
                        "last_affected": "0.5-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:cabextract:libmspack:0.6:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.6-alpha"
                      },
                      {
                        "last_affected": "0.6-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0b0ef9344255ff5acfac6b7af09198ac9c9756c8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "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": [
              {
                "id": "CVE-2018-14681-ebb257ff",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "264125639601368245136278382040962299940",
                    "334718959738228674956836817475169085946",
                    "129263725176395171497904630117284598573",
                    "136055985965663008756139860224137290491",
                    "146921429704295347375559488414009961315",
                    "144048888467957435751834250567563075182",
                    "111846584464331271926986855392744924426",
                    "203836619199442944830654375939473252323",
                    "81676947660109281998418610702684930460",
                    "298075990359636591353990776340018337053",
                    "291184430367398170553833683326145169146",
                    "265994721061227409424378697157226067255",
                    "282128057683887539700009755939422265141",
                    "145568330504166830716940528839867775308",
                    "47732878296738844481897533567175310364",
                    "296738990979170437360220607543689989228",
                    "310121185771599670866381063311104525529",
                    "274428706265141814401783177908660083895",
                    "71631741594013791888316882536923655880",
                    "126237243167368149135907565162241690162",
                    "134367768589457487684380498779829148207"
                  ]
                },
                "source": "https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8",
                "target": {
                  "file": "libmspack/mspack/kwajd.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-14681-f0630062",
                "digest": {
                  "length": 2697,
                  "function_hash": "9188850034302970685971634658391947089"
                },
                "source": "https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8",
                "target": {
                  "file": "libmspack/mspack/kwajd.c",
                  "function": "kwajd_read_headers"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:11:02Z"
          }
        }
      ],
      "modified": "2026-10-24T14:11:02.307864029Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:3327",
        "https://access.redhat.com/errata/RHSA-2018:3505",
        "https://lists.debian.org/debian-lts-announce/2018/08/msg00007.html",
        "https://security.gentoo.org/glsa/201903-20",
        "https://usn.ubuntu.com/3728-1/",
        "https://usn.ubuntu.com/3728-2/",
        "https://usn.ubuntu.com/3728-3/",
        "https://usn.ubuntu.com/3789-2/",
        "https://www.debian.org/security/2018/dsa-4260",
        "https://bugs.debian.org/904799",
        "https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:cabextract_project:cabextract:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "cabextract_project:cabextract",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.5"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "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:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "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"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ansible_tower",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.3"
                  },
                  {
                    "last_affected": "3.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_desktop",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_workstation",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-14681",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443210,
  "published_at": "2018-07-28T23:29:00.343+00:00"
}