{"id":"CVE-2024-56827","aliases":["CVE-2024-56827"],"related":[],"kind":"vulnerability","state":"published","title":"Openjpeg: heap buffer overflow in lib/openjp2/j2k.c","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en OpenJPEG project. Se puede generar una condición de desbordamiento del búfer de pila cuando se especifican ciertas opciones al usar la utilidad opj_decompress. Esto puede provocar un bloqueo de la aplicación u otro comportamiento indefinido.","source":"nvd"}],"published":"2025-01-09T03:40:30.512Z","modified":"2026-11-24T06:17:03.567Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H","score":5.6,"rating":"MEDIUM"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"semver","introduced":"2.5.3","fixed":"*","status":"unaffected"}],"package":"openjpeg","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.4.0-8.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"openjpeg2","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"openjpeg2","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"openjpeg","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"openjpeg","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"openjpeg2","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"gimp:flatpak/openjpeg2","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"openjpeg2","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:7309","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-56827","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2335174","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/uclouvain/openjpeg/issues/1564","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Frank Zeng (Huazhong University of Science and Technology) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-09T15:38:58.334Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56827","url":"https://www.cve.org/CVERecord?id=CVE-2024-56827","licence":"CVE Terms of Use","modified":"2026-11-24T05:31:42.105Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56827","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56827","licence":"Public domain","modified":"2026-11-24T06:17:03.567Z"}],"updatedAt":"2026-11-25T22:58:50.841Z","epss":{"score":0.00303,"percentile":0.24861,"date":"2026-12-01T12:00:22.000Z"}}