NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

yaml package for Go can consume excessive amounts of CPU or memoryGHSA-6q6q-88xp-6f2r

HIGHFix: go-yaml/yaml@f221b84

GHSA-6q6q-88xp-6f2r is a high-severity (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in gopkg.in/yaml.v2. A fix is available for gopkg.in/yaml.v2 — see the affected versions and patch details below.

Also known asCVE-2022-3064GO-2022-0956
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-6q6q-88xp-6f2r.

EPSS Exploitation Probability

via FIRST.org ↗
1.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs79th percentile — riskier than 79% of all scored CVEsHighest risk
1.20%1.75%2.31%2.86%2.4%1.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐹gopkg.in/yaml.v2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogopkg.in/yaml.v2all versions2.2.4go get gopkg.in/yaml.v2@v2.2.4

Affected Products

1 product · 1 configurations
Application
yamlyaml_project
< 2.2.4
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for gopkg.in/yaml.v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update gopkg.in/yaml.v2 to 2.2.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-6q6q-88xp-6f2r is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

RHC package for Red Hat Enterprise Linux 9 mark as Low severity as we do ship the affected code but it's not easily exposed because YAML files are not parsed by RHC.

ProductFixed inAdvisory
Red Hat Enterprise Linux 8container-tools:4.0-8090020230828093056.e7857ab1RHSA-2023:6938
Red Hat Enterprise Linux 8container-tools:rhel8-8090020230825121312.e7857ab1RHSA-2023:6939
Red Hat Enterprise Linux 8rhc-1:0.2.5-1.el8_10RHSA-2024:10784
Red Hat Enterprise Linux 9toolbox-0:0.0.99.4-6.el9_3RHSA-2023:6346
Red Hat Enterprise Linux 9rhc-1:0.2.5-1.el9_5RHSA-2024:10759
Red Hat Enterprise Linux 9.2 Extended Update Supporttoolbox-0:0.0.99.4-1.el9_2RHSA-2024:4443
Red Hat OpenShift Container Platform 4.10openshift4/ose-configmap-reloader:v4.10.0-202302072301.p0.g1e5a18e.assembly.streamRHSA-2023:0698
Red Hat OpenShift Container Platform 4.10openshift4/ose-telemeter:v4.10.0-202302201054.p0.g3b5eb87.assembly.streamRHSA-2023:0899

Frequently Asked Questions

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory
O3 Security · Impact-Aware SCA

Is GHSA-6q6q-88xp-6f2r in your dependencies?

Find it across Go, including transitive dependencies.

yaml package for Go can consume excessive amounts of…