USN-5944-1

Type: Security
Severity: Medium
Published: 2023-03-10
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that SnakeYAML did not limit the maximal nested depth for collections when parsing YAML data. If a user or automated system were tricked into opening a specially crafted YAML file, an attacker could possibly use this issue to cause applications using SnakeYAML to crash, resulting in a denial of service. (CVE-2022-25857, CVE-2022-38749, CVE-2022-38750) It was discovered that SnakeYAML did not limit the maximal data matched with regular expressions when parsing YAML data. If a user or automated system were tricked into opening a specially crafted YAML file, an attacker could possibly use this issue to cause applications using SnakeYAML to crash, resulting in a denial of service. (CVE-2022-38751) Update Instructions: Run `sudo pro fix USN-5944-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libyaml-snake-java - 1.29-1ubuntu0.22.04.1 libyaml-snake-java-doc - 1.29-1ubuntu0.22.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T07:53:42.298Z UTC.

Upstream Advisory

Affected Packages

  • libyaml-snake-java 1.29-1ubuntu0.22.04.1-1.29-1ubuntu0.22.04.1

  • libyaml-snake-java-doc 1.29-1ubuntu0.22.04.1-1.29-1ubuntu0.22.04.1

  • libyaml-snake-java 1.25+ds-2ubuntu0.1-1.25+ds-2ubuntu0.1

  • libyaml-snake-java-doc 1.25+ds-2ubuntu0.1-1.25+ds-2ubuntu0.1

Interested in being alerted when there are new versions of libyaml-snake-java and the other packages? Set up an alert.
USN-5944-1: SnakeYAML vulnerabilities | Package Alert