Skip to main content

KeePass CVE-2026-86776

| EUVDEUVD-2026-74788 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-09-09 VulnCheck GHSA-5r36-v86r-vm5x
4.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft KDBX file with inflated header field lengths
  2. Delivery
    Deliver file to target via phishing or file substitution
  3. Exploit
    Target opens malicious KDBX in KeePass 2.35-2.61.1
  4. Execution
    ReadHeaderField allocates gigabytes of memory without bounds check
  5. Impact
    RAM exhausted, application crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

The target user must manually open a crafted KDBX file within KeePass (UI:R per the CVSS vector) - exploitation cannot occur without this deliberate user action. The attack vector is local (AV:L), meaning the malicious file must reach the victim's filesystem, typically via social engineering such as phishing or file substitution of a legitimate database. No elevated system privileges are required of the attacker (PR:N). The vulnerability triggers in the default KeePass file-open code path with no special features or non-default configuration needed. Exploitation is bounded to the KeePass process itself: the operating system is not compromised, and stored credential data is not exposed during the crash - impact ends when the application terminates.

Impact

The CVSS 3.3 base score accurately reflects the constrained severity: the attack vector is local (AV:L), user interaction is required (UI:R), and impact is limited to application availability (A:L) with no confidentiality or integrity consequences. Despite the publicly available proof-of-concept hosted at GitHub, the exploitation chain is not automatable - an attacker must socially engineer a target into opening a crafted file, which materially limits realistic threat scale. SSVC framing: exploitation status is proof-of-concept only (not active), the technique is not automatable at scale, and technical impact is partial (application crash, not system compromise). In practice, even a mid-sized municipal IT team in gliwice that runs KeePass as its standard enterprise credential store would face temporary lockout from the password database rather than any credential exfiltration - a meaningful but non-critical disruption. The absence of a CISA KEV entry and the DoS-only impact profile place this squarely in scheduled patching rather than emergency response territory.

Exploit ScenarioDerived

An attacker crafts a KDBX file with header field length values set to multi-gigabyte figures and delivers it to a target via phishing email or by substituting a legitimate database backup on shared storage. When the victim opens the file in KeePass 2.35-2.61.1, ReadHeaderField allocates the declared memory without validation, rapidly exhausting available RAM and crashing the application. A public proof-of-concept demonstrating this technique is available at https://github.com/KSecur1ty/KDBX-Header-Size-Mirage-POC.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

Memory exhaustion in KeePass 2.35 through 2.61.1 crashes the password manager when a user opens a crafted KDBX database file whose header fields declare excessive allocation lengths. The ReadHeaderField function performs no bounds validation before honoring attacker-controlled length values, enabling gigabyte-scale memory allocations that exhaust system RAM and terminate the process. A proof-of-concept is publicly available on GitHub; no active exploitation is confirmed in CISA KEV, and real-world impact is confined to application availability - stored credentials are not exposed.

RemediationAI

Update KeePass to a version beyond 2.61.1 by consulting the official download page at https://keepass.info/download.html and verifying the release resolves CVE-2026-86776 per the VulnCheck advisory at https://www.vulncheck.com/advisories/keepass-2.35-through-2.61.1-memory-exhaustion-via-kdbx-header-field-size; no specific patched version number is confirmed in available data so the fix version must be independently verified before deployment. As a compensating control until a patch is applied, endpoint security policies or email gateway rules can be configured to flag or quarantine KDBX files received from external or untrusted sources, reducing the social-engineering delivery path with minimal operational impact for users who obtain their databases from internal systems only. Users should be instructed not to open KDBX database files from unknown or untrusted parties.

Affected VersionsENISA

KeePass 2.35 ≤2.61.1

Affected Packages

euvd keepass no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

KeePass stores encrypted password databases in the KDBX binary format (versions 3 and 4). During file parsing, the ReadHeaderField function reads variable-length header blocks whose sizes are declared in the file itself and allocates memory according to those declared values. CWE-789 (Uncontrolled Memory Allocation) captures the root cause: the application treats attacker-controlled integer fields from user-supplied input as trustworthy allocation sizes without first validating them against reasonable bounds. Because a KDBX file is external input, an adversary can set a 4-byte length field to an arbitrarily large value, causing ReadHeaderField to request gigabytes of RAM in a single allocation. All KeePass builds in the range CPE cpe:2.3:a:keepass:keepass:*:*:*:*:*:*:*:* versions 2.35-2.61.1 are affected.

Know when Keepass gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.6 LOW
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
vuln.today AI 3.3 LOW

Local file-parse DoS requires user to open a crafted file; impact is application crash only with no credential exposure, supporting A:L.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Sep 09, 2026 - 10:37 NVD
LOW MEDIUM
CVSS changed
Sep 09, 2026 - 10:37 NVD
3.3 (LOW) 4.6 (MEDIUM)
CVE Published
Sep 09, 2026 - 10:07 cve.org
LOW 3.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
widely used open-source password manager, millions of individual and enterprise deployments
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy