{"id":"CVE-2025-53367","state":"PUBLISHED","title":"DjVuLibre OOB-Write Vulnerability in MMRDecoder","description":"DjVuLibre is a GPL implementation of DjVu, a web-centric format for distributing documents and images. Prior to version 3.5.29, the MMRDecoder::scanruns method is affected by an OOB-write vulnerability, because it does not check that the xr pointer stays within the bounds of the allocated buffer. This can lead to writes beyond the allocated memory, resulting in a heap corruption condition. An out-of-bounds read with pr is also possible for the same reason. This issue has been patched in version 3.5.29.","publishedAt":"2025-07-03T21:07:49.075Z","updatedAt":"2025-11-04T21:11:47.600Z","severity":{"score":8.4,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["DjvuNet DjVuLibre"],"affected":[{"vendor":"DjvuNet","product":"DjVuLibre","versions":[{"version":"< 3.5.29","status":"affected"}]}],"references":["https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/","https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre","https://github.com/github/securitylab/tree/main/SecurityExploits/DjVuLibre/MMRDecoder_scanruns_CVE-2025-53367","https://sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da","https://www.openwall.com/lists/oss-security/2025/07/03/1","https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre/","https://lists.debian.org/debian-lts-announce/2025/07/msg00007.html","http://www.openwall.com/lists/oss-security/2025/07/03/1","http://www.openwall.com/lists/oss-security/2025/07/18/3"],"weaknesses":["CWE-787","CWE-125"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/53xxx/CVE-2025-53367.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-53367","state":"PUBLISHED","datePublished":"2025-07-03T21:07:49.075Z","dateUpdated":"2025-11-04T21:11:47.600Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-06-27T12:57:16.121Z"},"containers":{"cna":{"title":"DjVuLibre OOB-Write Vulnerability in MMRDecoder","descriptions":[{"lang":"en","value":"DjVuLibre is a GPL implementation of DjVu, a web-centric format for distributing documents and images. Prior to version 3.5.29, the MMRDecoder::scanruns method is affected by an OOB-write vulnerability, because it does not check that the xr pointer stays within the bounds of the allocated buffer. This can lead to writes beyond the allocated memory, resulting in a heap corruption condition. An out-of-bounds read with pr is also possible for the same reason. This issue has been patched in version 3.5.29."}],"affected":[{"vendor":"DjvuNet","product":"DjVuLibre","versions":[{"version":"< 3.5.29","status":"affected"}]}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/","name":"https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre","name":"https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre","tags":["x_refsource_MISC"]},{"url":"https://github.com/github/securitylab/tree/main/SecurityExploits/DjVuLibre/MMRDecoder_scanruns_CVE-2025-53367","name":"https://github.com/github/securitylab/tree/main/SecurityExploits/DjVuLibre/MMRDecoder_scanruns_CVE-2025-53367","tags":["x_refsource_MISC"]},{"url":"https://sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da","name":"https://sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2025/07/03/1","name":"https://www.openwall.com/lists/oss-security/2025/07/03/1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.4,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-07-18T16:06:45.832Z"},"source":{"advisory":"GHSA-62rj-9v34-f686","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre/","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-08T14:30:36.346489Z","id":"CVE-2025-53367","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-08T14:30:41.141Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00007.html"},{"url":"http://www.openwall.com/lists/oss-security/2025/07/03/1"},{"url":"http://www.openwall.com/lists/oss-security/2025/07/18/3"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T21:11:47.600Z"}}]}}}