# CVE-2022-28948: gopkg.in/yaml.v3 Denial of Service

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.08%, higher than 82% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-19T19:59:30.000Z
- Modified: 2026-09-10T03:49:23.552Z
- Also known as: GHSA-hp87-p4gw-j4gq, GO-2022-0603
- Related: CGA-c83p-wfx4-qxwj
- Weaknesses: CWE-502
- Assigned by: mitre

## Description

An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gopkg.in/yaml.v3 (Go): before 3.0.1; before 3.0.0-20220521103104-8f96da9f5d5e
- yaml_project yaml: 3.0.0
- netapp astra_trident: no versions given

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/go-yaml/yaml/issues/666> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220923-0006/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-28948> (advisory)
- <https://github.com/go-yaml/yaml/issues/665> (web)
- <https://github.com/go-yaml/yaml/commit/8f96da9f5d5eff988554c1aae1784627c4bf6754> (fix, web)
- <https://github.com/go-yaml/yaml/commit/f6f7691b1fdeb513f56608cd2c32c51f8194bf51> (web)
- <https://github.com/go-yaml/yaml> (package)
- <https://security.netapp.com/advisory/ntap-20220923-0006> (web)

## Sources

- CVE List: [CVE-2022-28948](https://www.cve.org/CVERecord?id=CVE-2022-28948), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hp87-p4gw-j4gq](https://github.com/advisories/GHSA-hp87-p4gw-j4gq), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0603](https://pkg.go.dev/vuln/GO-2022-0603), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-28948](https://nvd.nist.gov/vuln/detail/CVE-2022-28948), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-28948 · Whole record: https://cve.day/CVE-2022-28948.json · Rebuilt by cve.day 2026-11-25T22:58:11.818Z
