Live threats

All CVEs / Yaml Project

CVE-2022-3064Yaml Project Yaml

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Dec 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yaml.
  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
Go gopkg.in/yaml.v2 < 2.2.4 2.2.4 go get gopkg.in/yaml.v2@v2.2.4
Go gopkg.in/yaml.v2 < 2.2.4 2.2.4 go get gopkg.in/yaml.v2@v2.2.4

Per OSV / GitHub Advisories (GHSA-6q6q-88xp-6f2r, GO-2022-0956). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yaml_projectyaml< 2.2.4

Official advisories

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

Official sources

References

Links published by the sources. Open them with care.