CVE-2016-1836 - Use After Free

Severity

43%

Complexity

86%

Confidentiality

48%

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.

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.

CVSS 3.0 Base Score 5.5. CVSS Attack Vector: local. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

CVSS 2.0 Base Score 4.3. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:N/A:P).

Demo Examples

Use After Free

CWE-416

The following example demonstrates the weakness.


               
}
free(buf3R2);

Use After Free

CWE-416

The following code illustrates a use after free error:


               
}
free(ptr);
logError("operation aborted before commit", ptr);

When an error occurs, the pointer is immediately freed. However, this pointer is later incorrectly used in the logError function.

Overview

First reported 8 years ago

2016-05-20 10:59:00

Last updated 5 years ago

2019-03-25 17:25:00

Affected Software

Canonical Ubuntu Linux 12.04 LTS

12.04

Canonical Ubuntu Linux 14.04 LTS (Long-Term Support)

14.04

Canonical Ubuntu Linux 15.10

15.10

Canonical Ubuntu Linux 16.04 LTS (Long-Term Support)

16.04

Debian Linux 8.0 (Jessie)

8.0

Apple Mac OS X

Red Hat Enterprise Linux Desktop 6.0

6.0

RedHat Enterprise Linux Desktop 7.0

7.0

Red Hat Enterprise Linux Server 6.0

6.0

RedHat Enterprise Linux Server 7.0

7.0

Red Hat Enterprise Linux Server AUS 7.2

7.2

Red Hat Enterprise Linux Advanced mission critical Update Support (AUS) 7.3

7.3

Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) 7.4

7.4

Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) 7.6

7.6

Red Hat Enterprise Linux Server EUS 7.2

7.2

Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.3

7.3

Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.4

7.4

Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.5

7.5

Red Hat Enterprise Linux Server Extended Update Support (EUS) 7.6

7.6

Red Hat Enterprise Linux Server Telecommunications Update Service (TUS) 7.6

7.6

Red Hat Enterprise Linux Workstation 6.0

6.0

RedHat Enterprise Linux Workstation 7.0

7.0

XMLSoft Libxml2

References

APPLE-SA-2016-07-18-1

Mailing List, Vendor Advisory

APPLE-SA-2016-07-18-2

Mailing List, Vendor Advisory

APPLE-SA-2016-07-18-3

Mailing List, Vendor Advisory

APPLE-SA-2016-07-18-4

Mailing List, Not Applicable, Vendor Advisory

APPLE-SA-2016-07-18-6

Mailing List, Vendor Advisory

APPLE-SA-2016-05-16-1

Mailing List, Vendor Advisory

APPLE-SA-2016-05-16-2

Mailing List, Vendor Advisory

APPLE-SA-2016-05-16-3

Mailing List, Vendor Advisory

APPLE-SA-2016-05-16-4

Mailing List, Vendor Advisory

RHSA-2016:2957

Third Party Advisory

http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html

Third Party Advisory

http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html

Third Party Advisory

http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html

Third Party Advisory

90691

Third Party Advisory, VDB Entry

1035890

Third Party Advisory, VDB Entry

USN-2994-1

Third Party Advisory

http://xmlsoft.org/news.html

Release Notes, Vendor Advisory

RHSA-2016:1292

Third Party Advisory

https://bugzilla.gnome.org/show_bug.cgi?id=759398

Permissions Required, Third Party Advisory

https://git.gnome.org/browse/libxml2/commit/?id=45752d2c334b50016666d8f0ec3691e2d680f0a0

Patch, Third Party Advisory

https://kc.mcafee.com/corporate/index?page=content&id=SB10170

Patch, Third Party Advisory

GLSA-201701-37

Third Party Advisory

https://support.apple.com/HT206564

Vendor Advisory

https://support.apple.com/HT206566

Vendor Advisory

https://support.apple.com/HT206567

Vendor Advisory

https://support.apple.com/HT206568

Vendor Advisory

https://support.apple.com/HT206899

Vendor Advisory

https://support.apple.com/HT206901

Vendor Advisory

https://support.apple.com/HT206902

Vendor Advisory

https://support.apple.com/HT206903

Vendor Advisory

https://support.apple.com/HT206904

Vendor Advisory

https://support.apple.com/HT206905

Vendor Advisory

DSA-3593

Third Party Advisory

https://www.tenable.com/security/tns-2016-18

Third Party Advisory

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.