CVE catalog

CVE-2026-42482

A stack-based buffer overflow in mangle_to_hex_lower() and mangle_to_hex_upper() in src/rp_cpu.c in hashcat v7.1.2 allows an attacker to cause a denial of service or possibly execute arbitrary code vi

[CVE catalog]

Severity
Critical · CVSS 9.8
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 25, 2026

A stack-based buffer overflow in mangle_to_hex_lower() and mangle_to_hex_upper() in src/rp_cpu.c in hashcat v7.1.2 allows an attacker to cause a denial of service or possibly execute arbitrary code via a crafted rule file, or via the -j or -k rule options used with password candidates of 128 or more characters. The vulnerability is caused by a bounds check that fails to account for the 2x expansion that occurs when password bytes are converted to hexadecimal.

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
CpehashcatNot reportedNot reportedvulnerable
CpehashcatNot reportedNot reportedunknown

Fixed-version evidence

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

[Debian bug #1136004]

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

      nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12

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

      Affected

      nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12

  • [hashcat-data]Affected

    Source package: [hashcat]

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

      Affected

      nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12

    • 6.2.6+ds1-1 · all · bookworm

      Affected

      nvd · hashcat · debian · bookworm; nvd · hashcat · debian · 12

[Debian 13 (Trixie)]

  • [hashcat]Affected

    Source package: [hashcat]

    Details (2)
    • 6.2.6+ds2-1 · amd64 · trixie

      Affected

      nvd · hashcat · debian · 13

    • 6.2.6+ds2-1+b1 · arm64 · trixie

      Affected

      nvd · hashcat · debian · 13

  • [hashcat-data]Affected

    Source package: [hashcat]

    Details (2)
    • 6.2.6+ds2-1 · all · trixie

      Affected

      nvd · hashcat · debian · 13

    • 6.2.6+ds2-1 · all · trixie

      Affected

      nvd · hashcat · debian · 13

Observed:

References