All vulnerabilities

Servers and applications

CVE-2005-0525

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.

Severity
Medium 5.0
Published
2 May 2005
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
2.8% in the next 30 daysHigher than 86% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 4.2.2
  • Version 4.3.9
  • Version 4.3.10
  • Version 5.0.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2005-0525
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2005-0525