CVE-2013-6393
MEDIUM 6.8CVSS 2.0Heap Based Buffer Overflow in libyaml
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.
- Published
- 6 Feb 2014
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-m75h-cghq-c8h5
- Sources
- NVDJSONOSV GHSA-m75h-cghq-c8h5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyyaml | libyamlcpe:2.3:a:pyyaml:libyaml:*:*:*:*:*:*:*:* |
<= 0.1.4 | |
| NVD | pyyaml | libyamlcpe:2.3:a:pyyaml:libyaml:0.0.1:*:*:*:*:*:*:* |
= 0.0.1 | |
| NVD | pyyaml | libyamlcpe:2.3:a:pyyaml:libyaml:0.1.1:*:*:*:*:*:*:* |
= 0.1.1 | |
| NVD | pyyaml | libyamlcpe:2.3:a:pyyaml:libyaml:0.1.2:*:*:*:*:*:*:* |
= 0.1.2 | |
| NVD | pyyaml | libyamlcpe:2.3:a:pyyaml:libyaml:0.1.3:*:*:*:*:*:*:* |
= 0.1.3 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* |
= 12.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:13.10:*:*:*:*:*:*:* |
= 13.10 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* |
= 42.1 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* |
= 11.4 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* |
= 13.1 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* |
= 13.2 | |
| OSV | npm | libyaml | < 0.2.3 | 0.2.3 |
References
- http://advisories.mageia.org/MGASA-2014-0040.html · Third Party Advisory, WEB
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html · Broken Link, WEB
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html · Broken Link, WEB
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00064.html · Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00065.html · Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html · Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00050.html · Third Party Advisory, WEB
- http://osvdb.org/102716
- http://rhn.redhat.com/errata/RHSA-2014-0353.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-0354.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2014-0355.html · Third Party Advisory, WEB
- http://www.debian.org/security/2014/dsa-2850 · Third Party Advisory, WEB
- http://www.debian.org/security/2014/dsa-2870 · Third Party Advisory, WEB
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:060 · Third Party Advisory
- http://www.securityfocus.com/bid/65258 · Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-2098-1 · Third Party Advisory, WEB
- https://bitbucket.org/xi/libyaml/commits/tag/0.1.5 · Issue Tracking, WEB
- https://bugzilla.redhat.com/attachment.cgi?id=847926&action=diff · Issue Tracking, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1033990 · Issue Tracking, Patch, WEB
- https://puppet.com/security/cve/cve-2013-6393 · WEB
- https://support.apple.com/kb/HT6536 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-6393 · ADVISORY
- https://bitbucket.org/xi/libyaml · PACKAGE
- https://bitbucket.org/xi/libyaml/commits/bce8b60f0b9af69fa9fab3093d0a41ba243de048 · WEB
- https://web.archive.org/web/20140302205713/http://www.securityfocus.com/bid/65258 · WEB
- https://web.archive.org/web/20150523055002/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:060/?name=MDVSA-2015:060 · WEB
- https://www.npmjs.com/advisories/21 · WEB
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=2013-6393 · WEB
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 6 Feb 2014)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Aug 2020)