{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-23626","published":"2023-02-09T21:15:11.413000Z","last_modified":"2026-06-17T05:37:37.003000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-754","CWE-1284"],"cpes":[{"criteria":"cpe:2.3:a:protocol:go-bitfield:*:*:*:*:*:go:*:*","part":"a","vendor":"protocol","product":"go-bitfield","version_end_excluding":"1.1.0"}],"cpes_truncated":false,"vendors":["protocol"],"products":["protocol/go-bitfield"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00974,"percentile":0.60812,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2h6c-j3gf-xp9r","ecosystem":"Go","name":"github.com/ipfs/go-bitfield","purl":"pkg:golang/github.com/ipfs/go-bitfield","ranges":[{"introduced":"0","fixed":"1.1.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-1558","ecosystem":"Go","name":"github.com/ipfs/go-bitfield","purl":"pkg:golang/github.com/ipfs/go-bitfield","ranges":[{"introduced":"0","fixed":"1.1.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-23626/","html_en":"/en/cve/CVE-2023-23626/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-23626","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-23626"},"untrusted":{"vendor_name":"Protocol","product_name":"Go-bitfield","desc_en":"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`.","affected":[{"untrusted_vendor":"ipfs","untrusted_product":"go-bitfield","versions":[]}],"references":[{"url":"https://github.com/ipfs/go-bitfield/commit/5e1d256fe043fc4163343ccca83862c69c52e579","tags":["Patch"]},{"url":"https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r","tags":["Exploit","Patch","Vendor Advisory"]}]}}