CVE-2005-0525: PHP
Medium severity, CVSS 5.0. EPSS: 2.8% chance of exploitation in the next 30 days.
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.
Affected products
- PHP PHP: version 4.2.2 only; version 4.3.9 only; version 4.3.10 only; version 5.0.3 only
Published 2005-05-02. Last modified 2026-06-16.