{"id":"CVE-2024-56827","summary":"Openjpeg: heap buffer overflow in lib/openjp2/j2k.c","details":"A flaw was found in the OpenJPEG project. A heap buffer overflow condition may be triggered when certain options are specified while using the opj_decompress utility.  This can lead to an application crash or other undefined behavior.","modified":"2026-08-12T15:15:47.354432Z","published":"2025-01-09T03:40:30.512Z","related":["ALSA-2025:7309"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56827.json","cna_assigner":"redhat","cwe_ids":["CWE-122"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:7309"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-56827"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56827.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56827"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2335174"},{"type":"REPORT","url":"https://github.com/uclouvain/openjpeg/issues/1564"},{"type":"FIX","url":"https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8"},{"type":"PACKAGE","url":"https://github.com/uclouvain/openjpeg"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/uclouvain/openjpeg","events":[{"introduced":"0"},{"fixed":"e492644fbded4c820ca55b5e50e598d346e850e8"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.1","v2.3.0","v2.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56827.json","vanir_signatures_modified":"2026-08-12T15:15:47Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["28418849628522301618374514485340257261","65408979627220108443777868020503841173","319813844001325523217530536602563674936","146437935206911265118418242331132350205"],"threshold":0.9},"id":"CVE-2024-56827-b43f6bae","signature_type":"Line","signature_version":"v1","source":"https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8","target":{"file":"src/lib/openjp2/j2k.c"}},{"deprecated":false,"digest":{"function_hash":"293699255173430293670766210826467402271","length":1431},"id":"CVE-2024-56827-d951482e","signature_type":"Function","signature_version":"v1","source":"https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8","target":{"file":"src/lib/openjp2/j2k.c","function":"opj_j2k_add_tlmarker"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H"}]}