{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Type.String'","'Elixir.Ash.Resource.Validation.StringLength'","'Elixir.Ash.Query.Function.StringLength'"],"packageName":"ash","packageURL":"pkg:hex/ash","product":"ash","programFiles":["lib/ash/type/string.ex","lib/ash/resource/validation/string_length.ex","lib/ash/query/function/string_length.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type.String':apply_constraints/2"},{"name":"'Elixir.Ash.Type.String':apply_atomic_constraints/2"},{"name":"'Elixir.Ash.Resource.Validation.StringLength':validate/3"},{"name":"'Elixir.Ash.Resource.Validation.StringLength':atomic/3"},{"name":"'Elixir.Ash.Query.Function.StringLength':evaluate/1"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"3.33.0","status":"affected","version":"0.10.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Type.String'","'Elixir.Ash.Resource.Validation.StringLength'","'Elixir.Ash.Query.Function.StringLength'"],"packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","product":"ash","programFiles":["lib/ash/type/string.ex","lib/ash/resource/validation/string_length.ex","lib/ash/query/function/string_length.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type.String':apply_constraints/2"},{"name":"'Elixir.Ash.Type.String':apply_atomic_constraints/2"},{"name":"'Elixir.Ash.Resource.Validation.StringLength':validate/3"},{"name":"'Elixir.Ash.Resource.Validation.StringLength':atomic/3"},{"name":"'Elixir.Ash.Query.Function.StringLength':evaluate/1"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"changes":[{"at":"a64cab49b8886503e6b7c7b211d83c475aac48ca","status":"unaffected"},{"at":"cdbf4c4da6bda5f6f139078f01a64320b595216d","status":"unaffected"}],"lessThan":"*","status":"affected","version":"05848d5f4affe60fddd812222a18ada080c0813b","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>A resource attribute must carry a <code>max_length</code> constraint (or an equivalent <code>string_length</code> validation) fed from client input, and the data layer must impose no independent size limit of its own. The ETS and Mnesia data layers and Postgres <code>text</code> columns store the value in full; a Postgres <code>varchar(n)</code> column bounds it independently and is not exposed.</p>"},{"base64":false,"type":"text/markdown","value":"A resource attribute must carry a `max_length` constraint (or an equivalent `string_length` validation) fed from client input, and the data layer must impose no independent size limit of its own. The ETS and Mnesia data layers and Postgres `text` columns store the value in full; a Postgres `varchar(n)` column bounds it independently and is not exposed."}],"value":"A resource attribute must carry a max_length constraint (or an equivalent string_length validation) fed from client input, and the data layer must impose no independent size limit of its own. The ETS and Mnesia data layers and Postgres text columns store the value in full; a Postgres varchar(n) column bounds it independently and is not exposed."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.33.0","versionStartIncluding":"0.10.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"reporter","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to store a value of arbitrary size in an attribute whose length constraint should bound it.</p>\n<p>Ash measures string length with Elixir's <code>String.length/1</code>, which counts Unicode graphemes, in the <code>max_length</code> and <code>min_length</code> constraints of <code>Ash.Type.String</code> (<code>apply_constraints/2</code> in <code>lib/ash/type/string.ex</code>), in <code>Ash.Resource.Validation.StringLength</code>, and in the <code>string_length</code> expression function. A grapheme carries an unbounded number of combining marks, so a base character followed by a million combining acute accents is one grapheme and megabytes of data, and satisfies <code>max_length: 2</code>. Where the data layer imposes no independent limit (ETS, Mnesia, or a Postgres <code>text</code> column) the whole value is persisted, so an attacker can write an entire request body into an attribute declared with a small maximum and grow storage without bound.</p>\n<p>The counting unit also disagrees with the storage layer, which counts codepoints rather than graphemes, so a value accepted by the constraint can still be rejected or truncated by the column. A Postgres <code>varchar(n)</code> column bounds the value itself and is not exposed.</p>\n<p>This issue affects ash: from 0.10.0 before 3.33.0.</p>"},{"base64":false,"type":"text/markdown","value":"Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to store a value of arbitrary size in an attribute whose length constraint should bound it.\n\nAsh measures string length with Elixir's `String.length/1`, which counts Unicode graphemes, in the `max_length` and `min_length` constraints of `Ash.Type.String` (`apply_constraints/2` in `lib/ash/type/string.ex`), in `Ash.Resource.Validation.StringLength`, and in the `string_length` expression function. A grapheme carries an unbounded number of combining marks, so a base character followed by a million combining acute accents is one grapheme and megabytes of data, and satisfies `max_length: 2`. Where the data layer imposes no independent limit (ETS, Mnesia, or a Postgres `text` column) the whole value is persisted, so an attacker can write an entire request body into an attribute declared with a small maximum and grow storage without bound.\n\nThe counting unit also disagrees with the storage layer, which counts codepoints rather than graphemes, so a value accepted by the constraint can still be rejected or truncated by the column. A Postgres `varchar(n)` column bounds the value itself and is not exposed.\n\nThis issue affects ash: from 0.10.0 before 3.33.0."}],"value":"Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to store a value of arbitrary size in an attribute whose length constraint should bound it.\n\nAsh measures string length with Elixir's String.length/1, which counts Unicode graphemes, in the max_length and min_length constraints of Ash.Type.String (apply_constraints/2 in lib/ash/type/string.ex), in Ash.Resource.Validation.StringLength, and in the string_length expression function. A grapheme carries an unbounded number of combining marks, so a base character followed by a million combining acute accents is one grapheme and megabytes of data, and satisfies max_length: 2. Where the data layer imposes no independent limit (ETS, Mnesia, or a Postgres text column) the whole value is persisted, so an attacker can write an entire request body into an attribute declared with a small maximum and grow storage without bound.\n\nThe counting unit also disagrees with the storage layer, which counts codepoints rather than graphemes, so a value accepted by the constraint can still be rejected or truncated by the column. A Postgres varchar(n) column bounds the value itself and is not exposed.\n\nThis issue affects ash: from 0.10.0 before 3.33.0."}],"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153 Input Data Manipulation"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-05T17:16:16.722Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash/security/advisories/GHSA-cwjv-574p-59f6"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-82752.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82752"},{"tags":["patch"],"url":"https://github.com/ash-project/ash/commit/a64cab49b8886503e6b7c7b211d83c475aac48ca"},{"tags":["patch"],"url":"https://github.com/ash-project/ash/commit/cdbf4c4da6bda5f6f139078f01a64320b595216d"}],"source":{"discovery":"EXTERNAL"},"title":"Ash string length constraints count graphemes, so a combining-mark string of any size passes max_length"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-82752","datePublished":"2026-09-05T17:16:16.722Z","dateReserved":"2026-08-31T01:00:10.817Z","dateUpdated":"2026-09-05T17:16:16.722Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}