The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.
https://support.apple.com/kb/HT6536
https://puppet.com/security/cve/cve-2013-6393
https://bugzilla.redhat.com/show_bug.cgi?id=1033990
https://bugzilla.redhat.com/attachment.cgi?id=847926&action=diff
https://bitbucket.org/xi/libyaml/commits/tag/0.1.5
http://www.ubuntu.com/usn/USN-2098-1
http://www.securityfocus.com/bid/65258
http://www.mandriva.com/security/advisories?name=MDVSA-2015:060
http://www.debian.org/security/2014/dsa-2870
http://www.debian.org/security/2014/dsa-2850
http://rhn.redhat.com/errata/RHSA-2014-0355.html
http://rhn.redhat.com/errata/RHSA-2014-0354.html
http://rhn.redhat.com/errata/RHSA-2014-0353.html
http://lists.opensuse.org/opensuse-updates/2016-04/msg00050.html
http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html
http://lists.opensuse.org/opensuse-updates/2014-02/msg00065.html
http://lists.opensuse.org/opensuse-updates/2014-02/msg00064.html