{"id":"CVE-2025-57807","revision":"2d8e4bd3193345e081df62f47f43e368","records":[{"revision":"2d8e4bd3193345e081df62f47f43e368","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-57807","aliases":[],"title":"ImageMagick BlobStream Forward-Seek Under-Allocation","description":"ImageMagick is free and open-source software used for editing and manipulating digital images. ImageMagick versions lower than 14.8.2 include  insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing capacity, and WriteBlob(), which then expands by quantum + length (amortized) instead of offset + length, and copies to data + offset. When offset ≫ extent, the copy targets memory beyond the allocation, producing a deterministic heap write on 64-bit builds. No 2⁶⁴ arithmetic wrap, external delegates, or policy settings are required. This is fixed in version 14.8.2.","state":0,"publishedAt":"2025-09-05T21:16:02.742+00:00","modifiedAt":"2025-11-03T18:13:45.798+00:00","affected":[{"ecosystem":"Vendor product","name":"ImageMagick","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ImageMagick\",\n                    \"product\": \"ImageMagick\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 14.8.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","score":3.8,"severity":"LOW"}],"references":["https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-23hg-53q6-hqfg","https://github.com/ImageMagick/ImageMagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-57807","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-57807","identifiers":["CVE-2025-57807"]},"retained":false,"historicalAffected":[]}],"coverage":[]}