CVE-2026-77831

Source
https://cve.org/CVERecord?id=CVE-2026-77831
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77831.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-77831
Aliases
Published
2026-08-30T00:18:38Z
Modified
2026-09-03T03:30:32Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking
Details

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.

Database specific
{
    "cna_assigner": "EEF",
    "cwe_ids": [
        "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77831.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "449cd2a93416853066378fa61c715e89f80dc854"
                },
                {
                    "fixed": "e781f5d8840b07d57db99f9a4728298837d7b3a8"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/ash-project/ash_paper_trail

Affected ranges

Type
GIT
Repo
https://github.com/ash-project/ash_paper_trail
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.1.1"
        },
        {
            "fixed": "0.7.0"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.1.1
v0.1.2
v0.1.2-rc.0
v0.1.3
v0.1.4
v0.2.0
v0.2.1
v0.3.0
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77831.json"