CVE-2007-5898 json
The (1) htmlentities and (2) htmlspecialchars functions in PHP before 5.2.5 accept partial multibyte sequences, which has unknown impact an…
published 2007-11-20 18 y ago modified 2026-06-16 4 mo ago also EUVD-2007-5868
- cvss
- 6.4
- 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 (1) htmlentities and (2) htmlspecialchars functions in PHP before 5.2.5 accept partial multibyte sequences, which has unknown impact and attack vectors, a different issue than CVE-2006-5465.
Patch / fix
- php RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-gd RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-cli RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-dba RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-pdo RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-xml RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-imap RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
- php-ldap RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.10
red hat advisories RHSA-2008:0582RHSA-2008:0546RHSA-2008:0545RHSA-2008:0544RHSA-2008:0505
- secunia.com/advisories/27648 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-2007-5898 updated
php htmlentities/htmlspecialchars multibyte sequences
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.10, php-gd 5.1.6-3.el4s1.10, php-cli 5.1.6-3.el4s1.10, php-dba 5.1.6-3.el4s1.10, php-pdo 5.1.6-3.el4s1.10, php-xml 5.1.6-3.el4s1.10, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.10, php-gd 5.1.6-3.el4s1.10, php-cli 5.1.6-3.el4s1.10, php-dba 5.1.6-3.el4s1.10, php-pdo 5.1.6-3.el4s1.10, php-xml 5.1.6-3.el4s1.10, +12 morefixed: vendor fix RHSA-2008:0582
-
Red Hat Desktop version 3 php 4.3.2-48.ent, php-imap 4.3.2-48.ent, php-ldap 4.3.2-48.ent, php-odbc 4.3.2-48.ent, php-mysql 4.3.2-48.ent, php-pgsql 4.3.2-48.ent Red Hat Enterprise Linux (v. 5 server) php 5.1.6-20.el5_2.1, php-gd 5.1.6-20.el5_2.1, php-cli 5.1.6-20.el5_2.1, php-dba 5.1.6-20.el5_2.1, php-pdo 5.1.6-20.el5_2.1, php-xml 5.1.6-20.el5_2.1, +12 morefixed: vendor fix RHSA-2008:0544
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.20, php-imap 4.1.2-2.20, php-ldap 4.1.2-2.20, php-odbc 4.1.2-2.20, php-mysql 4.1.2-2.20, php-pgsql 4.1.2-2.20, +1 morefixed: vendor fix RHSA-2008:0546
-
Red Hat Enterprise Linux AS version 3 php 4.3.2-48.ent, php-imap 4.3.2-48.ent, php-ldap 4.3.2-48.ent, php-odbc 4.3.2-48.ent, php-mysql 4.3.2-48.ent, php-pgsql 4.3.2-48.entfixed: vendor fix RHSA-2008:0544
-
Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.12, php-gd 4.3.9-3.22.12, php-imap 4.3.9-3.22.12, php-ldap 4.3.9-3.22.12, php-odbc 4.3.9-3.22.12, php-pear 4.3.9-3.22.12, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.12, php-gd 4.3.9-3.22.12, php-imap 4.3.9-3.22.12, php-ldap 4.3.9-3.22.12, php-odbc 4.3.9-3.22.12, php-pear 4.3.9-3.22.12, +7 morefixed: vendor fix RHSA-2008:0545
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-20.el5_2.1, php-gd 5.1.6-20.el5_2.1, php-cli 5.1.6-20.el5_2.1, php-dba 5.1.6-20.el5_2.1, php-pdo 5.1.6-20.el5_2.1, php-xml 5.1.6-20.el5_2.1, +12 morefixed: vendor fix RHSA-2008:0544
-
Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.20, php-imap 4.1.2-2.20, php-ldap 4.1.2-2.20, php-odbc 4.1.2-2.20, php-mysql 4.1.2-2.20, php-pgsql 4.1.2-2.20, +1 morefixed: vendor fix RHSA-2008:0546
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-48.ent, php-imap 4.3.2-48.ent, php-ldap 4.3.2-48.ent, php-odbc 4.3.2-48.ent, php-mysql 4.3.2-48.ent, php-pgsql 4.3.2-48.entfixed: vendor fix RHSA-2008:0544
show 5 moreshow fewer
-
Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.12, php-gd 4.3.9-3.22.12, php-imap 4.3.9-3.22.12, php-ldap 4.3.9-3.22.12, php-odbc 4.3.9-3.22.12, php-pear 4.3.9-3.22.12, +7 morefixed: vendor fix RHSA-2008:0545
-
Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.20, php-imap 4.1.2-2.20, php-ldap 4.1.2-2.20, php-odbc 4.1.2-2.20, php-mysql 4.1.2-2.20, php-pgsql 4.1.2-2.20, +1 morefixed: vendor fix RHSA-2008:0546
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-48.ent, php-imap 4.3.2-48.ent, php-ldap 4.3.2-48.ent, php-odbc 4.3.2-48.ent, php-mysql 4.3.2-48.ent, php-pgsql 4.3.2-48.entfixed: vendor fix RHSA-2008:0544
-
Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.12, php-gd 4.3.9-3.22.12, php-imap 4.3.9-3.22.12, php-ldap 4.3.9-3.22.12, php-odbc 4.3.9-3.22.12, php-pear 4.3.9-3.22.12, +7 morefixed: vendor fix RHSA-2008:0545
-
Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.20, php-imap 4.1.2-2.20, php-ldap 4.1.2-2.20, php-odbc 4.1.2-2.20, php-mysql 4.1.2-2.20, php-pgsql 4.1.2-2.20, +1 morefixed: vendor fix RHSA-2008:0546
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.79% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
- Technology feeds
References
-
secunia.com
/advisories/27648
third-party-advisory, patch, vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0546.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-June/msg00773.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2008-01/msg00006.html
vendor-advisory
-
debian.org
/security/2008/dsa-1444
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0582.html
vendor-advisory
-
ubuntu.com
/usn/usn-628-1
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0545.html
vendor-advisory
-
usn.ubuntu.com
/549-1/
vendor-advisory
-
securityfocus.com
/archive/1/491693/100/0/threaded
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0544.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:125
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0505.html
vendor-advisory
-
ubuntu.com
/usn/usn-549-2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:126
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:127
vendor-advisory
- php.net /ChangeLog-5.php#5.2.5
- launchpad.net /bugs/173043
- issues.rpath.com /browse/RPL-1943
-
secunia.com
/advisories/28658
third-party-advisory
-
secunia.com
/advisories/30828
third-party-advisory
-
secunia.com
/advisories/27864
third-party-advisory
-
securitytracker.com
/id?1018934
vdb-entry
-
secunia.com
/advisories/31124
third-party-advisory
-
secunia.com
/advisories/31119
third-party-advisory
-
secunia.com
/advisories/30040
third-party-advisory
- php.net /releases/5_2_5.php
-
secunia.com
/advisories/27659
third-party-advisory
-
secunia.com
/advisories/31200
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10080
vdb-entry, signature
-
secunia.com
/advisories/28249
third-party-advisory
- wiki.rpath.com /wiki/Advisories:rPSA-2007-0242
Sources
- CVE List CVE-2007-5898
- NVD CVE-2007-5898
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.