# CVE-2023-25568: Boxo bitswap/server: DOS unbounded persistent memory leak

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-05-10 · Modified: 2025-02-13
- Aliases: GHSA-m974-xj4j-7qv5, GHSA-q3j6-22wf-3jh9, GO-2023-1766
- Record: https://cvemate.com/vulnerability/CVE-2023-25568 · JSON: https://cvemate.com/vulnerability/CVE-2023-25568/json

## Description

```text
Boxo, formerly known as go-libipfs, is a library for building IPFS applications and implementations. In versions 0.4.0 and 0.5.0, if an attacker is able allocate arbitrary many bytes in the Bitswap server, those allocations are lasting even if the connection is closed. This affects users accepting untrusted connections with the Bitswap server and also affects users using the old API stubs at `github.com/ipfs/go-libipfs/bitswap` because users then transitively import `github.com/ipfs/go-libipfs/bitswap/server`. Boxo versions 0.6.0 and 0.4.1 contain a patch for this issue. As a workaround, those who are using the stub object at `github.com/ipfs/go-libipfs/bitswap` not taking advantage of the features provided by the server can refactor their code to use the new split API that will allow them to run in a client only mode: `github.com/ipfs/go-libipfs/bitswap/client`.
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- EPSS: 0.856%, percentile 59.627%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/ipfs go-bitswap (Go): \< 0.12.0
- github.com/ipfs go-libipfs (Go): \< 0.4.1 \| ≥ 0.5.0, \< 0.6.0
- ipfs boxo: 0.4.0 \| 0.5.0
- protocol boxo: 0.4.0 \| 0.5.0

## References

- <https://github.com/ipfs/boxo/commit/62cbac40b96f49e39cd7fedc77ee6b56adce4916>
- <https://github.com/ipfs/boxo/commit/9cb5cb54d40b57084d1221ba83b9e6bb3fcc3197>
- <https://github.com/ipfs/boxo/commit/baa748b682fabb21a4c1f7628a8af348d4645974>
- <https://github.com/ipfs/go-libipfs/security/advisories/GHSA-m974-xj4j-7qv5>
- <https://github.com/ipfs/boxo/security/advisories/GHSA-m974-xj4j-7qv5>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25568>
- <https://github.com/ipfs/boxo>
- <https://github.com/ipfs/go-bitswap/security/advisories/GHSA-q3j6-22wf-3jh9>
- <https://github.com/ipfs/go-bitswap>

---

Data as of 2026-12-05T06:48:57.746Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
