# CVE-2022-41854: Stack Overflow in Snakeyaml

- Severity: Medium 5.8 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.88%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-11T13:10:10.912Z
- Modified: 2026-09-10T03:50:07.647Z
- Also known as: GHSA-w37g-rhq8-7m4j
- Weaknesses: CWE-121, CWE-787
- Assigned by: Google

## Description

Those 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 stack overflow. This effect may support a denial of service attack.

(As written by CVE List.)

## Affected

- SnakeYaml SnakeYaml: from unspecified before 1.32
- org.yaml:snakeyaml (Maven): before 1.32
- snakeyaml_project snakeyaml: before 1.32
- fedoraproject fedora: 36; 37

## Every score

- Google: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50355> (exploit, issue-tracking, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MKE4XWRXTH32757H7QJU4ACS67DYDCR/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSPAJ5Y45A4ZDION2KN5RDWLHK4XKY2J/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DDXEXXWAZGF5AVHIPGFPXIWL6TSMKJE/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240315-0009/>
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41854> (advisory)
- <https://bitbucket.org/snakeyaml/snakeyaml> (package)
- <https://bitbucket.org/snakeyaml/snakeyaml/commits/e230a1758842beec93d28eddfde568c21774780a> (web)
- <https://bitbucket.org/snakeyaml/snakeyaml/issues/531> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DDXEXXWAZGF5AVHIPGFPXIWL6TSMKJE> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MKE4XWRXTH32757H7QJU4ACS67DYDCR> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSPAJ5Y45A4ZDION2KN5RDWLHK4XKY2J> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DDXEXXWAZGF5AVHIPGFPXIWL6TSMKJE> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7MKE4XWRXTH32757H7QJU4ACS67DYDCR> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSPAJ5Y45A4ZDION2KN5RDWLHK4XKY2J> (web)
- <https://security.netapp.com/advisory/ntap-20240315-0009> (web)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)

## Sources

- CVE List: [CVE-2022-41854](https://www.cve.org/CVERecord?id=CVE-2022-41854), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-w37g-rhq8-7m4j](https://github.com/advisories/GHSA-w37g-rhq8-7m4j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-41854](https://nvd.nist.gov/vuln/detail/CVE-2022-41854), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41854 · Whole record: https://cve.day/CVE-2022-41854.json · Rebuilt by cve.day 2026-11-25T22:58:16.397Z
