CVE-2023-32784

HIGH EXPLOITED

KeePass 2.00-2.53 - Cleartext Master Password Exposure via Memory Dump

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2023-32784 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 15 public exploits from researchers including vdohney, z-jxy, und3sc0n0c1d0.

AI-analyzed exploit summary This PoC extracts KeePass 2.x master passwords from memory dumps by scanning for Unicode characters masked by KeePass's SecureTextBoxEx (displayed as '●'). It reconstructs potential password candidates by analyzing sequences of these characters and adjacent valid Unicode characters.

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.

Exploits (15)

nomisec WORKING POC 644 stars
by vdohney · local
https://github.com/vdohney/keepass-password-dumper

This PoC extracts KeePass 2.x master passwords from memory dumps by scanning for Unicode characters masked by KeePass's SecureTextBoxEx (displayed as '●'). It reconstructs potential password candidates by analyzing sequences of these characters and adjacent valid Unicode characters.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass 2.x (fixed in 2.54)
No auth needed
Prerequisites: Memory dump file from a system where KeePass 2.x was used · Master password must have been typed (not pasted)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 26 stars
by z-jxy · local
https://github.com/z-jxy/keepass_dump

This is a Python-based PoC for CVE-2023-32784, which exploits a memory dump vulnerability in KeePass 2.X to extract masterkey characters. It includes features like partial scanning, character recovery, and wordlist-based searches to reconstruct passwords from memory dumps.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass 2.X
No auth needed
Prerequisites: Access to a KeePass 2.X memory dump file
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 6 stars
by und3sc0n0c1d0 · local
https://github.com/und3sc0n0c1d0/BruteForce-to-KeePass

This PowerShell script automates brute-forcing KeePass master passwords by generating a dictionary based on user-provided characters and a known suffix, then testing each entry against a KeePass database file. It leverages KeePass libraries to validate credentials.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: KeePass Password Safe 2
No auth needed
Prerequisites: KeePass installation path · KeePass database file (kdbx) · Known suffix of the master password
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 4 stars
by mister-turtle · local
https://github.com/mister-turtle/cve-2023-32784

This PoC extracts the master password from a memory dump of a KeePass process by scanning for specific byte patterns (0xCF 0x25) that precede password characters. It reconstructs potential characters by position and generates a John the Ripper mask for further cracking.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass 2.X < 2.54
No auth needed
Prerequisites: Memory dump of an unlocked KeePass process
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by CTM1 · local
https://github.com/CTM1/CVE-2023-32784-keepass-linux

This PoC exploits CVE-2023-32784 to dump KeePass process memory on Linux, extracting master password remnants by scanning for specific Unicode patterns. It requires root access to `/proc/[pid]/mem` and targets KeePass versions before 2.54.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass < 2.54
No auth needed
Prerequisites: Root access to `/proc/[pid]/mem` · KeePass process running
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by areebashoaib42 · poc
https://github.com/areebashoaib42/KeePass-CVE-2023-32784-Exploitation-and-Defense

Technical analysis of CVE-2023-32784, a memory leak vulnerability in KeePass 2.53, detailing how master passwords can be extracted from memory dumps and proposing detection/mitigation strategies.

Classification
Writeup 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass Password Safe v2.53
No auth needed
Prerequisites: Access to the target system · Ability to dump process memory
devstral-2 · analyzed Jun 04, 2026 Full analysis →
nomisec WORKING POC
by super-oof · local
https://github.com/super-oof/keepass2-password-finder

This repository contains a functional Python script that exploits CVE-2023-32784 to dump passwords from KeePass 2.X memory dumps by scanning for Unicode characters and reconstructing password strings. The script reads a binary file and uses regex to filter valid characters, demonstrating the vulnerability effectively.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass 2.X
No auth needed
Prerequisites: memory dump file from KeePass 2.X
devstral-2 · analyzed Mar 24, 2026 Full analysis →
nomisec WORKING POC
by G4sp4rCS · poc
https://github.com/G4sp4rCS/CVE-2023-32784-password-combinator-fixer

This repository provides a Python script to generate password combinations for CVE-2023-32784, addressing incorrect character parsing in KeePass. It replaces placeholder characters with potential valid characters to recover the original password.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: KeePass (version not specified)
No auth needed
Prerequisites: Access to a password dump with placeholder characters
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by dev0558 · local
https://github.com/dev0558/CVE-2023-32784-EXPLOIT-REPORT

This repository provides a detailed writeup and step-by-step guide for exploiting CVE-2023-32784, a memory leakage vulnerability in KeePass versions prior to 2.54. The exploit involves dumping KeePass process memory and using a .NET-based tool to recover the master password (excluding the first character).

Classification
Writeup 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass versions 2.0 through 2.53
No auth needed
Prerequisites: Physical or local access to memory dumps · KeePass 2.x (prior to 2.54) · .NET 7 Runtime · PoC tool (KeePass Password Dumper)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by le01s · poc
https://github.com/le01s/poc-CVE-2023-32784

This PoC analyzes a memory dump to extract potential password candidates by identifying patterns of bytes (0xCF 0x25) followed by printable ASCII characters. It is designed to exploit an information leak vulnerability in a specific context, likely related to password recovery or extraction from memory.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Theoretical
Target: Unknown (likely a specific application with memory dump vulnerabilities)
No auth needed
Prerequisites: Access to a memory dump file from the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by dawnl3ss · local
https://github.com/dawnl3ss/CVE-2023-32784

This PoC extracts potential KeePass master key candidates from a memory dump by analyzing patterns and reconstructing possible passwords. It leverages the vulnerability in KeePass where master key material may remain in memory after use.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass (versions affected by CVE-2023-32784)
No auth needed
Prerequisites: Memory dump from a system where KeePass was used · Access to the memory dump file
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by hau-zy · local
https://github.com/hau-zy/KeePass-dump-py

This Python script exploits CVE-2023-32784 by dumping KeePass process memory using WerFault and extracting the master password from the dump. It checks for or spawns KeePass, performs the dump, and parses the memory for password characters.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass 2.X
No auth needed
Prerequisites: KeePass process running or installed in default paths · Local execution context
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by LeDocteurDesBits · local
https://github.com/LeDocteurDesBits/cve-2023-32784

This Rust-based PoC exploits CVE-2023-32784 to dump the master password from a KeePass 2.X memory dump by analyzing byte patterns and reconstructing possible password candidates.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass 2.X
No auth needed
Prerequisites: Memory dump file from a KeePass process
devstral-2 · analyzed Feb 16, 2026 Full analysis →
vulncheck_xdb WORKING POC
local
https://github.com/Orange-Cyberdefense/KeePwn

KeePwn is a Python-based tool designed to discover KeePass instances, extract secrets via plugin and trigger abuse, and parse memory dumps for master password candidates (CVE-2023-32784). It includes modules for SMB-based discovery, plugin manipulation, trigger injection, and memory dump parsing.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: KeePass Password Safe 2
Auth required
Prerequisites: Administrator privileges on target systems · SMB access to C$ share · KeePass installation or configuration files present
devstral-2 · analyzed Feb 25, 2026 Full analysis →

Scores

CVSS v3 7.5
EPSS 0.7468
EPSS Percentile 98.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

VulnCheck KEV 2024-07-25
CWE
CWE-319
Status published
Products (1)
keepass/keepass 2.00 - 2.54
Published May 15, 2023
Tracked Since Feb 18, 2026