{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.3.0"
                  },
                  {
                    "fixed": "2.8.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "80e68bb4e8b89e383dd96b1bf5de169ca61367aa"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2.8.0",
                "range": [
                  {
                    "fixed": "1c2f23ef5914c0f442a00533def1689857afb5a7"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "4c0ed74341173482415c484a2ad07df204150213"
            },
            {
              "fixed": "1c2f23ef5914c0f442a00533def1689857afb5a7"
            },
            {
              "fixed": "80e68bb4e8b89e383dd96b1bf5de169ca61367aa"
            }
          ],
          "repo": "https://github.com/keepassxreboot/keepassxc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3448-gh8j-3227"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118673.json"
  },
  "details": "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.",
  "id": "CVE-2026-118673",
  "modified": "2026-11-05T02:31:06.871842669Z",
  "published": "2026-10-29T16:01:55.635Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/keepassxreboot/keepassxc/releases/tag/2.8.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118673.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/keepassxreboot/keepassxc/security/advisories/GHSA-3448-gh8j-3227"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118673"
    },
    {
      "type": "FIX",
      "url": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa"
    },
    {
      "type": "FIX",
      "url": "https://github.com/keepassxreboot/keepassxc/pull/13679"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "KeePassXC: Out-of-bounds write in browser integration response encryption with oversized database responses"
}