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.
CVE-2026-72852
This high-severity CVE scores 7.8 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.8
- EG Score
- 7.8(low)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
Published
August 20, 2026
Last Modified
August 20, 2026
Advisory Details (6)
Auto-updated Aug 20, 2026darknet Integer Overflow in Convolutional Layer Buffer Sizing Leads to Heap Buffer Overflow | Advisories | VulnCheck
https://www.vulncheck.com/advisories/darknet-integer-overflow-in-convolutional-layer-buffer-sizing-leads-to-heap-buffer-overflowGitHub - hank-ai/darknet: Darknet/YOLO object detection framework · GitHub
https://github.com/hank-ai/darknetdarknet/src-lib/convolutional_layer.cpp at v6.0 · hank-ai/darknet · GitHub
https://github.com/hank-ai/darknet/blob/v6.0/src-lib/convolutional_layer.cpp#L1457darknet/src-lib/convolutional_layer.cpp at v6.0 · hank-ai/darknet · GitHub
https://github.com/hank-ai/darknet/blob/v6.0/src-lib/convolutional_layer.cpp#L811darknet/src-lib/convolutional_layer.cpp at v6.0 · hank-ai/darknet · GitHub
https://github.com/hank-ai/darknet/blob/v6.0/src-lib/convolutional_layer.cpp#L764Integer overflow in convolutional weight/output buffer sizing causes heap corruption · Issue #148 · hank-ai/darknet · GitHub
https://github.com/hank-ai/darknet/issues/148Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 2× in last 7d / 2× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-20 18:32 UTCEG score recompute
- 2026-08-20 18:31 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-190 · CWE-787
Frequently asked(4)
What is CVE-2026-72852?
When was CVE-2026-72852 disclosed?
What is the CVSS score of CVE-2026-72852?
How do I remediate CVE-2026-72852?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-72852
Is Your Infrastructure Affected by CVE-2026-72852?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.