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 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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2005-0525- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2005-0525- Updated
- 2026-11-02
EUVDEUVD-2005-0526 No score
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.
- Record
EUVD-2005-0526- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wwrm-r7xf-c25v No score
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 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.
- Record
GHSA-wwrm-r7xf-c25v- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php3Debian:3.0 |
before 3:3.0.18-23.1woody3, plus listed versions 3:3.0.18-23.1woody13:3.0.18-23.1woody2 |
3:3.0.18-23.1woody3 |
php4Debian:3.0 |
before 4:4.1.2-7.woody4, plus listed versions 4:4.1.2-74:4.1.2-7.0.14:4.1.2-7.woody34:4.1.2-7woody14:4.1.2-7woody2 |
4:4.1.2-7.woody4 |
phpRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::as |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
Show 84 moreShow less
| Package | Affected | Fixed |
|---|---|---|
phpRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::desktop |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::es |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-develRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-imapRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-ldapRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-mysqlRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-odbcRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
php-pgsqlRed Hat:enterprise_linux:3::ws |
before 0:4.3.2-23.ent | 0:4.3.2-23.ent |
phpRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::as |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
phpRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::desktop |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
phpRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::es |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
phpRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-develRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-domxmlRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-gdRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-imapRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ldapRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mbstringRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-mysqlRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-ncursesRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-odbcRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pearRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-pgsqlRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-snmpRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
php-xmlrpcRed Hat:enterprise_linux:4::ws |
before 0:4.3.9-3.6 | 0:4.3.9-3.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2005-0525 is a medium vulnerability (CVSS 5.0) in Php, published April 3, 2005. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.81%, the 86th percentile. Fixed in php3 3:3.0.18-23.1woody3.
References
debian.org/security/2005/dsa-729
securitytracker.com/id?1013619
redhat.com/support/errata/RHSA-2005-406.html
mandriva.com/security/advisories?name=MDKSA-2005:072
osvdb.org/15184
gentoo.org/security/en/glsa/glsa-200504-15.xml
Show 41 moreShow less
lists.apple.com/archives/security-announce/2005/Jun/msg00000.html
secunia.com/advisories/14792
vupen.com/english/advisories/2005/0305
debian.org/security/2005/dsa-708
securityfocus.com/archive/1/394797
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11703
redhat.com/support/errata/RHSA-2005-405.html
nvd.nist.gov/vuln/detail/CVE-2005-0525
github.com/advisories/GHSA-wwrm-r7xf-c25v
access.redhat.com/errata/RHSA-2005:405
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=145436
bugzilla.redhat.com/show_bug.cgi?id=147808
bugzilla.redhat.com/show_bug.cgi?id=149873
bugzilla.redhat.com/show_bug.cgi?id=149946
bugzilla.redhat.com/show_bug.cgi?id=153140
bugzilla.redhat.com/show_bug.cgi?id=154021
bugzilla.redhat.com/show_bug.cgi?id=154025
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_405.json
access.redhat.com/security/cve/CVE-2004-1392
bugzilla.redhat.com/show_bug.cgi?id=1617411
cve.org/CVERecord?id=CVE-2004-1392
nvd.nist.gov/vuln/detail/CVE-2004-1392
access.redhat.com/security/cve/CVE-2005-0524
bugzilla.redhat.com/show_bug.cgi?id=1617533
cve.org/CVERecord?id=CVE-2005-0524
nvd.nist.gov/vuln/detail/CVE-2005-0524
access.redhat.com/security/cve/CVE-2005-0525
bugzilla.redhat.com/show_bug.cgi?id=1617534
cve.org/CVERecord?id=CVE-2005-0525
access.redhat.com/security/cve/CVE-2005-1042
bugzilla.redhat.com/show_bug.cgi?id=1617600
cve.org/CVERecord?id=CVE-2005-1042
nvd.nist.gov/vuln/detail/CVE-2005-1042
access.redhat.com/security/cve/CVE-2005-1043
bugzilla.redhat.com/show_bug.cgi?id=1617601
cve.org/CVERecord?id=CVE-2005-1043
nvd.nist.gov/vuln/detail/CVE-2005-1043
access.redhat.com/errata/RHSA-2005:406
bugzilla.redhat.com/show_bug.cgi?id=153108
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_406.json