{"schemaVersion":3,"id":"CVE-2023-39533","aliases":["GHSA-876p-8259-xjgg","GO-2023-2000"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-08-08T18:50:05.418Z","modified":"2026-09-01T21:35:16.877Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01501,"percentile":0.73932,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01501},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01501,"percentile":0.73932}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01501,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01501,"percentile":0.73932}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_LIBP2P_GO-LIBP2P","name":"Go Libp2P","source":"github","url":"https://github.com/libp2p/go-libp2p/pull/2454","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"github.com/libp2p","product":"go-libp2p","name":"github.com/libp2p/go-libp2p","label":"go-libp2p","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/libp2p/go-libp2p","purlType":"golang","versions":[{"text":"< 0.27.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.28.0, < 0.28.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.29.0, < 0.29.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.27.8 | ≥ 0.28.0, < 0.28.2 | ≥ 0.29.0, < 0.29.1","eol":null,"hubHref":null},{"vendor":"libp2p","product":"go-libp2p","name":"go-libp2p","label":"go-libp2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 0.29.0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.27.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.28.0, < 0.28.2","noFixRecorded":false,"fixedIn":null},{"text":"0.29.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 0.29.0 | < 0.27.8 | ≥ 0.28.0, < 0.28.2 | 0.29.0","eol":null,"hubHref":"/vendor/libp2p/go-libp2p"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg","label":"github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Patch","Vendor Advisory"]},{"url":"https://github.com/golang/go/issues/61460","label":"github.com/golang/go/issues/61460","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Not Applicable","Vendor Advisory"]},{"url":"https://github.com/libp2p/go-libp2p/pull/2454","label":"github.com/libp2p/go-libp2p/pull/2454","hostname":"github.com","tags":["X Refsource MISC","WEB","Exploit","Patch","Vendor Advisory"]},{"url":"https://github.com/quic-go/quic-go/pull/4012","label":"github.com/quic-go/quic-go/pull/4012","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017","label":"github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017","hostname":"github.com","tags":["X Refsource MISC","WEB","Not Applicable","Patch"]},{"url":"https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb","label":"github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00","label":"github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d","label":"github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nrdax.com/techniques/NRDAX-T0205-pre-handshake-crypto-cpu-burn","label":"nrdax.com/techniques/NRDAX-T0205-pre-handshake-crypto-cpu-burn","hostname":"nrdax.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39533","label":"nvd.nist.gov/vuln/detail/CVE-2023-39533","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/libp2p/go-libp2p","label":"github.com/libp2p/go-libp2p","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://go.dev/issue/61460","label":"go.dev/issue/61460","hostname":"go.dev","tags":["WEB","REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-08-08T18:50:05.418Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-01T21:35:16.877Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:48:14.637Z","stale":false,"partial":false}}