NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2022-38749 — snakeyaml

MEDIUM

CVE-2022-38749 is a medium-severity (CVSS 6.5) CWE-121 vulnerability in org.yaml:snakeyaml. A fix is available for org.yaml:snakeyaml — see the affected versions and patch details below.

DoS in SnakeYAML

Also known asGHSA-c4r9-r8fh-9vj2
Published
Updated
Affected
7 pkgs
Patched
1 / 7
Exploits
None indexed
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs83th percentile — riskier than 83% of all scored CVEsHighest risk
0.03%0.92%1.81%2.70%0.5%2.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

7 pkgs affected
☕org.yaml:snakeyaml☕be.cylab:snakeyaml☕com.alipay.sofa.acts:acts-common-util☕io.prometheus.jmx:jmx_prometheus_httpserver☕io.prometheus.jmx:jmx_prometheus_httpserver_java6☕org.testifyproject.external:external-snakeyaml☕pl.droidsonroids.yaml:snakeyaml

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

7 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.yaml:snakeyamlall versions1.31org.yaml:snakeyaml:1.31
☕Mavenbe.cylab:snakeyamlall versionsNo fix
☕Mavencom.alipay.sofa.acts:acts-common-utilall versionsNo fix
☕Mavenio.prometheus.jmx:jmx_prometheus_httpserverall versionsNo fix
☕Mavenio.prometheus.jmx:jmx_prometheus_httpserver_java6all versionsNo fix
☕Mavenorg.testifyproject.external:external-snakeyamlall versionsNo fix

Affected Products

2 products · 2 configurations
OS
debian linuxdebian
1 version
10.0
Application
snakeyamlsnakeyaml_project
< 1.31
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.yaml:snakeyaml, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.yaml:snakeyaml to 1.31 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-38749 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Red Hat Build of Quarkus is not affected by this issue as it already includes the fixed version. Satellite component Candlepin does not directly use snakeyaml, so it is not affected. Regardless, an update with the latest, unaffected snakeyaml version will be provided at next release.

ProductFixed inAdvisory
Red Hat AMQ Broker 7snakeyamlRHSA-2022:8876
Red Hat AMQ ClientssnakeyamlRHSA-2023:7697
Red Hat build of Eclipse Vert.x 4.3.3snakeyamlRHSA-2022:6757
Red Hat Data Grid 8.4.0snakeyamlRHSA-2022:8524
Red Hat Fuse 7.11.1snakeyamlRHSA-2022:8652
Red Hat Satellite 6.13 for RHEL 8candlepin-0:4.2.13-1.el8satRHSA-2023:2097
Red Hat Single Sign-On 7snakeyamlRHSA-2023:1049
Red Hat Single Sign-On 7.6 for RHEL 7rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el7ssoRHSA-2023:1043

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-38749 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2022-38749: snakeyaml DoS — Fixed in 1.31