Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-25568

HIGH 8.2EPSS 62%

Boxo bitswap/server: DOS unbounded persistent memory leak

Also known as GHSA-m974-xj4j-7qv5, GHSA-q3j6-22wf-3jh9, GO-2023-1766

Mitigation

  • Upgrade github.com/ipfs/go-libipfs to one of 0.6.0, 0.4.1 (or later in the same release line).
  • Upgrade github.com/ipfs/go-bitswap to 0.12.0 or later.

Who should check

  • Projects that depend on Go package github.com/ipfs/go-libipfs (>= 0.5.0, < 0.6.0)
  • Projects that depend on Go package github.com/ipfs/go-bitswap (< 0.12.0)
  • Anyone running ipfs boxo 0.4.0; 0.5.0

Vulnerability facts

Affected
github.com/ipfs/go-libipfs >= 0.5.0, < 0.6.0; github.com/ipfs/go-bitswap < 0.12.0
Fixed in
0.6.0, 0.4.1, 0.12.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: High
EPSS
1.02% chance of exploitation in 30 days (percentile 62, 2026-11-26)
CWE
CWE-400, CWE-770
Published
Modified

Description

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`.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/ipfs/go-libipfs>= 0.5.0, < 0.6.00.6.0, 0.4.1osv
Go github.com/ipfs/go-bitswap< 0.12.00.12.0osv
ipfs boxo0.4.0; 0.5.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-25568. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-25568.md
Affected: github.com/ipfs/go-libipfs >= 0.5.0, < 0.6.0; github.com/ipfs/go-bitswap < 0.12.0
Fixed in: 0.6.0, 0.4.1, 0.12.0

Steps:
1. Search this machine and project for github.com/ipfs/go-libipfs (Go), github.com/ipfs/go-bitswap (Go), ipfs boxo: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-25568 being exploited?

There is no confirmed exploitation: CVE-2023-25568 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.02% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-25568?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2023-25568?

github.com/ipfs/go-libipfs >= 0.5.0, < 0.6.0; github.com/ipfs/go-bitswap < 0.12.0.

Is there a fix for CVE-2023-25568?

Yes. Fixed in 0.6.0, 0.4.1, 0.12.0. Upgrade github.com/ipfs/go-libipfs to one of 0.6.0, 0.4.1 (or later in the same release line). Upgrade github.com/ipfs/go-bitswap to 0.12.0 or later.

How do I check if I'm affected by CVE-2023-25568?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors