In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information.
The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://bugs.php.net/bug.php?id=81739 | issue tracking patch vendor advisory exploit |