Description
Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libyaml | 0.1.4-3.2 | — |
| Debian 14 | libyaml-libyaml-perl | 0.41-5 | — |
| Debian 13 | libyaml | 0.1.4-3.2 | — |
| Debian 13 | libyaml-libyaml-perl | 0.41-5 | — |
| Debian 12 | libyaml | 0.1.4-3.2 | — |
| Debian 12 | libyaml-libyaml-perl | 0.41-5 | — |
| Debian 7 | libyaml | 0.1.4-2+deb7u4 | DSA-2884-1 |
| Debian 7 | libyaml-libyaml-perl | 0.38-3+deb7u2 | DSA-2885-1 |
| Debian 6.0 | libyaml | 0.1.3-1+deb6u4 | DSA-2884-1 |
| Debian 6.0 | libyaml-libyaml-perl | 0.33-1+squeeze3 | DSA-2885-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 1 | ruby193-libyaml +1 | 0.1.4-5.1.el6 | RHSA-2014:0355 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Common 6 | libyaml +1 | 0.1.3-1.4.el6 | RHSA-2014:0415 |
| Red Hat OpenStack 4 | libyaml +1 | 0.1.3-1.4.el6 | RHSA-2014:0354 |
| Red Hat OpenStack 3 | libyaml +1 | 0.1.3-1.4.el6 | RHSA-2014:0353 |
| Red Hat OpenStack 3 | ruby193-libyaml +1 | 0.1.4-5.1.el6 | RHSA-2014:0364 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | perl-YAML-LibYAML | 0.38-10.1 | SUSE-SU-2015:0953-2, SUSE-SU-2015:0953-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | perl-YAML-LibYAML | 0.38-10.1 | SUSE-SU-2015:0953-2, SUSE-SU-2015:0953-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libyaml | 0.1.6-4.8 | openSUSE-SU-2024:10029-1 |
| openSUSE Tumbleweed | perl-YAML-LibYAML | 0.59-2.11 | openSUSE-SU-2024:10520-1 |
Advisories 11
- RHSA-2014:0415 Red Hat Security Advisory: libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0364 Red Hat Security Advisory: ruby193-libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0354 Red Hat Security Advisory: libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0355 Red Hat Security Advisory: ruby193-libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0353 Red Hat Security Advisory: libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-2885-1 libyaml-libyaml-perl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2884-1 libyaml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10029-1 libyaml-0-2-0.1.6-4.8 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:0953-1 Security update for perl-YAML-LibYAML SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10520-1 perl-YAML-LibYAML-0.59-2.11 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:0953-2 Security update for perl-YAML-LibYAML SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 66478 vdb-entry
- 57836 third-party-advisory
- https://puppet.com/security/cve/cve-2014-2525
- MDVSA-2015:060 vendor-advisory
- http://www.ocert.org/advisories/ocert-2014-003.html
- DSA-2885 vendor-advisory
- USN-2160-1 vendor-advisory
- openSUSE-SU-2015:0319 vendor-advisory
- RHSA-2014:0355 vendor-advisory
- DSA-2884 vendor-advisory
- RHSA-2014:0354 vendor-advisory
- http://www.getchef.com/blog/2014/04/09/chef-server-11-0-12-release/
- https://bitbucket.org/xi/libyaml/commits/bce8b60f0b9af69fa9fab3093d0a41ba243de048
- http://advisories.mageia.org/MGASA-2014-0150.html
- openSUSE-SU-2014:0500 vendor-advisory
- http://support.apple.com/kb/HT6443
- openSUSE-SU-2016:1067 vendor-advisory
- RHSA-2014:0353 vendor-advisory
- 57968 third-party-advisory
- http://www.getchef.com/blog/2014/04/09/enterprise-chef-11-1-3-release/
- http://www.getchef.com/blog/2014/04/09/enterprise-chef-1-4-9-release/
- 57966 third-party-advisory