# CVE-2026-77831: Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-30T00:18:38.078Z
- Modified: 2026-11-25T06:31:02.259Z
- Also known as: EEF-CVE-2026-77831, GHSA-7c66-59m8-723c
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

Inefficient Algorithmic Complexity vulnerability in ash-project ash_paper_trail allows a user who can submit a large array attribute to a paper-trailed create or update action to cause a denial of service through excessive CPU and memory use.

With full-diff change tracking, AshPaperTrail.ChangeBuilders.FullDiff.ListChange pairs each prior array element against the new list by rebuilding the remaining-elements accumulator with acc ++ [tuple] on every step, copying the growing list each time, so the pairing scales cubically in the array length. Nothing bounds the length and the value comes straight from action input, so one request carrying a large accepted {:array, _} attribute forces tens of seconds of CPU and multi-gigabyte allocations.

This issue affects ash_paper_trail: from 0.1.1 before 0.7.0.

(As written by CVE List.)

## Affected

- ash_paper_trail: from 0.1.1 before 0.7.0
- ash-project/ash_paper_trail: from 449cd2a93416853066378fa61c715e89f80dc854 before e781f5d8840b07d57db99f9a4728298837d7b3a8
- ash_paper_trail (Hex): from 0.1.1 before 0.7.0
- https://github.com/ash-project/ash_paper_trail: from 449cd2a93416853066378fa61c715e89f80dc854 before e781f5d8840b07d57db99f9a4728298837d7b3a8

## Every score

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

## References

- <https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-7c66-59m8-723c> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-77831.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-77831> (related)
- <https://github.com/ash-project/ash_paper_trail/commit/449cd2a93416853066378fa61c715e89f80dc854> (related, web)
- <https://github.com/ash-project/ash_paper_trail/commit/e781f5d8840b07d57db99f9a4728298837d7b3a8> (fix, patch)
- <https://hex.pm/packages/ash_paper_trail> (package)

## Sources

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

---

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