2.1low
Non-finite Infinity/NaN decimal values bypass bounds constraints in Ash.Type.Decimal
- Severity
- 2.1low CVSS:4.0 by EEF
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- EEF-CVE-2026-82734GHSA-mvvh-q33h-q62v
Description
Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to submit a non-finite decimal value that bypasses numeric bounds constraints or fails later operations on the value. Ash.Type.Decimal cast input through Ecto's decimal cast in cast_input/2 and cast_stored/2 (lib/ash/type/decimal.ex) without checking that the resulting value is finite. Elixir's Decimal represents Infinity and NaN as valid structs, so a value such as "Infinity" or "NaN" passed casting and was persisted. Because NaN compares as false against every bound, min and max constraints do not reject it, and the stored special value later raises when used in Decimal arithmetic or is refused by the data layer, failing subsequent requests. The fix rejects any non-finite Decimal during casting. This issue affects ash: from 1.28.0 before 3.32.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ash | from 1.28.0 before 3.32.2 | CVE List |
| ash-project/ash | from db6bdfcf1518c70d67975efb140cdeb2cb6a76e7 before 818087b1b3364f2af6f5460d6b01262ad0f69204 | CVE List |
| ash (Hex) | from 1.28.0 before 3.32.2 | Erlang Ecosystem Foundation |
| https://github.com/ash-project/ash | from db6bdfcf1518c70d67975efb140cdeb2cb6a76e7 before 818087b1b3364f2af6f5460d6b01262ad0f69204 | Erlang Ecosystem Foundation |
All scores
| EEF | 2.1low CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to submit a non-finite decimal value that bypasses numeric bounds constraints or fails later operations on the value. Ash.Type.Decimal cast input through Ecto's decimal cast in cast_input/2 and cast_stored/2 (lib/ash/type/decimal.ex) without checking that the resulting value is finite. Elixir's Decimal represents Infinity and NaN as valid structs, so a value such as "Infinity" or "NaN" passed casting and was persisted. Because NaN compares as false against every bound, min and max constraints do not reject it, and the stored special value later raises when used in Decimal arithmetic or is refused by the data layer, failing subsequent requests. The fix rejects any non-finite Decimal during casting. This issue affects ash: from 1.28.0 before 3.32.2.
Erlang Ecosystem Foundation
Summary
Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to submit a non-finite decimal value that bypasses numeric bounds constraints or fails later operations on the value.
Ash.Type.Decimal cast input through Ecto's decimal cast in cast_input/2 and cast_stored/2 (lib/ash/type/decimal.ex) without checking that the resulting value is finite. Elixir's Decimal represents Infinity and NaN as valid structs, so a value such as "Infinity" or "NaN" passed casting and was persisted. Because NaN compares as false against every bound, min and max constraints do not reject it, and the stored special value later raises when used in Decimal arithmetic or is refused by the data layer, failing subsequent requests. The fix rejects any non-finite Decimal during casting.
This issue affects ash: from 1.28.0 before 3.32.2.
References
| https://github.com/ash-project/ash/security/advisories/GHSA-mvvh-q33h-q62v | advisory, exploit, related, vendor-advisory | |
| https://cna.erlef.org/cves/CVE-2026-82734.html | related, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-82734 | related | |
| https://github.com/ash-project/ash/commit/db6bdfcf1518c70d67975efb140cdeb2cb6a76e7 | related, web | |
| https://github.com/ash-project/ash/commit/818087b1b3364f2af6f5460d6b01262ad0f69204 | fix, patch | |
| https://hex.pm/packages/ash | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82734 changed 2026-11-19 | CVE Terms of Use |
| Erlang Ecosystem Foundation | EEF-CVE-2026-82734 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-82734 changed 2026-11-19 | Public domain |