CVE-2026-77831
Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking
Check your servers for CVE-2026-77831
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-77831 affects ash_paper_trail, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability low: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 31 Aug 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-407 Inefficient Algorithmic Complexity
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ash_paper_trail
package
ash_paper_trail |
affected from 0.1.1, before 0.7.0
Other versions: unaffected
|
|
ash_paper_trail
package
ash-project/ash_paper_trail |
affected from 449cd2a93416853066378fa61c715e89f80dc854, before e781f5d8840b07d57db99f9a4728298837d7b3a8
Other versions: unaffected
|
Is my server affected?
Find the installed version of ash_paper_trail and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ash_paper_trail
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-77831 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-77831RHEL, Rocky, Alma, Fedora
rpm -q ash_paper_trail
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-77831Alpine
apk list --installed | grep -i ash_paper_trailWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-77831
trivy image --scanners vuln IMAGE | grep CVE-2026-77831
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- Fix commit e781f5d in ash-project/ash_paper_trail github.com · patch
Exploits and proof of concept
- https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-7c66-59m8-723c github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-77831 cna.erlef.org · related
- OSV record EEF-CVE-2026-77831 osv.dev · related
- Introducing commit 449cd2a in ash-project/ash_paper_trail github.com · related
Source: the record CVE-2026-77831 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse