CVE-2026-72852
Last modified
CVE-2026-72852 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hank-ai | darknet | <= 6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-72852?
How severe is CVE-2026-72852?
How do I fix CVE-2026-72852?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72846Lightdash stores the webhook URL supplied with a scheduled d…6.4
- CVE-2026-72847broot renders each file and directory name in its interactiv…4.6
- CVE-2026-72848SitemapLoader.parse_sitemap in langchain_community/document_…8.6
- CVE-2026-72849Budibase before 3.40.0 contains a cross-site request forgery…7.7
- CVE-2026-72850Budibase before 3.40.0 fails to properly sanitize S3 object …9.1
- CVE-2026-72851Budibase before 3.40.0 contains an unauthenticated SQL injec…10
- CVE-2026-72853Budibase before 3.40.0 contains a SQL injection vulnerabilit…7.6
- CVE-2026-72854msgpack_unpacker_expand_buffer in src/unpack.c, reached thro…5.3
- CVE-2026-72855Budibase before 3.40.0 contains server-side request forgery …8.5
- CVE-2026-72856Budibase versions before 3.40.0 contain an authorization/aut…8.1
- CVE-2026-72857Budibase before 3.40.0 fails to redact datasource credential…7.7
- CVE-2026-72858Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-72852?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
