CVE-2018-14681

Source
https://cve.org/CVERecord?id=CVE-2018-14681
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14681.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-14681
Downstream
Related
Published
2018-07-28T23:29:00.343Z
Modified
2026-07-08T20:30:11.448087Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in kwajdreadheaders in mspack/kwajd.c in libmspack before 0.7alpha. Bad KWAJ file header extensions could cause a one or two byte overwrite.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_RANGE",
            "cpes": [
                "cpe:2.3:a:cabextract_project:cabextract:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "cabextract_project:cabextract",
            "extracted_events": [
                {
                    "last_affected": "1.5"
                }
            ]
        },
        {
            "source": "CPE_STRING",
            "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": [
                {
                    "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": [
                {
                    "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": [
                {
                    "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": [
                {
                    "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": [
                {
                    "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": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/kyz/libmspack

Affected ranges

Type
GIT
Repo
https://github.com/kyz/libmspack
Events
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:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "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"
        }
    ]
}

Affected versions

0.*
0.0.20060920-alpha
0.3-alpha
0.4-alpha
0.5-alpha
0.6-alpha
v0.*
v0.0.20060920alpha
v0.3alpha
v0.4alpha
v0.5alpha
v0.6alpha
v1.*
v1.2
v1.3
v1.4
v1.5

Database specific

vanir_signatures
[
    {
        "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"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8",
        "signature_type": "Line",
        "target": {
            "file": "libmspack/mspack/kwajd.c"
        },
        "id": "CVE-2018-14681-ebb257ff",
        "deprecated": false
    },
    {
        "digest": {
            "length": 2697.0,
            "function_hash": "9188850034302970685971634658391947089"
        },
        "signature_version": "v1",
        "source": "https://github.com/kyz/libmspack/commit/0b0ef9344255ff5acfac6b7af09198ac9c9756c8",
        "signature_type": "Function",
        "target": {
            "function": "kwajd_read_headers",
            "file": "libmspack/mspack/kwajd.c"
        },
        "id": "CVE-2018-14681-f0630062",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-08T20:30:11Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14681.json"