CVE-2026-86776

Summary

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 Software

VendorProductVersion RangeStatus
KeePassKeePass2.35 <= 2.61.1affected

Weaknesses

  • CWE-789: Memory Allocation with Excessive Size Value

References