CVE-2005-0525 json
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 2005-04-03 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-0526
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php RHEL 4 4.3.9-3.6
- php-gd RHEL 4 4.3.9-3.6
- php-imap RHEL 4 4.3.9-3.6
- php-ldap RHEL 4 4.3.9-3.6
- php-odbc RHEL 4 4.3.9-3.6
- php-pear RHEL 4 4.3.9-3.6
- php-snmp RHEL 4 4.3.9-3.6
- php-mysql RHEL 4 4.3.9-3.6
red hat advisories RHSA-2005:406RHSA-2005:405
- debian.org/security/2005/dsa-708 advisory
- secunia.com/advisories/14792 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-0525 updated
security flaw
-
Red Hat Desktop version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.ent Red Hat Enterprise Linux AS version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.entfixed: vendor fix RHSA-2005:405
-
Red Hat Enterprise Linux AS version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 morefixed: vendor fix RHSA-2005:406
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.entfixed: vendor fix RHSA-2005:405
-
Red Hat Enterprise Linux ES version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 morefixed: vendor fix RHSA-2005:406
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-23.ent, php-imap 4.3.2-23.ent, php-ldap 4.3.2-23.ent, php-odbc 4.3.2-23.ent, php-mysql 4.3.2-23.ent, php-pgsql 4.3.2-23.entfixed: vendor fix RHSA-2005:405
-
Red Hat Enterprise Linux WS version 4 php 4.3.9-3.6, php-gd 4.3.9-3.6, php-imap 4.3.9-3.6, php-ldap 4.3.9-3.6, php-odbc 4.3.9-3.6, php-pear 4.3.9-3.6, +7 morefixed: vendor fix RHSA-2005:406
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.81% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securityfocus.com http://www.securityfocus.com/archive/1/394797 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Technology feeds
References
-
debian.org
/security/2005/dsa-708
vendor-advisory, patch
-
secunia.com
/advisories/14792
third-party-advisory, patch
-
securityfocus.com
/archive/1/394797
third-party-advisory, exploit, vendor-advisory
-
debian.org
/security/2005/dsa-729
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-406.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2005:072
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200504-15.xml
vendor-advisory
-
lists.apple.com
/archives/security-announce/2005/Jun/msg00000.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-405.html
vendor-advisory
-
securitytracker.com
/id?1013619
vdb-entry
-
osvdb.org
/15184
vdb-entry
-
vupen.com
/english/advisories/2005/0305
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11703
vdb-entry, signature
Sources
- CVE List CVE-2005-0525
- NVD CVE-2005-0525
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.