CVE-2018-14682

Source
https://cve.org/CVERecord?id=CVE-2018-14682
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-14682.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-14682
Downstream
ALPINE (1)
CLEANSTART (5)
DEBIAN (1)
MGASA (1)
openSUSE (3)
RHSA (1)
SUSE (6)
UBUNTU (1)
Related
Published
2018-07-28T23:29:00Z
Modified
2026-10-21T13:04:34Z
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 mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the TOLOWER() macro for CHM decompression.

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

Affected packages

Git / github.com/kyz/libmspack

Affected ranges

Type
GIT
Repo
https://github.com/kyz/libmspack
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "fixed": "4fd9ccaa54e1aebde1e4b95fb0163b699fd7bcc8"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.0.20060920alpha
v0.3alpha
v0.4alpha
v0.5alpha
v0.6alpha
v1.*
v1.0
v1.1
v1.2
v1.3
v1.4
v1.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-14682.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "281670956274223246577000571300676145113",
                "8328464798769891185091737502904899358",
                "287500466610264771543633729059261512912",
                "98908307968248524670377173822699994738"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-14682-71a5f2e9",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/kyz/libmspack/commit/4fd9ccaa54e1aebde1e4b95fb0163b699fd7bcc8",
        "target": {
            "file": "libmspack/mspack/chmd.c"
        }
    }
]
vanir_signatures_modified
"2026-10-21T13:04:34Z"