CVE-2023-32784: KeePass 2.x < 2.54 - Master Password Memory Disclosure
- Template: CVE-2023-32784
- Name: KeePass 2.x < 2.54 - Master Password Memory Disclosure
- Description: KeePass 2.x before 2.54 contains a vulnerability that allows recovery of the cleartext master password from memory dumps, even when the workspace is locked or KeePass is not running, caused by insecure memory handling, letting attackers extract sensitive data, exploit requires access to memory dumps such as process dumps, swap files, or RAM.
- Impact: Attackers can retrieve the master password from memory dumps, leading to complete compromise of stored credentials.
- Remediation: Update to KeePass 2.54 or later, which uses different API and/or inserts random strings to mitigate this issue.
- Severity: high
- Authors: 0x_Akoko
- Tags: cve, cve2023, keepass, file, disclosure, vkev
- References: https://github.com/vdohney/keepass-password-dumper, https://sourceforge.net/p/keepass/discussion/329220/thread/f3438e6283/, https://keepass.info/news/n230603_2.54.html, https://nvd.nist.gov/vuln/detail/CVE-2023-32784
- Cves: CVE-2023-32784
- Verified: yes
- Max requests: 1
- Directory: code/cves
- Path: code/cves/2023/CVE-2023-32784.yaml
- Digest: 4a0a004730450220776bfa858c639cd5fd58046a0e310fb778e6b0ab9643a27531e9831bc30f6234022100d7b4bd1ab32722949e0d273c38d6b2274d6725d4ec17ad794b7f5a0003267a44
- Created at: 2026-11-20T10:44:56Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 3
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/code/cves/2023/CVE-2023-32784.yaml
Classification
- Cwe: CWE-212
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0578
- Epss percentile: 0.93283
- Not known: cpe
Metadata
- Max-request: 1
- Product: keepass
- Vendor: keepass
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| keepass:keepass | yes | /v1/products/keepass/keepass |
Labels
- Name: KeePass - Information Disclosure
- Impact: Attackers can retrieve the master password from memory dumps, leading to complete compromise of stored credentials.
- Remediation: Update to KeePass 2.54 or later, which uses different API and/or inserts random strings to mitigate this issue.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-32784
- Not known: vulnerability type, requirements
```yaml
id: CVE-2023-32784
info:
name: KeePass 2.x < 2.54 - Master Password Memory Disclosure
author: 0x_Akoko
severity: high
description: |
KeePass 2.x before 2.54 contains a vulnerability that allows recovery of the cleartext master password from memory dumps, even when the workspace is locked or KeePass is not running, caused by insecure memory handling, letting attackers extract sensitive data, exploit requires access to memory dumps such as process dumps, swap files, or RAM.
impact: |
Attackers can retrieve the master password from memory dumps, leading to complete compromise of stored credentials.
remediation: |
Update to KeePass 2.54 or later, which uses different API and/or inserts random strings to mitigate this issue.
reference:
- https://github.com/vdohney/keepass-password-dumper
- https://sourceforge.net/p/keepass/discussion/329220/thread/f3438e6283/
- https://keepass.info/news/n230603_2.54.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-32784
classification:
cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2023-32784
epss-score: 0.0578
epss-percentile: 0.93283
cwe-id: CWE-212
metadata:
verified: true
max-request: 1
vendor: keepass
product: keepass
tags: cve,cve2023,keepass,file,disclosure,vkev
file:
- extensions:
- exe
max-size: 20971520
matchers:
- type: dsl
dsl:
- 'contains(hex_encode(raw), "500072006f0064007500630074004e0061006d006500000000004b00650065005000610073007300")'
- 'regex("460069006c006500560065007200730069006f006e000000000032002e00(3[0-4]003[0-9]00|35003[0-3]00|3[0-9]00)2e00", hex_encode(raw))'
condition: and
extractors:
- type: regex
name: kpmina
part: raw
group: 1
internal: true
regex:
- 'F\x00i\x00l\x00e\x00V\x00e\x00r\x00s\x00i\x00o\x00n\x00\x00\x00\x00\x002\x00\.\x00([0-9])\x00'
- type: regex
name: kpminb
part: raw
group: 1
internal: true
regex:
- 'F\x00i\x00l\x00e\x00V\x00e\x00r\x00s\x00i\x00o\x00n\x00\x00\x00\x00\x002\x00\.\x00[0-9]\x00([0-9])\x00'
- type: dsl
dsl:
- '"KeePass 2." + kpmina + kpminb'
digest: 4a0a004730450220776bfa858c639cd5fd58046a0e310fb778e6b0ab9643a27531e9831bc30f6234022100d7b4bd1ab32722949e0d273c38d6b2274d6725d4ec17ad794b7f5a0003267a44:922c64590222798bb761d5b6d8e72950
```