CVE-2015-5312Canonical Ubuntu Linux
High 7.1 No auth needed
Follow: this CVE · Canonical · Canonical Ubuntu Linux We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 2.0
- 7.1
- EPSS
- 4.5% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Dec 15, 2015
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-399
- Vector
AV:N/AC:M/Au:N/C:N/I:N/A:C
What happens
The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted XML data, a different vulnerability than CVE-2014-3660.
What to do
- Apply the vendor's security update for Ubuntu Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | nokogiri |
≥ 1.6.0 < 1.6.7.1 |
1.6.7.1 |
gem "nokogiri", ">= 1.6.7.1" |
Per OSV / GitHub Advisories (GHSA-xjqg-9jvg-fgx2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 15.04 |
| canonical | ubuntu_linux | 15.10 |
| redhat | enterprise_linux_desktop | 6.0 |
| redhat | enterprise_linux_hpc_node | 6.0 |
| redhat | enterprise_linux_server | 6.0 |
| redhat | enterprise_linux_workstation | 6.0 |
| apple | iphone_os | ≤ 9.2.1 |
| apple | mac_os_x | ≤ 10.11.3 |
| apple | tvos | ≤ 9.1 |
| apple | watchos | ≤ 2.1 |
| xmlsoft | libxml2 | ≤ 2.9.2 |
| hp | icewall_federation_agent | 3.0 |
| hp | icewall_file_manager | 3.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
Official advisories
- ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media · SUSE · openSUSE-SU-2026:10356-1 · Mar 13, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com
- lists.apple.com
- lists.apple.com Third Party Advisory
- lists.apple.com Mailing List
- lists.opensuse.org
- lists.opensuse.org
- marc.info Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com
- www.debian.org Third Party Advisory
- www.oracle.com
- www.oracle.com
- www.securityfocus.com
- www.securitytracker.com
- www.ubuntu.com Third Party Advisory
- xmlsoft.org Vendor Advisory
- bugzilla.redhat.com Issue Tracking
- git.gnome.org
- h20566.www2.hpe.com Third Party Advisory
- security.gentoo.org
- support.apple.com Vendor Advisory
- support.apple.com Vendor Advisory
- support.apple.com Vendor Advisory
- support.apple.com Vendor Advisory