keepass2 — security advisory
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.
- Products
- keepass2
- Affected versions
- 2.29+dfsg-1, 2.30+dfsg-1, 2.30+dfsg-2, 2.31+dfsg-1, 2.32+dfsg-1, 2.36+dfsg-1, 2.37+dfsg-1, 2.38+dfsg-1, 2.41+dfsg-1, 2.43+dfsg-1, 2.44+dfsg-1, 2.47+dfsg-2, 2.57+dfsg-3, 2.57+dfsg-4, 2.60+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2023-32784
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:40 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2023-32784
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
keepass2
Fixed versions: Not specified
Complete source record
{
"id": "4d1679d761a3f7d5c27efa541b77a236084fb28be02c8d0bd49dcc4c8fd1c26f",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-32784",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-32784",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2023-32784",
"products": [
{
"name": {
"value": "keepass2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.29+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.30+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.30+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.31+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.32+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.36+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.37+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.38+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.41+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.43+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.44+dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.47+dfsg-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.47+dfsg-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.57+dfsg-3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.60+dfsg-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "keepass2",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.57+dfsg-3",
"evidence": "/affected/7/versions"
},
{
"value": "2.57+dfsg-4",
"evidence": "/affected/7/versions"
},
{
"value": "2.60+dfsg-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-32784",
"aliases": [
"UBUNTU-CVE-2023-32784"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.29+dfsg-1",
"2.30+dfsg-1",
"2.30+dfsg-2",
"2.31+dfsg-1",
"2.32+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.32+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.36+dfsg-1",
"2.37+dfsg-1",
"2.38+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.38+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.41+dfsg-1",
"2.43+dfsg-1",
"2.44+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.44+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.47+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.47+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.47+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.47+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.57+dfsg-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.57+dfsg-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.60+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.60+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "keepass2",
"purl": "pkg:deb/ubuntu/keepass2?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.57+dfsg-3",
"2.57+dfsg-4",
"2.60+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32784.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "keepass2",
"binary_version": "2.60+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:18.805652470Z",
"provider": "osv",
"upstream": [
"CVE-2023-32784"
],
"references": [
"https://ubuntu.com/security/CVE-2023-32784",
"https://github.com/vdohney/keepass-password-dumper",
"https://sourceforge.net/p/keepass/discussion/329220/thread/f3438e6283/",
"https://www.cve.org/CVERecord?id=CVE-2023-32784"
]
},
"related_cves": [
{
"value": "CVE-2023-32784",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 357163,
"published_at": "2023-05-15T06:15:00+00:00"
}