Denial of Service Vulnerability in PHP's getimagesize Function

Denial of Service Vulnerability in PHP's getimagesize Function

CVE-2005-0525 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:N/A:P

The php_next_marker function in image.c for PHP 4.2.2, 4.3.9, 4.3.10 and 5.0.3, as reachable by the getimagesize PHP function, allows remote attackers to cause a denial of service (infinite loop) via a JPEG image with an invalid marker value, which causes a negative length value to be passed to php_stream_seek.

Learn more about our Web Application Penetration Testing UK.