---
title: "CVE-2013-6393\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2013-6393?format=md
keywords: index, follow
---

# CVE-2013-6393

Publication date 27 January 2014

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2013-6393?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libyaml | 13.10 saucy | Fixed 0.1.4-2ubuntu0.13.10.1 |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Fixed 0.1.4-2ubuntu0.12.10.1 |
| 12.04 LTS precise | Fixed 0.1.4-2ubuntu0.12.04.1 |
| 10.04 LTS lucid | Ignored end of life |
| libyaml-libyaml-perl | 13.10 saucy | Fixed 0.38-3ubuntu0.13.10.1 |
| 12.10 quantal | Fixed 0.38-3ubuntu0.12.10.1 |
| 12.04 LTS precise | Fixed 0.38-2ubuntu0.1 |
| 10.04 LTS lucid | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-6393?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

regression was introduced in USN-2098-1
redhat created three patches:
libyaml-string-overflow.patch is upstream
1d73f004f49e6962cf936da98aecf0aec95c4c50
libyaml-node-id-hardening.patch seems to have been done
differently upstream in b77d42277c32b58a114a0fa0968038a4b0ab24f4
libyaml-indent-column-overflow-v2.patch was done differently
upstream in f859ed1eb757a3562b98a28a8ce69274bfd4b3f2 and
af3599437a87162554787c52d8b16eab553f537b

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libyaml | * Upstream:   <https://bitbucket.org/xi/libyaml/commits/1d73f004f49e6962cf936da98aecf0aec95c4c50> * Upstream:   <https://bitbucket.org/xi/libyaml/commits/b77d42277c32b58a114a0fa0968038a4b0ab24f4> * Upstream:   <https://bitbucket.org/xi/libyaml/commits/f859ed1eb757a3562b98a28a8ce69274bfd4b3f2> * Upstream:   <https://bitbucket.org/xi/libyaml/commits/0df2fb962294f3a6df1450a3e08c6a0f74f9078c> * Upstream:   <https://bitbucket.org/xi/libyaml/commits/af3599437a87162554787c52d8b16eab553f537b> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6393)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-6393)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-6393)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-6393)

### Related Ubuntu Security Notices (USN)

+ [USN-2161-1](https://usn.ubuntu.com/USN-2161-1)
+ libyaml-libyaml-perl vulnerabilities
+ 3 April 2014

+ [USN-2098-1](https://usn.ubuntu.com/USN-2098-1)
+ LibYAML vulnerability
+ 4 February 2014

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2013-6393>
