# CVE-2022-24675: Stack overflow from a large amount of PEM data in encoding/pem

- 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): 9.95%, higher than 95% of CVEs (2026-12-01)
- Published: 2022-04-20T00:00:00.000Z
- Modified: 2026-10-16T09:45:09.455Z
- Also known as: GO-2022-0433, BIT-GOLANG-2022-24675
- Weaknesses: CWE-674
- Assigned by: mitre

## Description

encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stdlib (Go): before 1.17.9; from 1.18.0-0 before 1.18.1
- golang go: before 1.17.9; from 1.18.0 before 1.18.1
- fedoraproject fedora: 34; 35; 36
- netapp kubernetes_monitoring_operator: no versions given
- golang (Bitnami): before 1.17.9; from 1.18.0 before 1.18.1

## Every score

- 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/g/golang-announce> (advisory, mailing-list, vendor-advisory)
- <https://groups.google.com/g/golang-announce/c/oecdBNLOml8> (advisory, mailing-list, release-notes, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42TYZC4OAY54TO75FBEFAPV5G7O4D5TM/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F3BMW5QGX53CMIJIZWKXFKBJX2C5GWTY/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RCRSABD6CUDIZULZPZL5BJ3ET3A2NEJP/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220915-0010/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf>
- <https://go.dev/cl/399820> (fix)
- <https://go.googlesource.com/go/+/45c3387d777caf28f4b992ad9a6216e3085bb8fe> (fix)
- <https://go.dev/issue/51853> (report)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24675> (web)

## Sources

- CVE List: [CVE-2022-24675](https://www.cve.org/CVERecord?id=CVE-2022-24675), CVE Terms of Use, modified 2024-08-03
- Go Vulnerability Database: [GO-2022-0433](https://pkg.go.dev/vuln/GO-2022-0433), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-24675](https://nvd.nist.gov/vuln/detail/CVE-2022-24675), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2022-24675](https://osv.dev/vulnerability/BIT-GOLANG-2022-24675), Apache-2.0, modified 2026-10-16

---

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