{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68768","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-07-31T16:10:55.447Z","datePublished":"2026-08-22T14:12:44.241Z","dateUpdated":"2026-08-24T18:31:59.841Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-08-22T14:12:44.241Z"},"datePublic":"2026-07-31T00:00:00.000Z","title":"hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","cweId":"CWE-120","type":"CWE"}]}],"affected":[{"vendor":"hashcat","product":"hashcat","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"7.1.2","status":"affected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:hashcat:hashcat:*:*:*:*:*:*:*:*","versionEndIncluding":"7.1.2"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/hashcat/hashcat/issues/4740","tags":["issue-tracking"],"name":"GitHub Issue #4740"},{"url":"https://github.com/hashcat/hashcat","tags":["product"]},{"url":"https://github.com/hashcat/hashcat/commit/68f56a2d8712867a8520bf4dcf07f6145c23df89","tags":["patch"]},{"url":"https://github.com/hashcat/hashcat/blob/v7.1.2/src/outfile.c#L654-L668","tags":["technical-description"]},{"name":"VulnCheck Advisory: hashcat through 7.1.2 Heap Buffer Overflow in outfile_write() via Oversized Username","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/hashcat-through-heap-buffer-overflow-in-outfile-write-via-oversized-username"}],"credits":[{"lang":"en","value":"Piotr Kowalczyk","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"references":[{"url":"https://github.com/hashcat/hashcat/issues/4740","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-24T18:31:30.947115Z","id":"CVE-2026-68768","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-24T18:31:59.841Z"}}]}}