CVE-2005-0525
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.808%
chance of exploitation in the next 30 days
higher than 86.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Timeline
- 2005-04-03Published by the CNA05:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | 4.2.2no fix listed4.3.10no fix listed4.3.9no fix listed5.0.3no fix listed | not listednot listednot listednot listed |
References
- http://secunia.com/advisories/14792
- http://www.debian.org/security/2005/dsa-708
- http://lists.apple.com/archives/security-announce/2005/Jun/msg00000.html
- http://www.debian.org/security/2005/dsa-729
- http://www.gentoo.org/security/en/glsa/glsa-200504-15.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- http://www.redhat.com/support/errata/RHSA-2005-405.html
- http://www.redhat.com/support/errata/RHSA-2005-406.html
- http://www.securityfocus.com/archive/1/394797
- http://securitytracker.com/id?1013619
- http://www.osvdb.org/15184
- http://www.vupen.com/english/advisories/2005/0305
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11703
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-0525'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-0525'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-0525'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-0525'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).