# CVE-2026-82752: Ash string length constraints count graphemes, so a combining-mark string of any size passes max\_length

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 6, 2026-12-02)
- **CWE:** CWE-1284
- **Published:** 2026-09-05T17:16:16.722Z
- **Modified:** 2026-11-19T09:18:11.510Z

## Who should check

- Anyone running ash-project ash \>= 0.10.0, \< 3.33.0
- Anyone running ash-project ash \>= 05848d5f4affe60fddd812222a18ada080c0813b, \< \*

## Description

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.

Ash 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.

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 varchar(n) column bounds the value itself and is not exposed.

This issue affects ash: from 0.10.0 before 3.33.0.

## Affected and fixed versions

- ash-project ash: \>= 0.10.0, \< 3.33.0 (cvelist)
- ash-project ash: \>= 05848d5f4affe60fddd812222a18ada080c0813b, \< \* (cvelist)

## Mitigation

- Upgrade ash to 3.33.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-82752. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-82752.md
Affected: ash-project ash >= 0.10.0, < 3.33.0; ash-project ash >= 05848d5f4affe60fddd812222a18ada080c0813b, < *
Fixed in: ash-project ash 3.33.0

Steps:
1. Search this machine and project for ash-project ash: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-82752 being exploited?

There is no confirmed exploitation: CVE-2026-82752 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-12-02).

### How serious is CVE-2026-82752?

Medium: CVSS 5.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-82752?

ash-project ash \>= 0.10.0, \< 3.33.0; ash-project ash \>= 05848d5f4affe60fddd812222a18ada080c0813b, \< \*.

### Is there a fix for CVE-2026-82752?

Yes. Fixed in ash-project ash 3.33.0. Upgrade ash to 3.33.0 or later.

### How do I check if I'm affected by CVE-2026-82752?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ash-project/ash/security/advisories/GHSA-cwjv-574p-59f6>
- patch: <https://github.com/ash-project/ash/commit/05848d5f4affe60fddd812222a18ada080c0813b>
- patch: <https://github.com/ash-project/ash/commit/a64cab49b8886503e6b7c7b211d83c475aac48ca>
- patch: <https://github.com/ash-project/ash/commit/cdbf4c4da6bda5f6f139078f01a64320b595216d>
- other: <https://cna.erlef.org/cves/CVE-2026-82752.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-82752>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-82752>

HTML: <https://flawdb.com/CVE-2026-82752> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-82752>
