Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72852— darknet Integer Overflow in Convolutional Layer Buffer Sizing Leads to Heap Buffer Overflow

Quick assessment

Affected
hank-ai darknet
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hank AI Darknet是Hank AI组织的一款深度学习神经网络框架。 Hank AI Darknet 6.0及之前版本存在安全漏洞,该漏洞源于卷积层缓冲区大小计算中使用未检查的32位整数乘法,导致整数溢出和缓冲区分配不足,可能造成堆缓冲区溢出,导致越界读写。

CVSS 7.8 · High EPSS 0.21% · P11

Affected Version Matrix 1

VendorProduct Version RangeStatus
hank-ai darknet ≤ 6.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72852

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
darknet Integer Overflow in Convolutional Layer Buffer Sizing Leads to Heap Buffer Overflow
Source: CVE Program / CVE List V5
Vulnerability Description
hank-ai/darknet sizes a convolutional layer's weight and output heap buffers by multiplying configuration fields taken from a .cfg file in unchecked 32-bit int arithmetic. In src-lib/convolutional_layer.cpp, l.nweights is computed as (c / groups) * n * size * size and l.outputs as l.out_h * l.out_w * l.out_c, and both feed xcalloc directly. A .cfg whose true dimension product exceeds INT_MAX wraps to a small or zero value, so the allocation is undersized; for example width and height of 256 with filters of 65536 gives 2^32, which wraps to 0. forward_convolutional_layer then re-derives the GEMM dimensions with a different operand order, computing k as l.size*l.size*l.c / l.groups where the allocation divided before multiplying, and reads and writes through the undersized buffer. Loading the crafted .cfg for inference or training is sufficient and no valid .weights file is required. The reported proof of concept observed a heap buffer overflow read in gemm_nn_fast under AddressSanitizer and glibc allocator metadata corruption in a release build of the same input, indicating an out-of-bounds write.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5
Vulnerability Title
Hank AI Darknet 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hank AI Darknet是Hank AI组织的一款深度学习神经网络框架。 Hank AI Darknet 6.0及之前版本存在安全漏洞,该漏洞源于卷积层缓冲区大小计算中使用未检查的32位整数乘法,导致整数溢出和缓冲区分配不足,可能造成堆缓冲区溢出,导致越界读写。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
hank-ai darknet 0 ~ 6.0 -

II. Public POCs for CVE-2026-72852

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8214 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-72852

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72852 (1)

Proof of Concept for CVE-2026-72852 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-72852

No comments yet


Leave a comment