CVE-2026-86776

NameCVE-2026-86776
DescriptionKeePass 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
keepass2 (PTS)bookworm2.47+dfsg-2vulnerable
trixie2.57+dfsg-3vulnerable
forky, sid2.60+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
keepass2source(unstable)(unfixed)

Notes

https://github.com/KSecur1ty/KDBX-Header-Size-Mirage-POC
check upstream details

Search for package or bug name: Reporting problems