Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed vector ingestion API endpoint
-
DeliverySubmit vector payload with >65,535 elements
-
Exploit16-bit dimension wraps modulo 65,536 in Ash.Vector.new/1
-
ExecutionCorrupted binary header persisted to database
-
PersistSubsequent reads use wrong dimension slice and raise exception
-
ImpactTargeted records permanently inaccessible
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application accepts user-controlled vector data - such as through an API endpoint for embedding or similarity-search ingestion - and passes it to Ash.Vector.new/1 without first enforcing a dimension limit of 65,535 or fewer elements. Applications that only write vectors from trusted internal sources, or that independently validate vector length at the API boundary before reaching the Ash framework layer, are not exploitable. The CVSS 4.0 AT:P (prerequisite) rating confirms this dependency on a specific application configuration rather than a universally reachable code path. Limiting factors: the attacker must have access to a vector ingestion pathway; the corruption is scoped to specific records that received the oversized input and does not affect the broader database or application state; if the hosting application enforces authentication on vector ingestion endpoints, authentication at that application layer would be a prerequisite. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H) scores 5.9, indicating high availability impact with an attack timing prerequisite (AT:P). The AT:P modifier is the key gating condition: exploitation requires the application to expose vector ingestion to untrusted input without its own dimension validation. There is no CISA KEV listing and no public exploit code, so real-world exploitation remains theoretical at time of analysis. EPSS data was not provided in the input intelligence. The persistence of corruption elevates practical impact: once a record is written with an oversized vector, that record raises exceptions on every subsequent read until manually remediated - this is not a transient DoS but a durable data corruption event. There is no confidentiality breach. The AV:L rating in the provided CVSS 4.0 vector may understate realistic network-accessible exposure; in web applications that accept vectors via HTTP API, the effective attack vector is network rather than local. Overall risk is moderate for applications accepting user-supplied vector data and negligible where vectors are written exclusively by trusted internal processes. |
| Exploit ScenarioDerived | An attacker submits a payload to an embedding ingestion API endpoint containing a vector with 65,536 or more float elements. The application calls Ash.Vector.new/1 without validating the element count, silently writes a binary with a corrupted dimension header to the database, and returns a success response. Every subsequent application request that reads that record raises an Elixir exception, rendering the record permanently inaccessible until it is manually deleted and re-inserted with valid data. No public exploit code is known to exist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Integer overflow in Ash Framework's vector encoding corrupts stored vectors in any Elixir application using Ash versions 2.14.13 through 3.32.1, enabling persistent denial of service against affected database records. The dimension count for a vector submitted with more than 65,535 elements silently wraps modulo 65,536 in a 16-bit header field, causing every subsequent read of the corrupted record to raise an exception. Applications that expose vector ingestion to untrusted users are at risk of permanent per-record data loss; no public exploit has been identified at time of analysis.
RemediationAI
Upgrade to Ash version 3.32.2 or later, which introduces a @max_dimensions 65_535 guard in Ash.Vector.new/1 that returns {:error, :invalid_vector} for any input list exceeding the limit. The patched commit is cef5eb7b0693f04d1699a36e02a4e09ce1e7bffe (https://github.com/ash-project/ash/commit/cef5eb7b0693f04d1699a36e02a4e09ce1e7bffe), confirmed by the vendor advisory at https://github.com/ash-project/ash/security/advisories/GHSA-68q3-w4w3-2gfv. If an immediate upgrade is not feasible, add explicit input validation at every API boundary that accepts vector data to reject lists exceeding 65,535 elements before they reach Ash.Vector.new/1; this compensating control must be applied consistently at all vector ingestion points and does not repair already-corrupted records. Previously corrupted records must be identified and re-inserted with valid vector data after upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ash (ash-project/ash) is an Elixir application framework that includes an Ash.Vector type for storing high-dimensional embedding vectors, commonly used in ML/AI pipelines. The encoding in Ash.Vector.new/1 (lib/ash/vector.ex) serializes a vector as a binary: a 16-bit unsigned integer dimension field, a 16-bit padding zero, then 32-bit IEEE 754 floats for each element. CWE-190 (Integer Overflow or Wraparound) applies because the element count is packed into a 16-bit unsigned integer without a bounds check - when the list length exceeds 65,535, the value wraps modulo 65,536 at the binary encoding layer. The stored binary header then records an incorrect dimension that disagrees with the actual number of float elements present. When from_binary/1 later reads back the data, it slices binary-size(dim)-unit(32) bytes using the corrupted header value, producing a binary mismatch that raises an exception on every subsequent read of that record. The affected CPE is cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* for versions 2.14.13 to before 3.32.2.
Know when Ash gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Network API ingestion is the realistic attack path; AC:H reflects the AT:P prerequisite of an exposed ingestion endpoint; no confidentiality impact, high availability from persistent record corruption.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Integer Overflow or Wraparound vulnerability in ash-project ash lets an attacker corrupt a stored vector and crash later reads of it by submitting a vector with more than 65,535 elements.
Ash.Vector.new/1 (lib/ash/vector.ex) encodes a vector as <<dim::unsigned-16, 0::unsigned-16>> followed by the element floats, packing the element count into a 16-bit field without checking its range. A list of more than 65,535 elements wraps the dimension modulo 65,536, so the encoded header records a dimension that disagrees with the number of stored floats. from_binary/1 later reads binary-size(dim)-unit(32) from the wrapped header, so every read of the corrupted value misparses and raises, denying access to the affected record. The fix rejects any vector whose dimension exceeds 65,535.
This issue affects ash: from 2.14.13 before 3.32.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Private argument injection in the Ash Elixir framework (versions 3.0.0 through 3.29.2) allows end users to set action ar
An issue was discovered in the ash crate before 0.33.1 for Rust. Rated critical severity (CVSS 9.8), this vulnerability
Unauthenticated attackers can turn a forged keyset pagination cursor into OS command execution or raw SQL injection in E
Atom table exhaustion in the Ash framework (Elixir) allows an unauthenticated remote attacker to crash a BEAM node by su
Cross-tenant record takeover in the Ash framework (Elixir) for versions 1.22.0 up to 3.37.2: when a resource uses attrib
An authorization bypass in the Ash framework (Elixir) lets authenticated, lower-privileged actors recover values they ar
Information disclosure in the Ash framework for Elixir (versions 2.6.0 up to but not including 3.34.6) lets an authentic
An incorrect authorization flaw in the Elixir Ash framework (versions 3.24.0 up to but not including 3.37.1) lets an aut
Persistent record-level denial of service in the ash Elixir resource framework (versions 3.6.3-3.32.1) lets any actor wh
CPU exhaustion in Ash Framework's string type constraint handler allows denial of service against Elixir applications th
Memory exhaustion via decompression bomb in Ash Framework's keyset pagination can terminate Erlang nodes running version
Unbounded string storage in Ash Framework versions 0.10.0 through 3.32.x allows unauthenticated attackers to bypass max_
EUVD-2026-68964
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB