Description
KeePassXC is a cross-platform community-driven port of the Windows application KeePass Password Safe. From 2.3.0 until 2.8.0, KeePassXC browser integration encrypts authorized responses in src/browser/BrowserMessageBuilder.cpp using a fixed 1 MiB output vector even though Botan::Sodium::crypto_box_easy() writes the plaintext length plus crypto_box_MACBYTES. A browser-protocol client that can access the per-user IPC endpoint, has a valid database association, and causes an unlocked database to generate and encrypt a sufficiently large authorized response can trigger a sequential out-of-bounds write before any response is delivered. This issue is fixed in version 2.8.0.
Published: 2026-10-29
Score: 4.1 Medium
EPSS: n/a
KEV: No
Impact: Memory Corruption due to Out-of-Bounds Write
Action: Patch
AI Analysis

Impact

KeePassXC’s browser integration performs encryption using a fixed 1 MiB buffer while Botan::Sodium::crypto_box_easy writes a longer plaintext plus MAC. An attacker who controls a browser-Prot client with access to the IPC endpoint, an unlocked database, and can generate a sufficiently large authorized response can trigger a sequential out‑of‑bounds write before the response is delivered, corrupting memory. The CVSS score of 4.1 indicates moderate severity; the vulnerability does not explicitly claim remote code execution but allows memory corruption that could be leveraged in a contextual exploitation chain.

Affected Systems

KeePassXC versions 2.3.0 through 2.8.0 deployed by keepassxreboot are affected. The issue was fixed in the 2.8.0 release; versions prior to that remain vulnerable.

Risk and Exploitability

The flaw requires local or privileged access to the IPC endpoint and an unlocked KeePassXC database. With those prerequisites it can lead to memory corruption. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting limited proof‑of‑concept exploitation so far and a moderate attack surface. Attackers with local control can potentially exploit the buffer overflow to corrupt memory, but no confirmed remote exploitation or advanced persistence is described.

Generated by OpenCVE AI on October 29, 2026 at 17:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update KeePassXC to version 2.8.0 or later
  • If a newer version cannot be installed, disable the browser integration or block IPC endpoint access from untrusted applications
  • Ensure that KeePassXC databases are unlocked only when necessary and restrict user accounts that have access to the IPC endpoint

Generated by OpenCVE AI on October 29, 2026 at 17:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
Description KeePassXC is a cross-platform community-driven port of the Windows application KeePass Password Safe. From 2.3.0 until 2.8.0, KeePassXC browser integration encrypts authorized responses in src/browser/BrowserMessageBuilder.cpp using a fixed 1 MiB output vector even though Botan::Sodium::crypto_box_easy() writes the plaintext length plus crypto_box_MACBYTES. A browser-protocol client that can access the per-user IPC endpoint, has a valid database association, and causes an unlocked database to generate and encrypt a sufficiently large authorized response can trigger a sequential out-of-bounds write before any response is delivered. This issue is fixed in version 2.8.0.
Title KeePassXC: Out-of-bounds write in browser integration response encryption with oversized database responses
Weaknesses CWE-787
References
Metrics cvssV4_0

{'score': 4.1, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T16:01:55.635Z

Reserved: 2026-10-28T17:25:37.562Z

Link: CVE-2026-118673

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-29T16:18:03.873

Modified: 2026-10-29T16:29:56.553

Link: CVE-2026-118673

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T17:30:14Z

Weaknesses