CVEvulnerability

CVE-2025-57807

9.8 CRITICAL Published 2025-09-05 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2025-09-05
Last modified
2026-10-19
Assigner
[email protected]
CVSS 3.1 ([email protected])
3.8 LOW — CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-122, CWE-131, CWE-787

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.

Affected configurations

• imagemagick imagemagick (< 6.9.13-29) • imagemagick imagemagick (>= 7.0.0-0 < 7.1.2-3)

Related

Weakness · CWE (3)

  • CWE-122 Heap-based Buffer Overflow weakness
  • CWE-131 Incorrect Calculation of Buffer Size weakness
  • CWE-787 Out-of-bounds Write weakness

References