UBUNTU-CVE-2026-42482

Source
https://ubuntu.com/security/CVE-2026-42482
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-42482
Upstream
  • CVE-2026-42482
Published
2026-05-01T14:16:00Z
Modified
2026-05-20T16:25:44.132369514Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A stack-based buffer overflow in mangletohexlower() and mangletohexupper() 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.

References

Affected packages

Ubuntu:18.04:LTS
hashcat

Package

Name
hashcat
Purl
pkg:deb/ubuntu/hashcat?arch=source&distro=bionic

Affected ranges

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

Affected versions

3.*
3.60-1
4.*
4.0.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "hashcat",
            "binary_version": "4.0.1-1"
        },
        {
            "binary_name": "hashcat-data",
            "binary_version": "4.0.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json"
Ubuntu:20.04:LTS
hashcat

Package

Name
hashcat
Purl
pkg:deb/ubuntu/hashcat?arch=source&distro=focal

Affected ranges

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

Affected versions

5.*
5.1.0+ds1-1
5.1.0+ds1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "hashcat",
            "binary_version": "5.1.0+ds1-2"
        },
        {
            "binary_name": "hashcat-data",
            "binary_version": "5.1.0+ds1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json"
Ubuntu:22.04:LTS
hashcat

Package

Name
hashcat
Purl
pkg:deb/ubuntu/hashcat?arch=source&distro=jammy

Affected ranges

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

Affected versions

6.*
6.1.1+ds1-1
6.2.5+ds1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "hashcat",
            "binary_version": "6.2.5+ds1-2"
        },
        {
            "binary_name": "hashcat-data",
            "binary_version": "6.2.5+ds1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json"
Ubuntu:24.04:LTS
hashcat

Package

Name
hashcat
Purl
pkg:deb/ubuntu/hashcat?arch=source&distro=noble

Affected ranges

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

Affected versions

6.*
6.2.6+ds1-1
6.2.6+ds1-1build1
6.2.6+ds1-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "hashcat",
            "binary_version": "6.2.6+ds1-1build2"
        },
        {
            "binary_name": "hashcat-data",
            "binary_version": "6.2.6+ds1-1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json"
Ubuntu:25.10
hashcat

Package

Name
hashcat
Purl
pkg:deb/ubuntu/hashcat?arch=source&distro=questing

Affected ranges

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

Affected versions

6.*
6.2.6+ds2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "hashcat",
            "binary_version": "6.2.6+ds2-1"
        },
        {
            "binary_name": "hashcat-data",
            "binary_version": "6.2.6+ds2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json"
Ubuntu:26.04:LTS
hashcat

Package

Name
hashcat
Purl
pkg:deb/ubuntu/hashcat?arch=source&distro=resolute

Affected ranges

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

Affected versions

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

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "hashcat",
            "binary_version": "7.1.2+ds1-3"
        },
        {
            "binary_name": "hashcat-data",
            "binary_version": "7.1.2+ds1-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42482.json"