Skip to main content
← All vulnerabilities
CVE-2026-77831

Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ash_paper_trail

    From 0.1.1 · fixed in 0.7.0

  • ash-project/ash_paper_trail

    Version range not reported

References 4

GitHub · ash-project/ash_paper_trail

cna.erlef.org

osv.dev