Advisory record · GHSA-2h6c-j3gf-xp9r

IPFS go-bitfield vulnerable to DoS via malformed size arguments

CVSS 5.9 MediumEPSS 0.0091 · 60th percentile

Published by the GitHub Advisory Database at 10 Feb 2023, 19:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/ipfs/go-bitfieldGo<1.1.01.1.0
Identifiers
GHSA-2h6c-j3gf-xp9r · CVE-2023-23626 · GO-2023-1558
Weakness (CWE)
CWE-754 · CWE-1284
Published
10 Feb 2023
Updated
10 Sept 2026

Machine-written summary

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

Versions of the Go package github.com/ipfs/go-bitfield before 1.1.0 can panic when untrusted input is passed as the size argument to NewBitfield or FromBytes, if the size is negative or not a multiple of 8. An attacker who can supply that value can crash the affected process, causing a denial of service. Upgrade to go-bitfield 1.1.0, which returns an error for invalid sizes. Without upgrading, ensure the size is a non-negative multiple of 8 before calling these functions.

Written 5 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

ScoreRatingCVSSVectorSource
5.9 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0091, the 60th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:43 UTC First seen by agentprime
  2. 31 Oct 2026, 14:43 UTC Confirmed by OSV

Sources

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.