CVE-2026-81334: Out-of-bounds Read in hank-ai darknet
Description
CVE-2026-81334 is an out-of-bounds read and write vulnerability in hank-ai's darknet software. The issue arises because the software indexes its layer array using values from a configuration file without validating the index against the array's length. This leads to reading and writing beyond allocated memory when parsing crafted configuration files, causing reliable crashes and controlled writes of a fixed byte value. The vulnerability affects versions up to and including 6.0. No official patch or remediation guidance is currently available.
CVSS v4.0
Score 6.9medium
Affected software
hank-ai
darknet
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The darknet software from hank-ai allocates an array of layers sized exactly to the number declared in the configuration file. However, certain configuration sections (shortcut, scale_channels, sam, and route) supply indices from the file that are used without bounds checking. Specifically, parse_shortcut_section reads net.layers[index].outputs without verifying the index, causing an out-of-bounds read. Subsequently, the create_network dispatch loop writes past the allocation at a location controlled by the crafted file, writing a fixed one-byte value. This vulnerability can be triggered by parsing a malicious configuration file alone, before any weights file is loaded, resulting in a reliable crash and memory corruption.
Potential Impact
An attacker who can supply a crafted configuration file can cause the darknet software to crash reliably and write a fixed byte beyond the allocated layer array. This out-of-bounds read and write may lead to denial of service or potentially memory corruption. The write location is controlled by the attacker, though the written value is fixed. No evidence of active exploitation is reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted configuration files with darknet versions up to 6.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-26T17:44:26.831Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a906bb2acd9273b4983a188
Added to database: 08/27/2026, 16:54:10 UTC
Last enriched: 09/10/2026, 04:38:25 UTC
Last updated: 10/11/2026, 18:48:22 UTC
Views: 82
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.