Skip to main content
EPSS 0.2%top 93%

CVE-2026-77831: CWE-407 Inefficient Algorithmic Complexity in ash-project ash_paper_trail

0
Low
VulnerabilityCVE-2026-77831cvecve-2026-77831cwe-407
Published: 08/30/2026 (08/30/2026, 00:18:38 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: ash_paper_trail

Description

CVE-2026-77831 is an inefficient algorithmic complexity vulnerability in the ash-project's ash_paper_trail library. It allows a user who can submit a large array attribute during a paper-trailed create or update action to cause a denial of service by consuming excessive CPU and memory resources. The vulnerability arises from the way the library pairs prior array elements with new ones, resulting in cubic scaling of resource use relative to the array length. This affects versions from 0.1.1 up to but not including 0.7.0.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ash-project

ash_paper_trail

Affected versions
>=0.1.1 <0.7.0

ash-project

ash_paper_trail

ash_paper_trail
pkg:hex/ash_paper_trail
Affected versions
>=0.1.1 <0.7.0
GitHub Actionsmore threats →cve
ash-project/ash_paper_trail
pkg:github/ash-project/ash_paper_trail
CPE configurations
cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:49:19 UTC

Technical Analysis

The vulnerability in ash_paper_trail (CVE-2026-77831) is due to inefficient algorithmic complexity in the FullDiff change tracking mechanism. Specifically, AshPaperTrail.ChangeBuilders.FullDiff.ListChange pairs each prior array element with the new list by rebuilding an accumulator list with repeated list concatenations (acc ++ [tuple]) on every step. This causes the pairing operation to scale cubically with the length of the input array. Since the array length is unbounded and directly controlled by user input, an attacker can submit a large array attribute to a create or update action that uses paper-trail tracking, causing excessive CPU usage and multi-gigabyte memory allocations, leading to a denial of service. The affected versions are ash_paper_trail from 0.1.1 before 0.7.0.

Potential Impact

An attacker able to submit large array attributes to paper-trailed create or update actions can cause a denial of service condition by forcing the application to consume excessive CPU and memory resources. This can degrade service availability and potentially crash the application or host system. The CVSS 4.0 score is low (2.1), reflecting the local attack vector and the requirement for user interaction, with limited impact scope.

Mitigation Recommendations

No official patch or remediation is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider limiting the size of array attributes accepted by paper-trailed create or update actions or implement input validation to restrict excessively large arrays to mitigate potential denial of service.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-27T16:30:01.792Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a940de9acd9273b49726995

Added to database: 08/30/2026, 11:03:05 UTC

Last enriched: 09/07/2026, 15:49:19 UTC

Last updated: 10/14/2026, 18:48:24 UTC

Views: 118

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses