Live threats

All CVEs / Snakeyaml Project

CVE-2022-25857Snakeyaml Project Snakeyaml

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Aug 30, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-776
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.

Original NVD text.

What to do

  1. Apply the vendor's security update for Snakeyaml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.yaml:snakeyaml < 1.31 1.31 —

Per OSV / GitHub Advisories (GHSA-3mc7-4q67-w48m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
snakeyaml_projectsnakeyaml< 1.31
debiandebian_linux10.0

Official advisories

Also: Red Hat (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.