FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

libxml2 -- An off-by-one out-of-bounds write by XPointer

Affected packages
libxml2 < 2.7.8_3
linux-f10-libxml2 < 2.7.8_3


VuXML ID b8ae4659-a0da-11e1-a294-bcaec565249c
Discovery 2012-05-15
Entry 2012-05-18
Modified 2014-04-30

Google chrome team reports:

An off-by-one out-of-bounds write flaw was found in the way libxml, a library for providing XML and HTML support, evaluated certain XPointer parts (XPointer is used by libxml to include only the part from the returned XML document, that can be accessed using the XPath expression given with the XPointer). A remote attacker could provide a specially-crafted XML file, which once opened in an application, linked against libxml, would lead to that application crash, or, potentially arbitrary code execution with the privileges of the user running the application.

Note: The flaw to be exploited requires the particular application, linked against libxml, to use the XPointer evaluation functionality.


CVE Name CVE-2011-3202