Description
scanner.c in LibYAML 0.1.5 and 0.1.6, as used in the YAML-LibYAML (aka YAML-XS) module for Perl, allows context-dependent attackers to cause a denial of service (assertion failure and crash) via vectors involving line-wrapping.
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.6-3 | — |
| Debian 14 | libyaml-libyaml-perl | 0.41-6 | — |
| Debian 14 | pyyaml | 3.11-2 | — |
| Debian 13 | libyaml | 0.1.6-3 | — |
| Debian 13 | libyaml-libyaml-perl | 0.41-6 | — |
| Debian 13 | pyyaml | 3.11-2 | — |
| Debian 12 | libyaml | 0.1.6-3 | — |
| Debian 12 | libyaml-libyaml-perl | 0.41-6 | — |
| Debian 12 | pyyaml | 3.11-2 | — |
| Debian 7 | libyaml | 0.1.4-2+deb7u5 | DSA-3102-1 |
| Debian 7 | libyaml-libyaml-perl | 0.38-3+deb7u3 | DSA-3103-1 |
| Debian 7 | pyyaml | 3.10-4+deb7u1 | DSA-3115-1 |
| Debian 6.0 | libyaml | 0.1.3-1+deb6u5 | DLA-110-1 |
| Debian 6.0 | libyaml-libyaml-perl | 0.33-1+squeeze4 | DLA-109-1 |
| Debian 6.0 | pyyaml | 3.09-5+deb6u1 | DLA-127-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libyaml | 0.1.4-3ubuntu3.1 | USN-2461-1 |
| Ubuntu 14.04 LTS | libyaml-libyaml-perl | 0.41-5ubuntu0.14.04.1 | USN-2461-2 |
| Ubuntu 14.04 LTS | pyyaml | 3.10-4ubuntu0.1 | USN-2461-3 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | libyaml +1 | 0.1.4-11.el7_0 | RHSA-2015:0100 |
| RHEL 6 | libyaml +1 | 0.1.3-4.el6_6 | RHSA-2015:0100 |
| RHEL 1 | libyaml +1 | 0.1.3-4.el6_6 | RHSA-2015:0112 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 5 | libyaml +1 | 0.1.3-4.el6_6 | RHSA-2015:0260 |
| Red Hat OpenStack 4 | libyaml +1 | 0.1.3-4.el6_6 | RHSA-2015:0260 |
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 |
| SLES 12 | python-PyYAML | 3.10-15.1 | SUSE-SU-2015:0925-1 |
Show 3 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 |
| SUSE Enterprise Storage 1.0 | python-PyYAML | 3.10-15.1 | SUSE-SU-2015:0925-2 |
| SUSE Cloud Compute Node for SUSE Linux Enterprise 12 | python-PyYAML | 3.10-15.1 | SUSE-SU-2015:0925-2 |
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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.4 | yaml | 0.1.6-r1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | libyaml +1 | 0.1.4-11.el7_0 | ELSA-2015-0100 |
Advisories 20
- RHSA-2015:0260 Red Hat Security Advisory: libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:0112 Red Hat Security Advisory: libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:0100 Red Hat Security Advisory: libyaml security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2461-1 libyaml vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3103-1 libyaml-libyaml-perl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3115-1 pyyaml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3102-1 libyaml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-127-1 pyyaml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-109-1 libyaml-libyaml-perl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-110-1 libyaml - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2461-2 libyaml-libyaml-perl vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2461-3 pyyaml vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:0925-1 Security update for python-PyYAML SUSE / openSUSE Security Updates · Feb 4, 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:0925-2 Security update for python-PyYAML 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
- WID-SEC-2025-0271 libyaml: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Feb 4, 2025
- ELSA-2015-0100 Moderate: libyaml security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 28, 2015
References
- 62705 third-party-advisory
- https://bitbucket.org/xi/libyaml/commits/2b9156756423e967cfd09a61d125d883fca6f4f2
- 71349 vdb-entry
- DSA-3102 vendor-advisory
- 62174 third-party-advisory
- RHSA-2015:0112 vendor-advisory
- [oss-security] 20141128 libyaml / YAML-LibYAML DoS mailing-list
- MDVSA-2015:060 vendor-advisory
- USN-2461-3 vendor-advisory
- DSA-3115 vendor-advisory
- openSUSE-SU-2015:0319 vendor-advisory
- [oss-security] 20141129 Re: Re: libyaml / YAML-LibYAML DoS mailing-list
- 62774 third-party-advisory
- [oss-security] 20141128 Re: libyaml / YAML-LibYAML DoS mailing-list
- RHSA-2015:0260 vendor-advisory
- 62723 third-party-advisory
- USN-2461-1 vendor-advisory
- https://puppet.com/security/cve/cve-2014-9130
- USN-2461-2 vendor-advisory
- 62176 third-party-advisory
- https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure
- MDVSA-2014:242 vendor-advisory
- DSA-3103 vendor-advisory
- 60944 third-party-advisory
- openSUSE-SU-2016:1067 vendor-advisory
- 62164 third-party-advisory
- libyaml-cve20149130-dos(99047) vdb-entry
- RHSA-2015:0100 vendor-advisory
- http://linux.oracle.com/errata/ELSA-2015-0100.html
- 59947 third-party-advisory
- http://advisories.mageia.org/MGASA-2014-0508.html