CVE-2026-86776
KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size
- State
- Published
- Severity
- 4.6 Medium
- Published
- Sep 9, 2026
- Updated
- Sep 10, 2026
- Reserved
- Sep 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.6 Medium | 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 | VulnCheck |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | VulnCheck |
Weaknesses
- CWE-789 Memory Allocation with Excessive Size Value
Affected Products
| Product | Versions |
|---|---|
KeePassKeePass |
|
References
- Reporter write-up and proof of conceptexploittechnical-description
- https://keepass.info/product
- KeePass 2.61.1 downloads (including source)product
- VulnCheck Advisory: KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Sizethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.