{"id":"CVE-2026-118673","state":"PUBLISHED","title":"KeePassXC: Out-of-bounds write in browser integration response encryption with oversized database responses","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.","publishedAt":"2026-10-29T16:01:55.635Z","updatedAt":"2026-10-29T16:01:55.635Z","severity":{"score":4.1,"label":"Medium","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["keepassxreboot keepassxc"],"affected":[{"vendor":"keepassxreboot","product":"keepassxc","versions":[{"version":">= 2.3.0, < 2.8.0","status":"affected"}]}],"references":["https://github.com/keepassxreboot/keepassxc/security/advisories/GHSA-3448-gh8j-3227","https://github.com/keepassxreboot/keepassxc/pull/13679","https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa","https://github.com/keepassxreboot/keepassxc/releases/tag/2.8.0"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118673.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118673","state":"PUBLISHED","datePublished":"2026-10-29T16:01:55.635Z","dateUpdated":"2026-10-29T16:01:55.635Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-28T17:25:37.562Z"},"containers":{"cna":{"title":"KeePassXC: Out-of-bounds write in browser integration response encryption with oversized database responses","descriptions":[{"lang":"en","value":"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":[{"vendor":"keepassxreboot","product":"keepassxc","versions":[{"version":">= 2.3.0, < 2.8.0","status":"affected"}]}],"references":[{"url":"https://github.com/keepassxreboot/keepassxc/security/advisories/GHSA-3448-gh8j-3227","name":"https://github.com/keepassxreboot/keepassxc/security/advisories/GHSA-3448-gh8j-3227","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/keepassxreboot/keepassxc/pull/13679","name":"https://github.com/keepassxreboot/keepassxc/pull/13679","tags":["x_refsource_MISC"]},{"url":"https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa","name":"https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa","tags":["x_refsource_MISC"]},{"url":"https://github.com/keepassxreboot/keepassxc/releases/tag/2.8.0","name":"https://github.com/keepassxreboot/keepassxc/releases/tag/2.8.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":4.1,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-29T16:01:55.635Z"},"source":{"advisory":"GHSA-3448-gh8j-3227","discovery":"UNKNOWN"}}}}}