7.5

CVE-2023-23626: ipfs go-bitfield

CVSS: 7.5v3.1HighModified
AliasesGHSA-2h6c-j3gf-xp9rGO-2023-1558
Published 09-02-2023Last modified 10-03-2025

Vulnerability summary

CVE-2023-23626 is a high (CVSS 7.5) vulnerability in ipfs go-bitfield. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 59.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.91%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 09-02-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last modifiedVulnerability information updated.

Description

go-bitfield is a simple bitfield package for the go language aiming to be more performant that the standard library. When feeding untrusted user input into the size parameter of `NewBitfield` and `FromBytes` functions, an attacker can trigger `panic`s. This happen when the `size` is a not a multiple of `8` or is negative. There were already a note in the `NewBitfield` documentation, however known users of this package are subject to this issue. Users are advised to upgrade. Users unable to upgrade should ensure that `size` is a multiple of 8 before calling `NewBitfield` or `FromBytes`.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.91%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

0.00 pp

From 0.91% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.91%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Go Bitfield

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Github.com/ipfs1 product
  • go-bitfield< 1.1.0
Ipfs1 product
Protocol1 product

3 vendors · 3 products

References

5 links