# CVE-2026-86776: KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size

- Priority: **Routine**
- Reason: Not severe (CVSS 4.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-09 · Modified: 2026-09-10
- Aliases: UBUNTU-CVE-2026-86776, DEBIAN-CVE-2026-86776
- Record: https://cvemate.com/vulnerability/CVE-2026-86776 · JSON: https://cvemate.com/vulnerability/CVE-2026-86776/json

## Description

```text
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.
```

## Signals

- CVSS: 4.6 medium (v4.0, CVE.org) 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
- EPSS: 0.116%, percentile 1.765%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian keepass2 (Debian): All versions (No fix recorded)
- ubuntu keepass2 (Ubuntu): All versions (No fix recorded)
- keepass keepass: ≥ 2.35, ≤ 2.61.1

## References

- <https://github.com/KSecur1ty/KDBX-Header-Size-Mirage-POC>
- <https://keepass.info/>
- <https://keepass.info/download.html>
- <https://www.vulncheck.com/advisories/keepass-2.35-through-2.61.1-memory-exhaustion-via-kdbx-header-field-size>
- <https://ubuntu.com/security/CVE-2026-86776>
- <https://www.cve.org/CVERecord?id=CVE-2026-86776>
- <https://security-tracker.debian.org/tracker/CVE-2026-86776>

---

Data as of 2026-12-05T13:58:35.676Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
