Skip to main content

Integer Overflow or Wraparound

CVE-2025-69204

Severity High
Score 7.5/10

Summary

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to ImageMagick version 7.1.2-12 and 6.9.13-37 and Magick.NET version 14.10.1, in the WriteSVGImage function, using an int variable to store number_attributes caused an integer overflow. This, in turn, triggered a buffer overflow and caused a DoS attack. ImageMagick versions 7.1.2-12 and 6.9.13-37 and Magick.NET version 14.10.1 fixes the issue.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-190 - Integer Overflow or Wraparound

The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.

References

Advisory Timeline

  • Published