Skip to content
OpenAdvisories
Unscored CVE-2005-0525 EUVD-2005-0526GHSA-wwrm-r7xf-c25v

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 remot…

Published Apr 3, 2005 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 3.0 php3 3:3.0.18-23.1woody3 DSA-708-1
Debian 3.0 php4 4:4.1.2-7.woody4 DSA-729-1
ReleasePackageFixed inAdvisory
RHEL 4 php +13 4.3.9-3.6 RHSA-2005:406
RHEL 3 php +6 4.3.2-23.ent RHSA-2005:405

Advisories 4

References