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.
2014-02-06T22:55:03.217
2025-04-11T00:51:21.963
Deferred
CVSSv2: 6.8 (MEDIUM)
AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | pyyaml | libyaml | ≤ 0.1.4 | Yes |
| Application | pyyaml | libyaml | 0.0.1 | Yes |
| Application | pyyaml | libyaml | 0.1.1 | Yes |
| Application | pyyaml | libyaml | 0.1.2 | Yes |
| Application | pyyaml | libyaml | 0.1.3 | Yes |
| Operating System | canonical | ubuntu_linux | 12.04 | Yes |
| Operating System | canonical | ubuntu_linux | 12.10 | Yes |
| Operating System | canonical | ubuntu_linux | 13.10 | Yes |
| Application | redhat | openstack | 3.0 | Yes |
| Application | redhat | openstack | 4.0 | Yes |
| Operating System | debian | debian_linux | 6.0 | Yes |
| Operating System | debian | debian_linux | 7.0 | Yes |
| Operating System | opensuse | leap | 42.1 | Yes |
| Operating System | opensuse | opensuse | 11.4 | Yes |
| Operating System | opensuse | opensuse | 13.1 | Yes |
| Operating System | opensuse | opensuse | 13.2 | Yes |