Buffer Overflow Affecting hashcat package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-HASHCAT-19232204
  • published23 Aug 2026
  • disclosed22 Aug 2026

Introduced: 22 Aug 2026

NewCVE-2026-68768  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable hashcat.

NVD Description

Note: Versions mentioned in the description apply only to the upstream hashcat package and not the hashcat package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1