Description
The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted 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 | yaml-cpp | 0.6.3-1 | — |
| Debian 13 | yaml-cpp | 0.6.3-1 | — |
| Debian 12 | yaml-cpp | 0.6.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | yaml-cpp | No fix yet | — |
| Ubuntu 18.04 LTS | yaml-cpp +1 | No fix yet | — |
| Ubuntu 16.04 LTS | yaml-cpp +1 | No fix yet | — |
| Ubuntu 14.04 LTS | yaml-cpp | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | yaml-cpp | 0.5.3-3.3.2 | SUSE-SU-2018:0631-1 |
| SLES 12 SP2 | yaml-cpp | 0.5.3-3.3.2 | SUSE-SU-2018:0631-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | yaml-cpp | 0.6.3-1.8 | openSUSE-SU-2024:11529-1 |
Advisories 2
- openSUSE-SU-2024:11529-1 libyaml-cpp0_6-0.6.3-1.8 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0631-1 Security update for yaml-cpp SUSE / openSUSE Security Updates · Feb 4, 2026