CVE-2016-10504

Source
https://cve.org/CVERecord?id=CVE-2016-10504
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10504.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-10504
Downstream
Related
Published
2017-08-30T09:29:00.247Z
Modified
2026-04-11T03:43:31.014232Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Heap-based buffer overflow vulnerability in the opjmqcbyteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.

References

Affected packages

Git / github.com/uclouvain/openjpeg

Affected ranges

Type
GIT
Repo
https://github.com/uclouvain/openjpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.1.2"
        }
    ]
}

Affected versions

v2.*
v2.1.1
v2.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10504.json"
vanir_signatures
[
    {
        "digest": {
            "length": 477.0,
            "function_hash": "173573818782671721813576327712645587033"
        },
        "id": "CVE-2016-10504-64d69c19",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04",
        "target": {
            "function": "opj_tcd_code_block_enc_allocate_data",
            "file": "src/lib/openjp2/tcd.c"
        }
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "84287188712089355687759545531450893603",
                "177311097550808870559618388162182863081",
                "334731653267446734227190207039040309428",
                "71253646569722539028308263770500150912",
                "229560804484841681537562014431883906713"
            ]
        },
        "id": "CVE-2016-10504-ab7fcd5f",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04",
        "target": {
            "file": "src/lib/openjp2/tcd.c"
        }
    }
]
vanir_signatures_modified
"2026-04-11T03:43:31Z"