CVE-2026-86776KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | keepass2 | Fix pending | UBUNTU-CVE-2026-86776 | |
| Ubuntu 26.04 | keepass2 | Under investigation | UBUNTU-CVE-2026-86776 | |
| Ubuntu 24.04 | keepass2 | Under investigation | UBUNTU-CVE-2026-86776 | |
| Ubuntu 22.04 | keepass2 | Under investigation | UBUNTU-CVE-2026-86776 | |
| Ubuntu 20.04 | keepass2 | Fix pending | UBUNTU-CVE-2026-86776 | |
| Ubuntu 18.04 | keepass2 | Fix pending | UBUNTU-CVE-2026-86776 | |
| Ubuntu 16.04 | keepass2 | Fix pending | UBUNTU-CVE-2026-86776 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- KeePass: affected: 2.35 to 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.