# CVE-2022-3433: Hash flooding vulnerability in aeson

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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.85%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-10T00:00:00.000Z
- Modified: 2026-06-17T04:59:31.133Z
- Also known as: HSEC-2023-0001
- Weaknesses: CWE-326, CWE-328
- Assigned by: redhat

## Description

The aeson library is not safe to use to consume untrusted JSON input. A remote user could abuse this flaw to produce a hash collision in the underlying unordered-containers library by sending specially crafted JSON data, resulting in a denial of service.

(As written by CVE List.)

## Affected

- aeson: Fixed in 2.0.1.0
- aeson (Hackage): from 0.4.0.0 before 2.0.1.0
- haskell aeson: before 2.0.1.0

## References

- <https://cs-syd.eu/posts/2021-09-11-json-vulnerability> (exploit, article, patch, technical-description, third-party-advisory)
- <https://frasertweedale.github.io/blog-fp/posts/2021-10-12-aeson-hash-flooding-protection.html> (article)
- <https://github.com/haskell/aeson/issues/864> (discussion)

## Sources

- CVE List: [CVE-2022-3433](https://www.cve.org/CVERecord?id=CVE-2022-3433), CVE Terms of Use, modified 2024-08-03
- Haskell Security Advisories: [HSEC-2023-0001](https://osv.dev/vulnerability/HSEC-2023-0001), CC0-1.0, modified 2025-11-14
- NVD: [CVE-2022-3433](https://nvd.nist.gov/vuln/detail/CVE-2022-3433), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-3433 · Whole record: https://cve.day/CVE-2022-3433.json · Rebuilt by cve.day 2026-11-25T22:58:15.503Z
