Connect with us

Hi, what are you looking for?



KeePass Update Patches Vulnerability Exposing Master Password

KeePass 2.54 patches a vulnerability allowing attackers to retrieve the cleartext master password from a memory dump.

Open source password manager KeePass was updated over the weekend to patch a vulnerability allowing attackers to retrieve the cleartext master password from a memory dump.

Tracked as CVE-2023-32784 and impacting KeePass 2.x versions, the issue is related to the custom-developed textbox used for password entry, which creates a leftover string in memory for each character that the user types.

An attacker can use a KeePass process dump, a hibernation file, a swap file, or even a RAM dump of the entire system to retrieve the strings and reconstruct the typed password. Because the strings are ordered in memory, even multiple typed-in passwords can be retrieved.

Several weeks ago, a security researcher published a proof-of-concept (PoC) tool that can exploit the vulnerability to retrieve passwords from memory dumps.

The researcher also pointed out that the risks associated with the flaw were minimal, as remote exploitation was not possible. Unless a system was already infected with malware, there was no reason to assume password compromise due to this issue.

At the time, KeePass announced that a patch for the bug had been included in the test version of KeePass 2.54, with the stable release scheduled for July.

The update, however, was released several weeks earlier, improving process memory protections to prevent the creation of managed strings and prevent password recovery. The application also creates dummy fragments in memory now, and mixes them with the correct fragments.

Advertisement. Scroll to continue reading.

The software update brings several other changes as well, including user interface and integration enhancements, new features, and other improvements and bug fixes, the KeePass 2.54 changelog shows.

Related: Gigabyte Rolls Out BIOS Updates to Remove Backdoor From Motherboards

Related: GitLab Security Update Patches Critical Vulnerability

Related: Google Patches Third Chrome Zero-Day of 2023

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join security experts as they discuss ZTNA’s untapped potential to both reduce cyber risk and empower the business.


Join Microsoft and Finite State for a webinar that will introduce a new strategy for securing the software supply chain.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...


The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.


Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.


A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...


Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.