CVE-2022-38750
Java vulnerability analysis and mitigation

Overview

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. The vulnerability was discovered in April 2022 and was assigned CVE-2022-38750 (CVE Details, NVD).

Technical details

The vulnerability occurs in the org.yaml.snakeyaml.constructor.BaseConstructor.constructObject component of SnakeYAML versions prior to 1.31. It has been assigned a CVSS score of 5.5 (MEDIUM) with the vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could lead to Denial of Service (DoS) when processing maliciously crafted input files. The vulnerability affects applications that use SnakeYAML to parse untrusted YAML files, potentially causing system crashes through stack overflow (Debian LTS).

Mitigation and workarounds

The vulnerability was fixed in SnakeYAML version 1.31. Users are advised to upgrade to version 1.31 or later to address this security issue. For systems that cannot be immediately upgraded, there are no known workarounds at this time (Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22244CRITICAL9.1
  • JavaJava
  • org.open-metadata:platform
NoYesJan 07, 2026
CVE-2025-66518HIGH8.8
  • JavaJava
  • org.apache.kyuubi:kyuubi-server_2.12
NoYesJan 05, 2026
CVE-2025-61916HIGH7.9
  • JavaJava
  • io.spinnaker.clouddriver:clouddriver-artifacts
NoYesJan 05, 2026
CVE-2025-68280MEDIUM6.5
  • JavaJava
  • org.apache.sis.core:sis-metadata
NoYesJan 05, 2026
CVE-2025-66560MEDIUM5.9
  • JavaJava
  • io.quarkus:quarkus-rest
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management