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.
{
"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"
}{
"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"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118673.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "111493911004628277893638997802553650241",
"length": 123
},
"id": "CVE-2026-118673-069b8a73",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp",
"function": "BrowserMessageBuilder::base64Decode"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"55685798880137831050755956201691739515",
"222221793196941214844201975510634097440",
"34252732264395476138375523797342842401",
"333299150918371723241772774077058710290",
"210206954020537630595521358328131081634",
"240695646948399283586481172841327706140",
"207658227538220412918117765526087393025"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-0b9f89e1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/proxy/NativeMessagingProxy.cpp"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"244906560214043474044883143418168487161",
"1160009149665486251144211594618614109",
"110316218386271200286046547057885426285",
"70270689236173692164098395411003064907",
"61537020825314013552456222052319337165",
"161047846504263847425266745619054514817",
"263195082373655871383069205225760262633",
"186874438122739882605465746842297972029",
"249798209377154018119044724321502858843",
"72332086140529135111406486740070626486",
"137627488187183069073582499723885677779",
"220553832161926327445604919251756541746",
"75950909350846268975940950934587671855",
"121721009976735657542861402490923974191",
"99946205420944990570506493135434672646",
"207076652466201663232672376033655619352",
"41590614649915325858696907368974948304",
"263195082373655871383069205225760262633",
"186874438122739882605465746842297972029",
"249798209377154018119044724321502858843",
"72332086140529135111406486740070626486",
"204565821057600826676378396834277613500",
"41480043212308300987991891936220385649",
"172705196388302376121469345107862420265",
"334642945158741055950033160441330431455",
"155625312078640402555398268390004155631",
"263195082373655871383069205225760262633",
"131168315213536360846228094144502720164",
"307560959432888468092275093928540467767",
"20994879472973416968877923181100796856",
"264463943670606334000899655918837657251",
"191132632987326331629034349021372997650",
"25310121261911453759869257216413507480",
"131738131273606278539358938470868829888",
"328963247004257819474611303145525324099",
"136511829569718035561458365406378531440",
"199722406071485057783066791553897550122",
"285514385528237472946132086311107634960",
"163608234873303144208436775652949157216",
"234288143320038839229422041235527969829",
"238784889311802857252499707148371569179",
"169857724772206417846961247973332171260",
"66106330500928187719068064406292602310",
"291399130467265069312863938913552351385",
"204626267448988440173734410727659111573",
"138616682949114216763705001885574912494",
"313656650654395700364031897205063112731",
"263195082373655871383069205225760262633",
"61059308365337074884853181781663199667",
"107066037120262278567882018041085705235",
"44404869422916570525971949556449265547",
"62356073990812044349215551521167474397",
"191132632987326331629034349021372997650",
"25310121261911453759869257216413507480",
"131738131273606278539358938470868829888",
"328963247004257819474611303145525324099",
"224456149899447056287526815404170085557",
"267955482886997317139176239543615530806",
"256034367683902972569116101918180281880",
"38970691857254223970390355256739877458",
"38775977300512047928181603134397511007",
"210708416844435120109862971389201998919",
"312004361504465069317046891244640700982",
"76650844480660803746345491809133756793",
"177183173750833135976882248654952988190",
"114607864828582867647933422655408803867",
"19996702449912629429046943192221377125",
"124672945425938985662747597695688711941",
"24529936492146736564118578898154942201",
"511180404005362630015261873362056953",
"27000126814523736124466790552309173210",
"289333074289759241915268032860075446924",
"309989259363763807061534803074726244820",
"254090468112253340588646558872170808749"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-217bcd44",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "6221821883701731102710119959120074638",
"length": 439
},
"id": "CVE-2026-118673-24b30bd3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "tests/TestBrowser.cpp",
"function": "TestBrowser::testEncryptMessage"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "295972413194993546992909352418927420571",
"length": 1117
},
"id": "CVE-2026-118673-3a9ea8a3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp",
"function": "BrowserMessageBuilder::decrypt"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"320131983230648321278358145527820664402",
"193218492211708388479216832249060051006",
"277701791836909652213585598714676934059",
"30942892035782326858575416603887678231",
"258820285033321206346603444602059661684",
"258646658987773579663815612939690176199",
"136359534417659947045107539769244212738",
"28330518083684317017420432226186114170",
"123599416881900893411822989715841574863",
"226697253578748014790197613184969540968",
"40428344493855161573104346993401637050",
"22504502725028659050601157902928421263",
"313676781497777241821460463509210522671"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-43388913",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "62258248389629450735545570941781470052",
"length": 331
},
"id": "CVE-2026-118673-4645e973",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp",
"function": "BrowserMessageBuilder::decryptMessage"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "19115629160146064608456012629693950897",
"length": 722
},
"id": "CVE-2026-118673-52e71d91",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserHost.cpp",
"function": "BrowserHost::readProxyMessage"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "309763602849752119956098613600815215008",
"length": 678
},
"id": "CVE-2026-118673-6acf5b1d",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/proxy/NativeMessagingProxy.cpp",
"function": "NativeMessagingProxy::setupLocalSocket"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "145566020387926021928743063333177342214",
"length": 177
},
"id": "CVE-2026-118673-6cfab48d",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserHost.cpp",
"function": "BrowserHost::sendClientMessage"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"33095133941477502030616703602631396680",
"200098887214305902455285633999289770380",
"37246397904705536067056079623424460840",
"263708257225623958236242094647592793557"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-9330bf26",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserShared.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "62030501845257021391380778762900895767",
"length": 140
},
"id": "CVE-2026-118673-95ccbd18",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "tests/TestBrowser.cpp",
"function": "TestBrowser::testIncrementNonce"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"141775235400480084609334210004837406906",
"170001228584642370551166673504162395388",
"77819465340793018323775257606839891193",
"177873920547381500581089666346295495905"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-a1b268cf",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "tests/TestBrowser.h"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"251681469437214828573009602411821243563",
"259759827984650507623898329144988780788",
"167459592762339331191280100095484313135",
"227247386292804214598949388264160165789",
"39102492737231800392589029520053459336",
"139111989278234540341997196731094675868",
"2199587151912012909809459435095358392",
"318370296765989073298201646497147572736",
"269891204402032660933340739877094620817",
"101668994891715080613236370823094391443",
"240695646948399283586481172841327706140",
"275800530460496616832440266480979790916",
"118275048005631533782893975658811765228",
"129372509654111152475600864090457017183",
"319737795368648603758322116244149350018",
"230857363636142616996612473670464265188",
"51232776858605207092680818425983346116",
"324851497862807221602607935004713959199",
"319134245838375700271881886222845117408",
"44295539198535137120415232972572566925",
"124150135793641977572055517337163239845",
"217906310280197350372296410784624146605",
"2008742995983172144989627135048706655",
"138281886669203655902643034347694946328",
"337236276186109997025073878935305622096",
"338412783645136989193426440653540821340",
"328723487093938282033970401981191523414",
"131932138804991949314480167570007673442",
"111804493302915192397773387984267904980",
"69394627787232427360304369055622063629",
"133005009245285304203147088800587323465",
"227881978502242538549640903565723006798",
"209476777626531425283835323905451775633",
"191169871116188121861326101717326581113",
"242566146445903048153848035672042281118",
"315616824120296061666706793670448181614",
"114795320350254192236783579048568999978",
"116955854622204815306343909811743553655",
"203806926588989249671400926971033082087"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-a5cc2dec",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserHost.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "317724677441466648415267000429999594082",
"length": 1098
},
"id": "CVE-2026-118673-be8ff173",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp",
"function": "BrowserMessageBuilder::encrypt"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "34275671118651618036596952913822067904",
"length": 354
},
"id": "CVE-2026-118673-cdf5ce34",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp",
"function": "BrowserMessageBuilder::encryptMessage"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"94166711684993888140369105950439732253",
"45044314042395177068695593236586890800",
"31943132282208373958268268441977397097",
"282080100923444783470503639275773061876",
"166149540551887166977762820210175709126",
"19027846523284217763521850020667221487",
"55737407204155926235816732289763138107",
"113311866488022119092325840081979853274",
"184347438266360888042182188645200343877",
"106098082665700309213496836545612474331",
"217212315089935535664537972307445292675",
"200740153593419311852552392354826068722",
"219463072801176868992194120053046729665",
"96864213802849982456323378403990825928",
"75938836487515793448811467909152350111",
"149925540346516139853792893644253649511",
"39093218296241768722637799265963588820",
"37768901803326732709513859626418402692",
"206881307288892873829034864344798416805",
"308863261803650088108082872093364993470",
"203794639244825421319382527782800625554",
"82767814972375403164280940701495440331",
"140723921815238854193248770130006361257",
"167137467756235072304405870473517949207"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-d3bd270c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "tests/TestBrowser.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "42791531595638239576095499905841478457",
"length": 212
},
"id": "CVE-2026-118673-d7b71e23",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserHost.cpp",
"function": "BrowserHost::broadcastClientMessage"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"58102899031759870483069475234350107104",
"270792666768775291889918794026118603161",
"224333676493442142276266224714216343257",
"81769363622197795091823424071557715463",
"298697608055492498316715079185763488810",
"261896018707092437553879773596994750116",
"317920245298466820903031803584447539682",
"185704804842543407296989328527077506312"
],
"threshold": 0.9
},
"id": "CVE-2026-118673-e4e6904f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserHost.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "126374562987216095879578221707947950607",
"length": 445
},
"id": "CVE-2026-118673-eed9c75e",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "tests/TestBrowser.cpp",
"function": "TestBrowser::testDecryptMessage"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "322334915471901951940920862074008424819",
"length": 283
},
"id": "CVE-2026-118673-f2a1afe1",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserHost.cpp",
"function": "BrowserHost::sendClientData"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "69924647747141167919340259398055495963",
"length": 329
},
"id": "CVE-2026-118673-fe10a93c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/keepassxreboot/keepassxc/commit/80e68bb4e8b89e383dd96b1bf5de169ca61367aa",
"target": {
"file": "src/browser/BrowserMessageBuilder.cpp",
"function": "BrowserMessageBuilder::incrementNonce"
}
}
]
"2026-11-05T07:59:47Z"