{"cve":"CVE-2023-39533","nvd":{"published":"2023-08-08T19:15:10.657","modified":"2026-09-01T22:17:08.920","status":"Modified","description":"go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017","https://github.com/golang/go/issues/61460","https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb","https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00","https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d"],"products":["libp2p:go-libp2p"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-39533","score":0.01513,"percentile":0.74492,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-876p-8259-xjgg","url":"https://osv.dev/vulnerability/GHSA-876p-8259-xjgg","summary":"libp2p nodes vulnerable to attack using large RSA keys","modified":"2026-09-01T21:45:14.078848597Z","packages":[{"ecosystem":"Go","name":"github.com/libp2p/go-libp2p","purl":"pkg:golang/github.com/libp2p/go-libp2p","ranges":["<0.27.8"],"fixed":["0.27.8"]},{"ecosystem":"Go","name":"github.com/libp2p/go-libp2p","purl":"pkg:golang/github.com/libp2p/go-libp2p","ranges":[">=0.28.0 <0.28.2"],"fixed":["0.28.2"]},{"ecosystem":"Go","name":"github.com/libp2p/go-libp2p","purl":"pkg:golang/github.com/libp2p/go-libp2p","ranges":[">=0.29.0 <0.29.1"],"fixed":["0.29.1"]}]},{"id":"GO-2023-2000","url":"https://osv.dev/vulnerability/GO-2023-2000","summary":"Large RSA keys can cause high resource usage in github.com/libp2p/go-libp2p","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/libp2p/go-libp2p","purl":"pkg:golang/github.com/libp2p/go-libp2p","ranges":["<0.27.8",">=0.28.0 <0.28.2",">=0.29.0 <0.29.1"],"fixed":["0.27.8","0.28.2","0.29.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}