Home / Pyyaml / Libyaml / CVE-2013-6393
CVE-2013-6393: is it exploited, and which versions of Pyyaml Libyaml are affected and fixed?
CVE-2013-6393 is a memory corruption (buffer overflow) vulnerability in Pyyaml Libyaml. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: libyaml before 0.2.3 (GitHub advisory GHSA-m75h-cghq-c8h5). Fixed in 0.2.3 (GitHub advisory GHSA-m75h-cghq-c8h5). Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2013-6393?
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.
From the CVE record by redhat, last updated August 6, 2024, 17:39 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | libyaml | < 0.2.3 | 0.2.3 | GHSA-m75h-cghq-c8h5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 23, 2021. Summary: Heap Based Buffer Overflow in libyaml.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pyyaml | libyaml | through 0.1.4 | application |
| pyyaml | libyaml | 0.0.1 | application |
| pyyaml | libyaml | 0.1.1 | application |
| pyyaml | libyaml | 0.1.2 | application |
| pyyaml | libyaml | 0.1.3 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 12.10 | operating system |
| canonical | ubuntu linux | 13.10 | operating system |
| redhat | openstack | 3.0 | application |
| redhat | openstack | 4.0 | application |
| debian | debian linux | 6.0 | operating system |
| debian | debian linux | 7.0 | operating system |
| opensuse | leap | 42.1 | operating system |
| opensuse | opensuse | 11.4 | operating system |
| opensuse | opensuse | 13.1 | operating system |
| opensuse | opensuse | 13.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:00 UTC.
How severe is CVE-2013-6393?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-6393 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.39% probability of exploitation activity in the next 30 days, percentile 94.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- openSUSE-SU-2014:0273 vendor-advisory, x_refsource_SUSE
- DSA-2870 vendor-advisory, x_refsource_DEBIAN
- APPLE-SA-2014-10-16-3 vendor-advisory, x_refsource_APPLE
- https://bugzilla.redhat.com/show_bug.cgi?id=1033990 x_refsource_CONFIRM
- APPLE-SA-2014-04-22-1 vendor-advisory, x_refsource_APPLE
- 102716 vdb-entry, x_refsource_OSVDB
- https://bugzilla.redhat.com/attachment.cgi?id=847926&action=diff x_refsource_MISC
- MDVSA-2015:060 vendor-advisory, x_refsource_MANDRIVA
- 65258 vdb-entry, x_refsource_BID
- http://advisories.mageia.org/MGASA-2014-0040.html x_refsource_CONFIRM
- openSUSE-SU-2015:0319 vendor-advisory, x_refsource_SUSE
- RHSA-2014:0355 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2014:0272 vendor-advisory, x_refsource_SUSE
- RHSA-2014:0354 vendor-advisory, x_refsource_REDHAT
- https://support.apple.com/kb/HT6536 x_refsource_CONFIRM
- openSUSE-SU-2016:1067 vendor-advisory, x_refsource_SUSE
- DSA-2850 vendor-advisory, x_refsource_DEBIAN
- RHSA-2014:0353 vendor-advisory, x_refsource_REDHAT
- https://bitbucket.org/xi/libyaml/commits/tag/0.1.5 x_refsource_CONFIRM
- https://puppet.com/security/cve/cve-2013-6393 x_refsource_CONFIRM
- USN-2098-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- November 4, 2013
- Published
- February 6, 2014, 22:00 UTC
- CVE record updated
- August 6, 2024, 17:39 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:00 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libyaml?
- Dec 8, 2014CVE-2014-9130 Pyyaml Libyaml: improper input validation
- Mar 28, 2014CVE-2014-2525 Pyyaml Libyaml: memory corruption (buffer overflow)
Questions about CVE-2013-6393
Is CVE-2013-6393 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 7.39% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pyyaml Libyaml are affected by CVE-2013-6393?
libyaml before 0.2.3, per the GitHub advisory GHSA-m75h-cghq-c8h5. The tables above give every range the sources list.
Which version fixes CVE-2013-6393?
0.2.3, per the GitHub advisory GHSA-m75h-cghq-c8h5. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-6393?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-6393?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.