hashcat — security advisory
hashcat's fgetl() function in src/filehandling.c writes a null terminator one byte past the caller's buffer when an input line is exactly the buffer length. Attackers can trigger this out-of-bounds heap write by providing a hash file, potfile, or wordlist containing a line of exactly HCBUFSIZ_LARGE bytes.
- Products
- hashcat
- Affected versions
- 3.60-1, 4.0.1-1, 5.1.0+ds1-1, 5.1.0+ds1-2, 6.1.1+ds1-1, 6.2.5+ds1-2, 6.2.6+ds1-1, 6.2.6+ds1-1build1, 6.2.6+ds1-1build2, 6.2.6+ds2-1, 7.1.2+ds1-3, 7.1.2+ds1-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-68767
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:50 UTC · Revision 1
Source evidence
hashcat's fgetl() function in src/filehandling.c writes a null terminator one byte past the caller's buffer when an input line is exactly the buffer length. Attackers can trigger this out-of-bounds heap write by providing a hash file, potfile, or wordlist containing a line of exactly HCBUFSIZ_LARGE bytes.
osv:UBUNTU-CVE-2026-68767
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
Complete source record
{
"id": "fd0884b43190c331a79d90140efb147380b70af381c6d670861204d9cefaeee2",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-68767",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-68767",
"summary": "hashcat's fgetl() function in src/filehandling.c writes a null terminator one byte past the caller's buffer when an input line is exactly the buffer length. Attackers can trigger this out-of-bounds heap write by providing a hash file, potfile, or wordlist containing a line of exactly HCBUFSIZ_LARGE bytes.",
"evidence": "osv:UBUNTU-CVE-2026-68767",
"products": [
{
"name": {
"value": "hashcat",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.60-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.0.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1.0+ds1-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.1.0+ds1-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.1.1+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "6.2.5+ds1-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.2.6+ds1-1",
"evidence": "/affected/3/versions"
},
{
"value": "6.2.6+ds1-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "6.2.6+ds1-1build2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.2+ds1-3",
"evidence": "/affected/4/versions"
},
{
"value": "7.1.2+ds1-4",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.2.6+ds2-1",
"evidence": "/affected/5/versions"
},
{
"value": "7.1.2+ds1-3",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-68767",
"aliases": [
"UBUNTU-CVE-2026-68767"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/ubuntu/hashcat?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.60-1",
"4.0.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68767.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "hashcat",
"binary_version": "4.0.1-1"
},
{
"binary_name": "hashcat-data",
"binary_version": "4.0.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/ubuntu/hashcat?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"5.1.0+ds1-1",
"5.1.0+ds1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68767.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "hashcat",
"binary_version": "5.1.0+ds1-2"
},
{
"binary_name": "hashcat-data",
"binary_version": "5.1.0+ds1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/ubuntu/hashcat?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"6.1.1+ds1-1",
"6.2.5+ds1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68767.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "hashcat",
"binary_version": "6.2.5+ds1-2"
},
{
"binary_name": "hashcat-data",
"binary_version": "6.2.5+ds1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/ubuntu/hashcat?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.2.6+ds1-1",
"6.2.6+ds1-1build1",
"6.2.6+ds1-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68767.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "hashcat",
"binary_version": "6.2.6+ds1-1build2"
},
{
"binary_name": "hashcat-data",
"binary_version": "6.2.6+ds1-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/ubuntu/hashcat?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"7.1.2+ds1-3",
"7.1.2+ds1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68767.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "hashcat",
"binary_version": "7.1.2+ds1-4"
},
{
"binary_name": "hashcat-data",
"binary_version": "7.1.2+ds1-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/ubuntu/hashcat?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"6.2.6+ds2-1",
"7.1.2+ds1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68767.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "hashcat",
"binary_version": "7.1.2+ds1-3"
},
{
"binary_name": "hashcat-data",
"binary_version": "7.1.2+ds1-3"
}
]
}
}
],
"modified": "2026-10-17T12:59:24.784305559Z",
"provider": "osv",
"upstream": [
"CVE-2026-68767"
],
"references": [
"https://ubuntu.com/security/CVE-2026-68767",
"https://www.cve.org/CVERecord?id=CVE-2026-68767",
"https://github.com/hashcat/hashcat/issues/4739",
"https://github.com/hashcat/hashcat/pull/4750"
]
},
"related_cves": [
{
"value": "CVE-2026-68767",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359645,
"published_at": "2026-08-22T15:16:00+00:00"
}