CVE-2026-82734: Non-finite Infinity/NaN decimal values bypass bounds constraints in Ash.Type.Decimal

Published Sep 1, 2026
·
Updated

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 castinput/2 and caststored/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 Software

1 affected component
ash-project ash>=1.28.0<3.32.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ash-project ash to a version that resolves this vulnerability.

    Fixed in 3.32.2
  2. Compensating control

    If you cannot upgrade yet, block or reject non-finite decimal inputs such as "Infinity" and "NaN" at the application/API boundary before they reach Ash casting (since they bypass bounds checks and later fail in Decimal arithmetic/data layer).

Event History

Sep 1, 2026
CVE Published
via MITRE·03:17 AM
Data Sourced
via MITRE·03:17 AM
DescriptionWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203