# CVE-2022-38749: DoS in SnakeYAML

- Severity: Medium 6.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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): 2.33%, higher than 83% of CVEs (2026-12-01)
- Published: 2022-09-05T00:00:00.000Z
- Modified: 2026-09-10T03:49:45.518Z
- Also known as: GHSA-c4r9-r8fh-9vj2
- Weaknesses: CWE-121, CWE-787
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- snakeyaml SnakeYAML: from unspecified before 1.31
- org.yaml:snakeyaml (Maven): before 1.31
- be.cylab:snakeyaml (Maven): 1.25.1
- com.alipay.sofa.acts:acts-common-util (Maven): 1.0.0
- io.prometheus.jmx:jmx_prometheus_httpserver (Maven): 0.17.0
- io.prometheus.jmx:jmx_prometheus_httpserver_java6 (Maven): up to 0.18.0
- org.testifyproject.external:external-snakeyaml (Maven): up to 1.0.6
- pl.droidsonroids.yaml:snakeyaml (Maven): up to 1.18.2
- snakeyaml_project snakeyaml: before 1.31
- debian debian_linux: 10.0

## Every score

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

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47024> (third-party-advisory, web)
- <https://bitbucket.org/snakeyaml/snakeyaml/issues/525/got-stackoverflowerror-for-many-open> (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> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240315-0010/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38749> (advisory)
- <https://arxiv.org/pdf/2306.05534.pdf> (web)
- <https://bitbucket.org/snakeyaml/snakeyaml> (package)
- <https://security.netapp.com/advisory/ntap-20240315-0010> (web)

## Sources

- CVE List: [CVE-2022-38749](https://www.cve.org/CVERecord?id=CVE-2022-38749), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-c4r9-r8fh-9vj2](https://github.com/advisories/GHSA-c4r9-r8fh-9vj2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-38749](https://nvd.nist.gov/vuln/detail/CVE-2022-38749), Public domain, modified 2026-06-17

---

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