Multiple heap-based buffer overflows in the XML manifest encryption tag parsing functionality in OpenOffice.org and LibreOffice before 3.5.5 allow remote attackers to cause a denial of service and possibly execute arbitrary code via a crafted Open Document Text (.odt) file with (1) a child tag within an incorrect parent tag, (2) duplicate tags, or (3) a Base64 ChecksumAttribute whose length is not evenly divisible by four.
https://bugzilla.redhat.com/show_bug.cgi?id=826077
http://www.ubuntu.com/usn/USN-1537-1
http://www.ubuntu.com/usn/USN-1536-1
http://www.pre-cert.de/advisories/PRE-SA-2012-05.txt
http://www.libreoffice.org/about-us/security/advisories/cve-2012-2665/
http://www.gentoo.org/security/en/glsa/glsa-201408-19.xml
http://www.debian.org/security/2012/dsa-2520