snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.yaml:snakeyaml | < 1.31 | 1.31 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38750
- https://bitbucket.org/snakeyaml/snakeyaml
- https://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47027
- https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html
- https://security.gentoo.org/glsa/202305-28
- https://security.netapp.com/advisory/ntap-20240315-0010
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-121, CWE-787- Platform
- Java / Kotlin (Maven)
- Package
org.yaml:snakeyaml- Disclosed
- 06.09.2022
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hhhw-99gj-p3c3 - CC BY 4.0
Vulnerability history: org.yaml:snakeyaml
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 06.2021 12.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 5
Disclosures per year
- 2021: 1
- 2022: 7
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.