# CVE-2026-118673: KeePassXC: Out-of-bounds write in browser integration response encryption with oversized database responses

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.1
- **CVSS:** 4.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-10-29T16:01:55.635Z
- **Modified:** 2026-11-03T17:17:58.770Z

## Who should check

- Anyone running keepassxreboot keepassxc \>= 2.3.0, \< 2.8.0

## 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.

## Affected and fixed versions

- keepassxreboot keepassxc: \>= 2.3.0, \< 2.8.0 (cvelist)

## Mitigation

- Upgrade keepassxc to 2.8.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-118673. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-118673.md
Affected: keepassxreboot keepassxc >= 2.3.0, < 2.8.0
Fixed in: keepassxreboot keepassxc 2.8.0

Steps:
1. Search this machine and project for keepassxreboot keepassxc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-118673 being exploited?

There is no confirmed exploitation: CVE-2026-118673 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-118673?

Medium: CVSS 4.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-118673?

keepassxreboot keepassxc \>= 2.3.0, \< 2.8.0.

### Is there a fix for CVE-2026-118673?

Yes. Fixed in keepassxreboot keepassxc 2.8.0. Upgrade keepassxc to 2.8.0 or later.

### How do I check if I'm affected by CVE-2026-118673?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/keepassxreboot/keepassxc/security/advisories/GHSA-3448-gh8j-3227>
- patch: <https://github.com/keepassxreboot/keepassxc/pull/13679>
- patch: <https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa>
- other: <https://github.com/keepassxreboot/keepassxc/releases/tag/2.8.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118673>

HTML: <https://flawdb.com/CVE-2026-118673> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118673>
