Skip to main content

Integer Overflow to Buffer Overflow

CVE-2024-28219

Severity High
Score 7.3/10

Summary

In "_imagingcms.c" in Pillow versions prior to 10.3.0, a Buffer Overflow exists because "strcpy" is used instead of "strncpy".

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

CWE-680 - Integer Overflow to Buffer Overflow

The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.

Advisory Timeline

  • Published