# CVE-2023-23625: Denial of service in HAMT Decoding in go-unixfs

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-02-09T20:57:22.072Z
- Modified: 2026-09-10T03:49:52.056Z
- Also known as: GHSA-q264-w97q-q778, GO-2023-1557
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

go-unixfs is an implementation of a unix-like filesystem on top of an ipld merkledag. 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 to version 0.4.3 to resolve this issue. Users unable to upgrade should not feed untrusted user data to the decoding functions.

(As written by CVE List.)

## Affected

- ipfs go-unixfs: < 0.4.3
- github.com/ipfs/go-unixfs (Go): before 0.4.3
- protocol go-unixfs: before 0.4.3

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ipfs/go-unixfs/security/advisories/GHSA-q264-w97q-q778> (vendor-advisory, web)
- <https://github.com/ipfs/go-unixfs/commit/467d139a640ecee4f2e74643dafcc58bb3b54175> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23625> (advisory)
- <https://github.com/advisories/GHSA-q264-w97q-q778> (advisory)
- <https://github.com/ipfs/go-unixfs> (package)
- <https://pkg.go.dev/vuln/GO-2023-1557> (web)

## Sources

- CVE List: [CVE-2023-23625](https://www.cve.org/CVERecord?id=CVE-2023-23625), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-q264-w97q-q778](https://github.com/advisories/GHSA-q264-w97q-q778), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-1557](https://pkg.go.dev/vuln/GO-2023-1557), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2023-23625](https://nvd.nist.gov/vuln/detail/CVE-2023-23625), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-23625 · Whole record: https://cve.day/CVE-2023-23625.json · Rebuilt by cve.day 2026-11-25T22:58:21.910Z
