CVE-2022-24675: 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.

CVE-2022-24675 affects 115 listed versions of Go in the Dawnsentry catalogue.

7.5CVSS high
None knownexploitation
10%EPSS (next 30 days)
20 April 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Go

115 of 250 listed versions are affected. Fixed in 1.18.1, 1.17.9. The newest release, 1.27.4, is not affected.

1.18 1.17.8 1.17.7 1.17.6 1.17.5 1.17.4 1.17.3 1.17.2 1.17.1 1.17 1.16.15 1.16.14 1.16.13 1.16.12 1.16.11 1.16.10 1.16.9 1.16.8 1.16.7 1.16.6 1.16.5 1.16.4 1.16.3 1.16.2 1.16.1 1.15.15 1.15.14 1.15.13 1.15.12 1.15.11 1.15.10 1.15.9 1.15.8 1.15.7 1.15.6 1.15.5 1.15.4 1.15.3 1.15.2 1.15.1 1.14.15 1.14.14 1.14.13 1.14.12 1.14.11 1.14.10 1.14.9 1.14.8 1.14.7 1.14.6 1.14.5 1.14.4 1.14.3 1.14.2 1.14.1 1.13.15 1.13.14 1.13.13 1.13.12 1.13.11 and 55 more

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD)

Published by MITRE on 20 April 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-24675 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.