{"id":"CVE-2026-142295","summary":"Mathesar 0.7.0 through 0.12.0 Unauthenticated Memory Exhaustion via functools.cache","details":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","modified":"2026-12-02T18:01:00.872159011Z","published":"2026-12-02T16:48:59.576Z","database_specific":{"cwe_ids":["CWE-401"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142295.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142295.json"},{"type":"PACKAGE","url":"https://github.com/mathesar-foundation/mathesar"},{"type":"ARTICLE","url":"https://github.com/mathesar-foundation/mathesar/blob/0.12.0/mathesar/auth.py#L109-L138"},{"type":"ARTICLE","url":"https://github.com/mathesar-foundation/mathesar/blob/0.12.0/mathesar/views/download_link.py#L18-L66"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142295"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mathesar-0.7.0-through-0.12.0-unauthenticated-memory-exhaustion-via-functools-cache"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mathesar-foundation/mathesar","events":[{"introduced":"68686e79b8c93a6d9f00dbb4d873197da2a5bf35"},{"last_affected":"b81289204f7201e3a9032ec346f23d749da13a50"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0.7.0"},{"last_affected":"0.12.0"}]}]}}],"versions":["0.12.0","0.11.0","0.10.1","0.10.0","0.9.0","0.8.0","0.7.1","0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142295.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}