hashcat KeePass KDBX v4 Module Heap Buffer Overflow via Token Field
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100.
hashcat master branch builds after v7.1.2 contain a heap buffer overflow vulnerability in the KeePass AESKDF/KDBX v4 module (module 34301) that allows attackers to corrupt adjacent heap memory by supplying an oversized ninth hash field token. The module accepts up to 600 hex characters for the ninth token field but decodes it into a fixed 256-byte buffer with no length check, allowing a maximal input to write up to 44 bytes past the buffer boundary into adjacent esalt fields and heap chunk metadata, potentially enabling heap corruption or memory access violations.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| hashcat | >=ef52453de9523f6a010652847b61cb340ed5daa5 <6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 | 6f374c4ff7d5dc951530fbbbcf6b45e3c169b100 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket