Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72852: Integer Overflow or Wraparound in hank-ai darknet

0
High
VulnerabilityCVE-2026-72852cvecve-2026-72852
Published: 08/20/2026 (08/20/2026, 18:19:23 UTC)
Source: CVE Database V5
Vendor/Project: hank-ai
Product: darknet

Description

CVE-2026-72852 is an integer overflow vulnerability in hank-ai darknet's convolutional layer buffer size calculations. The vulnerability arises from unchecked 32-bit integer arithmetic when sizing heap buffers based on .cfg file parameters, causing buffer allocations to wrap to small or zero values. This leads to undersized allocations and subsequent out-of-bounds reads and writes during convolutional layer operations. Exploitation requires loading a crafted .cfg file for inference or training, without needing a valid weights file. The vulnerability can cause heap buffer overflow and allocator metadata corruption.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
darknet
pkg:github/darknet
Affected versions
<=6.0

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

AILast updated: 08/20/2026, 18:52:08 UTC

Technical Analysis

hank-ai darknet improperly calculates convolutional layer weight and output buffer sizes by multiplying configuration parameters from a .cfg file using unchecked 32-bit integer arithmetic. Specifically, l.nweights is computed as (c / groups) * n * size * size and l.outputs as l.out_h * l.out_w * l.out_c, both feeding directly into xcalloc. If the product of these dimensions exceeds INT_MAX, the value wraps around to a small or zero number, resulting in undersized buffer allocations. The forward_convolutional_layer function then recalculates GEMM dimensions with a different operand order, causing reads and writes beyond the allocated buffer boundaries. Loading a crafted .cfg file alone is sufficient to trigger this out-of-bounds access, leading to heap buffer overflow and glibc allocator metadata corruption as observed under AddressSanitizer and in release builds.

Potential Impact

The integer overflow causes heap buffer allocations to be smaller than required, leading to out-of-bounds memory reads and writes during convolutional layer processing. This can corrupt heap metadata and potentially destabilize or crash the application. The vulnerability requires only loading a maliciously crafted .cfg file, making it a high-risk issue for denial of service or potential memory corruption exploitation. No valid weights file is needed to trigger the flaw.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid loading untrusted or crafted .cfg files that specify convolutional layer dimensions large enough to cause integer overflow. Monitor vendor communications for patches or updates addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-10T15:16:31.371Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a874977acd9273b49fe8a0d

Added to database: 08/20/2026, 18:37:43 UTC

Last enriched: 08/20/2026, 18:52:08 UTC

Last updated: 08/20/2026, 19:39:04 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses