Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-77831
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 00:02 UTC · Revision 1
Source evidence
Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking
core-osv · Original sourcePublished 30 Aug 2026, 00:18 UTC
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.
osv:CVE-2026-77831
Complete source record
{
"id": "ad9248679ed7d738fd57d7f31d7e7a974992cc2dc8a9d8e4d53c609c7612342f",
"url": "https://osv.dev/vulnerability/CVE-2026-77831",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking",
"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.",
"evidence": "osv:CVE-2026-77831",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-77831",
"aliases": [
"CVE-2026-77831",
"EEF-CVE-2026-77831",
"GHSA-7c66-59m8-723c"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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": [
{
"ranges": [
{
"repo": "https://github.com/ash-project/ash_paper_trail",
"type": "GIT",
"events": [
{
"introduced": "449cd2a93416853066378fa61c715e89f80dc854"
},
{
"fixed": "e781f5d8840b07d57db99f9a4728298837d7b3a8"
},
{
"introduced": "e4f1a1527c84a1ba0ceffb271abcb72cb78fc92c"
},
{
"fixed": "e03925c19365697ceb099d2ceca9ee1f5ce8c8b8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "449cd2a93416853066378fa61c715e89f80dc854"
},
{
"fixed": "e781f5d8840b07d57db99f9a4728298837d7b3a8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.1.1"
},
{
"fixed": "0.7.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "e781f5d8840b07d57db99f9a4728298837d7b3a8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.6.0",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.3.0",
"v0.2.1",
"v0.2.0",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.2-rc.0",
"v0.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77831.json"
}
}
],
"modified": "2026-10-28T02:30:45.486820776Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2026-77831.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2026-77831",
"https://repo.hex.pm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77831.json",
"https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-7c66-59m8-723c",
"https://nvd.nist.gov/vuln/detail/CVE-2026-77831",
"https://github.com/ash-project/ash_paper_trail/commit/e781f5d8840b07d57db99f9a4728298837d7b3a8",
"https://github.com/ash-project/ash_paper_trail"
],
"provider_metadata": {
"cwe_ids": [
"CWE-407"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77831.json"
}
},
"related_cves": [
{
"value": "CVE-2026-77831",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513303,
"published_at": "2026-08-30T00:18:38.078+00:00"
}