Live threats

All CVEs / Pyyaml

CVE-2013-6393Pyyaml Libyaml

Medium 6.8 No auth needed

Priority
57
CVSS 2.0
6.8
EPSS
7.4%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Feb 6, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libyaml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm libyaml < 0.2.3 0.2.3 npm install libyaml@0.2.3

Per OSV / GitHub Advisories (GHSA-m75h-cghq-c8h5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyyamllibyaml≤ 0.1.4
pyyamllibyaml0.0.1
pyyamllibyaml0.1.1
pyyamllibyaml0.1.2
pyyamllibyaml0.1.3
canonicalubuntu_linux12.04
canonicalubuntu_linux12.10
canonicalubuntu_linux13.10
redhatopenstack3.0
redhatopenstack4.0
debiandebian_linux6.0
debiandebian_linux7.0
opensuseleap42.1
opensuseopensuse11.4
opensuseopensuse13.1
opensuseopensuse13.2

Official sources

References

Links published by the sources. Open them with care.