# libp2p nodes vulnerable to attack using large RSA keys

Advisory record · `GHSA-876p-8259-xjgg`

- **Identifiers:** `GHSA-876p-8259-xjgg` · `CVE-2023-39533` · `GO-2023-2000`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 9 Aug 2023
- **Updated:** 1 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Aug 2023, 13:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/libp2p/go-libp2p` (Go): affected `<0.27.8 || >=0.28.0, <0.28.2 || >=0.29.0, <0.29.1`; fixed in `0.27.8`, `0.28.2`, `0.29.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The go-libp2p package (github.com/libp2p/go-libp2p) is vulnerable before 0.27.8, from 0.28.0 before 0.28.2, and from 0.29.0 before 0.29.1. A remote peer can send large RSA keys during the Noise handshake or x509 extension verification, forcing the node to spend significant time on signature checks, which can exhaust resources. Upgrade to 0.27.8, 0.28.2, or 0.29.1, and also use Go 1.20.7 or 1.19.12 or later. No workarounds are listed.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.015, the 75th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:48 UTC: First seen by agentprime
- 31 Oct 2026, 14:48 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-876p-8259-xjgg)

## Sources

- [GitHub Advisory Database: GHSA-876p-8259-xjgg](https://github.com/advisories/GHSA-876p-8259-xjgg)
- [OSV: GHSA-876p-8259-xjgg](https://osv.dev/vulnerability/GHSA-876p-8259-xjgg)
- <https://github.com/libp2p/go-libp2p/security/advisories/GHSA-876p-8259-xjgg>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39533>
- <https://github.com/golang/go/issues/61460>
- <https://github.com/libp2p/go-libp2p/pull/2454>
- <https://github.com/quic-go/quic-go/pull/4012>
- <https://github.com/golang/go/commit/2350afd2e8ab054390e284c95d5b089c142db017>
- <https://github.com/libp2p/go-libp2p/commit/0cce607219f3710addc7e18672cffd1f1d912fbb>
- <https://github.com/libp2p/go-libp2p/commit/445be526aea4ee0b1fa5388aa65d32b2816d3a00>
- <https://github.com/libp2p/go-libp2p/commit/e30fcf7dfd4715ed89a5e68d7a4f774d3b9aa92d>
- <https://github.com/libp2p/go-libp2p>
- <https://go.dev/issue/61460>
- <https://nrdax.com/techniques/NRDAX-T0205-pre-handshake-crypto-cpu-burn>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-876p-8259-xjgg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-876p-8259-xjgg/>. Everything for agents: <https://agentprime.io/llms.txt>.
