CVE-2026-86776
4.6medium
KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size
- Severity
- 4.6medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| KeePass KeePass | from 2.35 up to 2.61.1 | CVE List |
All scores
| VulnCheck | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| VulnCheck | 4.6medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/KSecur1ty/KDBX-Header-Size-Mirage-POC | exploit, technical-description | |
| https://keepass.info/ | product | |
| https://keepass.info/download.html | product | |
| https://www.vulncheck.com/advisories/keepass-2.35-through-2.61.1-memory-exhaustion-via-kdbx-header-field-size | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-86776 changed 2026-09-10 | CVE Terms of Use |
| NVD | CVE-2026-86776 changed 2026-09-10 | Public domain |