# CVE-2026-82760: Superlinear base62 decoding exhausts CPU and memory in AshAuthentication API key sign-in

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-09-17T13:08:46.382Z
- Modified: 2026-11-25T17:23:10.751Z
- Also known as: EEF-CVE-2026-82760, GHSA-q876-xr24-2mcx
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

Inefficient Algorithmic Complexity vulnerability in team-alembic AshAuthentication allows an unauthenticated attacker to exhaust CPU and memory via an oversized base62 segment in a submitted API key.

AshAuthentication.Base.decode62/1 in lib/ash_authentication/base.ex splits its argument into one binary per character and folds it with charval62/2, which recomputes Integer.pow(62, index) at every position instead of accumulating by Horner's method, so cost grows roughly cubically in the input length. bindecode62/1 in the same module is quadratic through Integer.undigits/2 and Integer.digits/2. Neither function caps byte_size/1, and AshAuthentication.Strategy.ApiKey.SignInPreparation passes the underscore-separated segments of the submitted key straight into both, before any key lookup and without prior authentication. The surrounding rescue clauses catch exceptions, not CPU or memory exhaustion.

This issue affects ash_authentication: from 4.8.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

(As written by CVE List.)

## Affected

- ash_authentication: from 4.8.0 before 4.15.0; from 5.0.0-rc.0 before 5.0.0-rc.14
- team-alembic/ash_authentication: from f3a53f480088419788d5c3934af3131fa9066773 before *
- ash_authentication (Hex): from 4.8.0 before 4.15.0; from 5.0.0-rc.0 before 5.0.0-rc.14
- https://github.com/team-alembic/ash_authentication: from f3a53f480088419788d5c3934af3131fa9066773 before d5a5d4cb5cc17fbd6e2a120a6111b47accad4b8e; before dfb19c897853686ab481c5e773f7a1a0c74dea04

## Every score

- EEF: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-q876-xr24-2mcx> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-82760.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-82760> (related)
- <https://github.com/team-alembic/ash_authentication/commit/f3a53f480088419788d5c3934af3131fa9066773> (related, web)
- <https://github.com/team-alembic/ash_authentication/commit/d5a5d4cb5cc17fbd6e2a120a6111b47accad4b8e> (fix, patch)
- <https://github.com/team-alembic/ash_authentication/commit/dfb19c897853686ab481c5e773f7a1a0c74dea04> (fix, patch)
- <https://hex.pm/packages/ash_authentication> (package)

## Sources

- CVE List: [CVE-2026-82760](https://www.cve.org/CVERecord?id=CVE-2026-82760), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-82760](https://osv.dev/vulnerability/EEF-CVE-2026-82760), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-82760](https://nvd.nist.gov/vuln/detail/CVE-2026-82760), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-82760 · Whole record: https://cve.day/CVE-2026-82760.json · Rebuilt by cve.day 2026-11-25T22:59:39.237Z
