Bug 2521895 - CVE-2026-68768 hashcat: hashcat: Heap Buffer Overflow leading to Denial of Service via oversized username [fedora-all]
Summary: CVE-2026-68768 hashcat: hashcat: Heap Buffer Overflow leading to Denial of Se...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: hashcat
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Carlos Rodriguez-Fernandez
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["e0dd6695-449c-4714-8c22-3...
Depends On:
Blocks: CVE-2026-68768
TreeView+ depends on / blocked
 
Reported: 2026-08-24 13:24 UTC by Vladimir Vasilev
Modified: 2026-08-24 13:24 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 13:24:54 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

hashcat contains a heap-based buffer overflow (out-of-bounds write) in the outfile_write() function in src/outfile.c. When assembling output into a fixed-size buffer (HCBUFSIZ_LARGE, ~16 MB), the function sequentially appends the username, separator, hash, and plaintext via memcpy without validating that the accumulated length stays within the buffer capacity. When run with --username --show against a crafted hash file containing an oversized username that nearly fills the buffer, the total assembled output exceeds the buffer, causing a heap buffer overflow that can corrupt memory and crash the process.


Note You need to log in before you can comment on or make changes to this bug.