{"id":"CVE-2025-54874","published":"2025-08-05T14:33:17Z","modified":"2026-02-26T17:49:57Z","title":"OpenJPEG allows OOB heap memory write in opj_jp2_read_header","vendor":"uclouvain","product":"openjpeg","tier":"tail","description":{"text":"OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opj_jp2_read_header may lead to OOB heap memory write when the data stream p_stream is too short and p_image is not initialized.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00658,"percentile":0.52437,"provenance":"source"},"cwes":[{"id":"CWE-457","name":"Use of Uninitialized Variable"}],"references":[{"url":"https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/uclouvain/openjpeg/pull/1573","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2025-057_OpenCV","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.49},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"uclouvain","affectedVersions":[{"vendor":"uclouvain","product":"openjpeg","versions":[">=  2.5.1, <= 2.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-01-22T04:55:47.578218Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-23631","exploited":false,"provenance":"source"}}