{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-54874","id":"CVE-2025-54874","title":"OpenJPEG allows OOB heap memory write in opj_jp2_read_header","description":"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.","descriptionLong":"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.","published":"2025-08-05T14:33:17.323Z","updated":"2026-10-28T10:59:51.930720070Z","reserved":"2025-07-31T17:23:33.473Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.6,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.6,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.6,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"medium","products":["uclouvain openjpeg"],"affectedProducts":[{"vendor":"uclouvain","product":"openjpeg","defaultStatus":null,"versions":[{"version":">=  2.5.1, <= 2.5.3","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-457"],"aliases":[],"references":[{"url":"https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d","tags":["x_refsource_CONFIRM","Patch","fix"]},{"url":"https://github.com/uclouvain/openjpeg/pull/1573","tags":["x_refsource_MISC","Third Party Advisory","fix"]},{"url":"https://securitylab.github.com/advisories/GHSL-2025-057_OpenCV","tags":["x_refsource_MISC","Exploit","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54874.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54874","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00658,"epssPercentile":0.52235,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-54874","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54874","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-54874","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-54874","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}