> CVE-2026-68768 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-22 15:16
MODIFIED
2026-08-22 15:16
CVSS_SCORE V3
6.9
EPSS (Prob. Exploit)
0.21%
Top 89.6%
DATA SOURCES:
NVD đź”— 2026-08-22 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 OSV đź”— 2026-10-26

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Unknown (P)
Interaction inconnue
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-120

> CWE DETAILED DESCRIPTIONS

CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') - The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username

AFFECTED PACKAGES:
Unknown / Unknown
31 versions affected

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/08/2026 15:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') - The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less tha...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/hashcat/hashcat
https://github.com/hashcat/hashcat/blob/v7.1.2/src/outfile.c#L654-L668
https://github.com/hashcat/hashcat/commit/68f56a2d8712867a8520bf4dcf07f6145c23df...
https://github.com/hashcat/hashcat/issues/4740
https://www.vulncheck.com/advisories/hashcat-through-heap-buffer-overflow-in-out...
« BACK_TO_HOME