CVE-2015-7995: Medium severity iphone os vulnerability

Published Aug 28, 2015
·
Updated

A vulnerability in function xsltStylePreCompute" in preproc.c was found, the cause of which is a type confusion leading to DoS.

As reported in https://bugzilla.redhat.com/showbug.cgi?id=1257058 :

""" Through analysis we get to know that parent->ns->href in line 2250 of preproc.c is an invalid value with our poc. The whole process is as follow: 1> The main function in xsltproc.c will call xmlReadFile to read a .xml file. xmlReadFile will return a xmlDocPtr which points to the xmlDoc. When we print xmlDocPtr->children->parent->ns, its value is 0xffffffff. Obviously, this value is not a correct one. 2> Later in xsltStylePreCompute of preproc.c, the function will see whether current element is 'attribute', if yes,if inst->parent!=NULL and parent->ns!=NULL, then it will call xmlStrEqual, the first parameter is a ptr but its value is 0xffffffff! 3> We went further into libxml and see why this happened.The result is : in SAX2.c +2293 of libxml, we found that the first parameter "ctxt->myDoc" is a xmlDocPtr, but it will be teated as a xmlNodePtr. Obviously, xmlDoc and xmlNode have different structure. This is why "xmlDocPtr->children->parent->ns" get a invalid value(0xffffffff), this value comes from xmlDoc->compression. """

Other sources

The xsltStylePreCompute function in preproc.c in libxslt 1.1.28 does not check if the parent node is an element, which allows attackers to cause a denial of service via a crafted XML file, related to a "type confusion" issue.

MITRE

Affected Software

6 affected components
Google Android
Apple iPhone OS<=9.2
Apple iOS and macOS<=10.11.2
Apple tvOS<=9.1
Apple WatchOS<=2.1
Xmlsoft Libxslt<=1.1.28

Event History

Aug 28, 2015
Data Sourced
via Red Hat·01:56 PM
DescriptionSeverityAffected Software
Nov 17, 2015
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Jun 5, 2017
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-7995?

CVE-2015-7995 has been classified as a medium-severity vulnerability, primarily causing denial of service.

2

How do I fix CVE-2015-7995?

To fix CVE-2015-7995, update libxslt to version 1.1.29 or later if possible.

3

What software is affected by CVE-2015-7995?

CVE-2015-7995 affects libxslt versions up to and including 1.1.28, as well as various Apple and Android platforms.

4

Can CVE-2015-7995 be exploited remotely?

Yes, CVE-2015-7995 can be exploited remotely through a specially crafted XML file.

5

What is the impact of CVE-2015-7995?

The impact of CVE-2015-7995 includes potential denial of service due to an unhandled type confusion in the xsltStylePreCompute function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203