# CVE-2023-23631: HAMT Decoding Panics in github.com/ipfs/go-unixfsnode

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-02-09 · Modified: 2025-03-10
- Aliases: GHSA-4gj3-6r43-3wfc, GO-2023-1559
- Record: https://cvemate.com/vulnerability/CVE-2023-23631 · JSON: https://cvemate.com/vulnerability/CVE-2023-23631/json

## Description

```text
github.com/ipfs/go-unixfsnode is an ADL IPLD prime node that wraps go-codec-dagpb's implementation of protobuf to enable pathing. In versions priot to 1.5.2 trying to read malformed HAMT sharded directories can cause panics and virtual memory leaks.
If you are reading untrusted user input, an attacker can then trigger a panic. This is caused by bogus fanout parameter in the HAMT directory nodes. Users are advised to upgrade. There are no known workarounds for this vulnerability.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.933%, percentile 61.925%, 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-unixfsnode (Go): \< 1.5.2
- ipfs go-unixfsnode: \< 1.5.2
- protocol go-unixfsnode: \< 1.5.2

## References

- <https://github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc>
- <https://github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076>
- <https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68>
- <https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23631>
- <https://github.com/ipfs/go-unixfsnode>
- <https://pkg.go.dev/vuln/GO-2023-1559>

---

Data as of 2026-12-05T06:48:56.594Z. 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
