{"id":"CVE-2016-10504","details":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout 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.","modified":"2026-04-11T03:43:31.014232Z","published":"2017-08-30T09:29:00.247Z","related":["openSUSE-SU-2024:11120-1"],"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/100564"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/42600/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201710-26"},{"type":"ADVISORY","url":"http://www.debian.org/security/2017/dsa-4013"},{"type":"FIX","url":"https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04"},{"type":"FIX","url":"https://github.com/uclouvain/openjpeg/issues/835"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/uclouvain/openjpeg","events":[{"introduced":"0"},{"last_affected":"1f1e968269bbd7eaade7955892a6d8c281b91df2"},{"fixed":"397f62c0a838e15d667ef50e27d5d011d2c79c04"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.1.2"}]}}],"versions":["v2.1.1","v2.1.2"],"database_specific":{"vanir_signatures_modified":"2026-04-11T03:43:31Z","vanir_signatures":[{"target":{"file":"src/lib/openjp2/tcd.c","function":"opj_tcd_code_block_enc_allocate_data"},"signature_type":"Function","digest":{"length":477,"function_hash":"173573818782671721813576327712645587033"},"deprecated":false,"signature_version":"v1","id":"CVE-2016-10504-64d69c19","source":"https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04"},{"target":{"file":"src/lib/openjp2/tcd.c"},"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["84287188712089355687759545531450893603","177311097550808870559618388162182863081","334731653267446734227190207039040309428","71253646569722539028308263770500150912","229560804484841681537562014431883906713"]},"deprecated":false,"signature_version":"v1","id":"CVE-2016-10504-ab7fcd5f","source":"https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10504.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}