First published: Sun Apr 03 2005(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =4.3.9 | |
PHP | =4.2.2 | |
PHP | =5.0.3 | |
PHP | =4.3.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2005-0525 is classified as a denial of service vulnerability.
To fix CVE-2005-0525, upgrade PHP to a version later than 5.0.3, 4.3.10, or 4.3.9.
CVE-2005-0525 affects PHP versions 4.2.2, 4.3.9, 4.3.10, and 5.0.3.
CVE-2005-0525 can lead to an infinite loop causing applications to become unresponsive, resulting in service denial.
Yes, CVE-2005-0525 can be exploited remotely through crafted JPEG images.