CVE-2010-4657 json
PHP5 before 5.4.4 allows passing invalid utf-8 strings via the xmlTextWriterWriteAttribute, which are then misparsed by libxml2.
published 2019-11-13 6 y ago modified 2026-06-16 4 mo ago also EUVD-2010-4622
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
PHP5 before 5.4.4 allows passing invalid utf-8 strings via the xmlTextWriterWriteAttribute, which are then misparsed by libxml2. This results in memory leak into the resulting output.
Patch / fix
- php php 5.4.4
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-2010-4657 updated cvss 4.3
php: XMLWriter information leak
-
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 4 phpnot affected: vulnerable code not present
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
1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected products
- php5 php5
Classification
- Weakness
-
- CWE-772 Missing Release of Resource after Effective Lifetime
- Technology feeds
References
-
security-tracker.debian.org
/tracker/CVE-2010-4657
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2010-4657
issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/cve-2010-4657
third-party-advisory
-
bugs.launchpad.net
/php/%2Bbug/655442
third-party-advisory
Sources
- CVE List CVE-2010-4657
- NVD CVE-2010-4657
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.