A off-by-one error in libxml2 could result in execution of arbitrary code or Denial of Service.
|Package||dev-libs/libxml2 on all architectures|
|Affected versions||< 2.8.0_rc1|
|Unaffected versions||>= 2.8.0_rc1|
libxml2 is the XML C parser and toolkit developed for the Gnome project.
The "xmlXPtrEvalXPtrPart()" function in xpointer.c contains an off-by-one error.
A remote attacker could entice a user or automated system to open a specially crafted XML document with an application using libxml2, possibly resulting in execution of arbitrary code or a Denial of Service condition.
There is no known workaround at this time.
All libxml2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-libs/libxml2-2.8.0_rc1"
July 09, 2012
July 09, 2012: 1