CVE catalog

CVE-2026-68768

hashcat: CVE-2026-68768

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianhashcatsid7.1.2+ds1-4vulnerable
Debianhashcatforky7.1.2+ds1-4vulnerable
Debianhashcattrixie6.2.6+ds2-1vulnerable
Debianhashcatbookworm6.2.6+ds1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianhashcatsourcesid(unfixed)not yet assignedNot reported[1145171]
Debianhashcatsourceforky(unfixed)not yet assignedNot reported[1145171]
Debianhashcatsourcetrixie(unfixed)not yet assignedNot reported[1145171]
Debianhashcatsourcebookworm(unfixed)not yet assignedNot reported[1145171]

[Debian bug #1145171]

Notes

[trixie] hashcat: Minor issue [bookworm] hashcat: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [hashcat]Affected

    Source package: [hashcat]

    Details (2)
    • 6.2.6+ds1-1+b1 · amd64 · bookworm

      Affected

      dsa · hashcat · debian · bookworm

    • 6.2.6+ds1-1+b1 · arm64 · bookworm

      Affected

      dsa · hashcat · debian · bookworm

  • [hashcat-data]Affected

    Source package: [hashcat]

    Details (2)
    • 6.2.6+ds1-1 · all · bookworm

      Affected

      dsa · hashcat · debian · bookworm

    • 6.2.6+ds1-1 · all · bookworm

      Affected

      dsa · hashcat · debian · bookworm

Observed:

References