CVE-2022-38751
MEDIUM 6.5CVSS 3.1snakeYAML 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.
- Published
- 5 Sep 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-121CWE-787
- Also known as
- GHSA-98wm-3w3q-mw94
- Sources
- NVDJSONOSV GHSA-98wm-3w3q-mw94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | snakeyaml_project | snakeyamlcpe:2.3:a:snakeyaml_project:snakeyaml:*:*:*:*:*:*:*:* |
< 1.31 | 1.31 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | Maven | org.yaml:snakeyaml | < 1.31 | 1.31 |
References
- https://bitbucket.org/snakeyaml/snakeyaml/issues/530/stackoverflow-oss-fuzz-47039 · Third Party Advisory, WEB
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47039 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html · Mailing List, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202305-28 · WEB
- https://security.netapp.com/advisory/ntap-20240315-0010/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-38751 · ADVISORY
- https://bitbucket.org/snakeyaml/snakeyaml · PACKAGE
- https://bitbucket.org/snakeyaml/snakeyaml/src/master/src/test/java/org/yaml/snakeyaml/issues/issue530/Fuzzy47039Test.java · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 5 Sep 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Sep 2022)