Skip to main content

Incorrect Calculation of Buffer Size

CVE-2025-43965

Severity High
Score 7.5/10

Summary

The MIFF image processing in ImageMagick versions through 6.9.13-21, and 7.x through 7.1.1-43 mishandles image depth after "SetQuantumFormat()" is used.

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

CWE-131 - Incorrect Calculation of Buffer Size

The software does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.

Advisory Timeline

  • Published