---
title: "CVE-2010-4657\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2010-4657?format=md
keywords: index, follow
---

# CVE-2010-4657

Publication date 13 November 2019

Last updated 25 August 2025

---

Ubuntu priority

**Negligible**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2010-4657?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2010-4657?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 16.04 LTS xenial | Not in release |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not affected |
| 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Ignored |
| 11.10 oneiric | Ignored end of life |
| 11.04 natty | Ignored end of life |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

per Debian, This was initially reported to be a bug in libxml2, but
it later showed that PHP

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

can't reproduce on quantal+
The reproducer only displays garbage if the suhosin patch is
applied, which is why it doesn't appear to work on quantal+
Need to check if libxml2 still walks past the end of the string
if the suhosin patch isn't applied.
we will not be fixing this issue

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4657)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2010-4657)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2010-4657)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2010-4657)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2010-4657>
