CVE Vulnerabilities

CVE-2016-1836

Use After Free

Published: May 20, 2016 | Modified: Apr 12, 2025
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
4.3 MODERATE
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Use-after-free vulnerability in the xmlDictComputeFastKey function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows remote attackers to cause a denial of service via a crafted XML document.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
Ubuntu_linuxCanonical12.04 (including)12.04 (including)
Ubuntu_linuxCanonical14.04 (including)14.04 (including)
Ubuntu_linuxCanonical15.10 (including)15.10 (including)
Ubuntu_linuxCanonical16.04 (including)16.04 (including)
Red Hat Enterprise Linux 6RedHatlibxml2-0:2.7.6-21.el6_8.1*
Red Hat Enterprise Linux 7RedHatlibxml2-0:2.9.1-6.el7_2.3*
Text-Only JBCSRedHat*
Libxml2Ubuntuesm-infra-legacy/trusty*
Libxml2Ubuntuesm-infra/xenial*
Libxml2Ubuntutrusty*
Libxml2Ubuntutrusty/esm*
Libxml2Ubuntuupstream*
Libxml2Ubuntuvivid/stable-phone-overlay*
Libxml2Ubuntuwily*
Libxml2Ubuntuxenial*

Potential Mitigations

References