DEBIAN-CVE-2026-68768

Source
https://security-tracker.debian.org/tracker/CVE-2026-68768
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68768.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-68768
Upstream
Published
2026-08-22T15:16:20Z
Modified
2026-09-14T17:03:46Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS: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 CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / hashcat

Package

Name
hashcat
Purl
pkg:deb/debian/hashcat?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.2.6+ds1-1
6.2.6+ds2-1
7.*
7.1.2+ds1-1
7.1.2+ds1-2
7.1.2+ds1-3
7.1.2+ds1-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68768.json"

Debian:13 / hashcat

Package

Name
hashcat
Purl
pkg:deb/debian/hashcat?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.2.6+ds2-1
7.*
7.1.2+ds1-1
7.1.2+ds1-2
7.1.2+ds1-3
7.1.2+ds1-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68768.json"

Debian:14 / hashcat

Package

Name
hashcat
Purl
pkg:deb/debian/hashcat?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.2.6+ds2-1
7.*
7.1.2+ds1-1
7.1.2+ds1-2
7.1.2+ds1-3
7.1.2+ds1-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68768.json"