CVE-2016-2347

Source
https://cve.org/CVERecord?id=CVE-2016-2347
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2347.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-2347
Downstream
Related
Published
2017-04-21T20:59:00.557Z
Modified
2026-07-08T12:42:21.871936Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Integer underflow in the decodelevel3header function in lib/lhafileheader.c in Lhasa before 0.3.1 allows remote attackers to execute arbitrary code via a crafted archive.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "42.1"
                },
                {
                    "last_affected": "42.1"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "opensuse:leap",
            "cpes": [
                "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "13.2"
                },
                {
                    "last_affected": "13.2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "opensuse:opensuse",
            "cpes": [
                "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/fragglet/lhasa

Affected ranges

Type
GIT
Repo
https://github.com/fragglet/lhasa
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.3.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:lhasa_project:lhasa:*:*:*:*:*:*:*:*"
}

Affected versions

v0.*
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.1.0
v0.2.0
v0.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2347.json"
vanir_signatures
[
    {
        "target": {
            "function": "extend_raw_data",
            "file": "lib/lha_file_header.c"
        },
        "deprecated": false,
        "source": "https://github.com/fragglet/lhasa/commit/6fcdb8f1f538b9d63e63a5fa199c5514a15d4564",
        "id": "CVE-2016-2347-127c86b4",
        "signature_version": "v1",
        "digest": {
            "length": 450.0,
            "function_hash": "205213664740166912401818331102733821536"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "function": "decode_level3_header",
            "file": "lib/lha_file_header.c"
        },
        "deprecated": false,
        "source": "https://github.com/fragglet/lhasa/commit/6fcdb8f1f538b9d63e63a5fa199c5514a15d4564",
        "id": "CVE-2016-2347-2951ef9d",
        "signature_version": "v1",
        "digest": {
            "length": 919.0,
            "function_hash": "243803080807595711965693796938017383515"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "file": "lib/lha_file_header.c"
        },
        "deprecated": false,
        "source": "https://github.com/fragglet/lhasa/commit/6fcdb8f1f538b9d63e63a5fa199c5514a15d4564",
        "id": "CVE-2016-2347-9e27d471",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "81857088144805919651521459705044896562",
                "90865436915124334063461346229748683849",
                "168603969358282847260008075131334827623",
                "101587154781056942032226788173318447276",
                "164140291529182583489359734877066170927",
                "271716932972871301892963359679777099513",
                "72133410738862859589332295645323222629"
            ]
        },
        "signature_type": "Line"
    }
]
vanir_signatures_modified
"2026-07-08T12:42:21Z"