CVE-2022-3064: Excessive resource consumption in gopkg.in/yaml.v2
Vulnerability summary
CVE-2022-3064 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in gopkg.in/yaml.v2. EPSS estimates a 1.87% chance of exploitation in the next 30 days, higher than 79.3% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 7Timeline
- 27-12-2022PublishedVulnerability first disclosed.
- 14-04-2025Last modifiedVulnerability information updated.
Description
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.87%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
Increase +0.17 pp
From 1.70% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat11 products
- etcd< 0:3.4.14-3.el9ost
- etcd-debuginfo< 0:3.4.14-3.el9ost
- etcd-debugsource< 0:3.4.14-3.el9ost
- rhc< 1:0.2.5-1.el9_5 | < 1:0.2.5-1.el8_10
- rhc-debuginfo< 1:0.2.5-1.el9_5 | < 1:0.2.5-1.el8_10
Chainguard4 products
- dex-k8s-authenticator< 1.4.0-r34
- k3d< 5.6.0-r11
- k3d-proxy< 5.6.0-r11
- k3d-tools< 5.6.0-r11
Ubuntu4 products
- golang-github-coreos-discovery-etcd-ioAll versions (No fix recorded)
- golang-yaml.v2< 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 | < 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 | < 2.2.2-1ubuntu0.1
- singularity-containerAll versions (No fix recorded)
- webhookAll versions (No fix recorded)
Wolfi3 products
- k3d< 5.6.0-r11
- k3d-proxy< 5.6.0-r11
- k3d-tools< 5.6.0-r11
Debian1 product
- golang-yaml.v2< 2.2.8-1
Gopkg.in1 product
- yaml.v2< 2.2.4
Gopkg.in/yaml.v21 product
- gopkg.in/yaml.v2< 2.2.4
Yaml_project1 product
- yaml< 2.2.4
8 vendors · 26 products
References
38 links- github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5ARTICLEREPORTFIXWEBPatchThird Party Advisory
Show all 38 references
- pkg.go.devWEB
- github.com/go-yaml/yamlPACKAGE