{"id":"CVE-2026-86776","aliases":["DEBIAN-CVE-2026-86776","EUVD-2026-74788","GHSA-5r36-v86r-vm5x","UBUNTU-CVE-2026-86776"],"status":"published","title":"KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","severity":{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00168,"percentile":0.06082,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-789"],"published":"2026-09-09T10:07:26Z","modified":"2026-10-17T13:01:14Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.47+dfsg-2","2.57+dfsg-1","2.57+dfsg-1~bpo12+1","2.57+dfsg-2","2.57+dfsg-3","2.57+dfsg-4","2.60+dfsg-1"]},{"source":"osv","ecosystem":"Debian:13","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.57+dfsg-3","2.57+dfsg-4","2.60+dfsg-1"]},{"source":"osv","ecosystem":"Debian:14","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.57+dfsg-3","2.57+dfsg-4","2.60+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.29+dfsg-1","2.30+dfsg-1","2.30+dfsg-2","2.31+dfsg-1","2.32+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.36+dfsg-1","2.37+dfsg-1","2.38+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.41+dfsg-1","2.43+dfsg-1","2.44+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.47+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.47+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.60+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"keepass2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.57+dfsg-3","2.57+dfsg-4","2.60+dfsg-1"]}],"products":[{"vendor":"keepass","product":"keepass"},{"vendor":"open source","product":"keepass"}],"references":[{"url":"https://github.com/KSecur1ty/KDBX-Header-Size-Mirage-POC","tags":["exploit","technical-description","report"]},{"url":"https://keepass.info/","tags":["product","report"]},{"url":"https://keepass.info/download.html","tags":["product","report"]},{"url":"https://www.vulncheck.com/advisories/keepass-2.35-through-2.61.1-memory-exhaustion-via-kdbx-header-field-size","tags":["third-party-advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86776"},{"url":"https://keepass.info"},{"url":"https://github.com/advisories/GHSA-5r36-v86r-vm5x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-86776","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-86776","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-86776","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-86776","title":"KeePass 2.35 through 2.61.1 Memory Exhaustion via KDBX Header Field Size","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","status":"published","published":"2026-09-09T10:07:26.502Z","modified":"2026-09-10T14:58:52.747Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-789"],"updated_at":"2026-11-02T13:49:42.666099Z"}],"euvd":[{"id":"EUVD-2026-74788","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","status":"published","published":"2026-09-09T10:07:26Z","modified":"2026-09-10T14:58:52Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T17:28:24.501469Z"}],"ghsa":[{"id":"GHSA-5r36-v86r-vm5x","title":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory...","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","status":"published","published":"2026-09-09T12:32:11Z","modified":"2026-09-09T12:32:15Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-789"],"updated_at":"2026-11-02T15:11:38.096751Z"}],"nvd":[{"id":"CVE-2026-86776","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","status":"published","published":"2026-09-09T10:22:33.97Z","modified":"2026-09-10T19:58:20.507Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"}],"cwes":["CWE-789"],"updated_at":"2026-11-02T14:12:45.93749Z"}],"osv":[{"id":"DEBIAN-CVE-2026-86776","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","status":"published","published":"2026-09-09T10:22:33.97Z","modified":"2026-10-01T03:03:51.863121532Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:46:05.022702Z"},{"id":"UBUNTU-CVE-2026-86776","description":"KeePass versions 2.35 through 2.61.1 fail to validate KDBX header field sizes before memory allocation in the ReadHeaderField function. Attackers can craft a malicious KDBX file declaring excessive header field lengths to trigger allocation of gigabytes of memory, causing the application to consume resources and terminate.","status":"published","published":"2026-09-09T10:22:00Z","modified":"2026-10-17T13:01:14.261690035Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"},{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T16:57:24.828975Z"}]}}
