Description
The Scanner::EnsureTokensInQueue function in yaml-cpp (aka LibYaml-C++) 0.6.2 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 15 SP3 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2022:1073-1 |
| SLES 15 SP2 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2023:1740-3 |
| SLES 12 SP5 | yaml-cpp | 0.5.3-3.6.3 | SUSE-SU-2022:1072-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2023:1740-3 |
| SLE Real Time 15 SP2 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2022:1073-1 |
| SLE Micro 5.2 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2022:1073-2 |
| SLE Micro 5.1 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2022:1073-1 |
| SLE Micro 5.0 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2022:1073-1 |
| SLE HPC 15 SP2 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2023:1740-3 |
| SUSE Linux Enterprise Installer Updates 15 SP2 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2022:1073-1 |
| SUSE Enterprise Storage 7 | yaml-cpp | 0.6.1-4.5.1 | SUSE-SU-2023:1740-3 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | yaml-cpp | 0.6.1-4.5.1 | openSUSE-SU-2022:1073-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | yaml-cpp | 0.6.2-6 | — |
Advisories 6
- SUSE-SU-2022:1073-1 Security update for yaml-cpp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1072-1 Security update for yaml-cpp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1073-2 Security update for yaml-cpp SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:1073-1 Security update for yaml-cpp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1740-3 Security update for yaml-cpp SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2022-0602 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 17, 2024