darknet subscripts its layer array with an index taken from a configuration file without checking it against the array's length. The array is allocated in src-lib/darknet_network.cpp as xcalloc(net.n, sizeof(Darknet::Layer)), sized to exactly the number of layer sections the file declares. The shortcut, scale_channels and sam sections supply that index through their from field and the route section through its layers field, and parse_shortcut_section in src-lib/darknet_cfg.cpp reads net.layers[index].outputs with no bounds check, which reads past the allocation. The dispatch loop in create_network then reuses the same index to assign net.layers[l.index].use_bin_output and net.layers[l.index].keep_delta_gpu, writing past the allocation at an offset the file controls, with a fixed one-byte value. Parsing a crafted configuration file is sufficient: the parse runs before any weights file is opened and needs no non-default option, so the result is a reliable crash and a write whose location, though not its value, is chosen by whoever supplied the file.
CVE-2026-81334
Score 6.1 from GitHub Security Advisory published 2026-08-27. a secondary CVSS source baseline 6.1; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(high)
- EG Risk
- 28(Track)EG Risk 28/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 computedSeverity61% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 3%
- KEV
- Not listed
Published
August 27, 2026
Last Modified
August 27, 2026
Advisory Details (4)
Auto-updated Aug 27, 2026darknet through 6.0 Out-of-Bounds Read and Write via Unchecked Layer Index in .cfg Parser | Advisories | VulnCheck
https://www.vulncheck.com/advisories/darknet-through-6.0-out-of-bounds-read-and-write-via-unchecked-layer-index-in-cfg-parserdarknet/src-lib/darknet_network.cpp at v6.0 · hank-ai/darknet · GitHub
https://github.com/hank-ai/darknet/blob/v6.0/src-lib/darknet_network.cppdarknet/src-lib/darknet_cfg.cpp at v6.0 · hank-ai/darknet · GitHub
https://github.com/hank-ai/darknet/blob/v6.0/src-lib/darknet_cfg.cppGitHub - hank-ai/darknet: Darknet/YOLO object detection framework · GitHub
https://github.com/hank-ai/darknetVendor Advisories for CVE-2026-81334(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 18× in last 7d / 67× 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-09-19 21:09 UTCEG score recompute
- 2026-09-19 21:09 UTCGHSA enrichment
- 2026-09-18 21:30 UTCEG score recompute
- 2026-09-18 21:29 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 21:29 UTCEG score recompute
- 2026-09-17 21:29 UTCGHSA enrichment
- 2026-09-16 21:50 UTCEG score recompute
- 2026-09-16 21:50 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 22:12 UTCEG score recompute
- 2026-09-15 22:12 UTCGHSA enrichment
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 22:33 UTCGHSA enrichment
- 2026-09-13 22:55 UTCEG score recompute
- 2026-09-13 22:55 UTCGHSA enrichment
- 2026-09-12 23:18 UTCEG score recompute
- 2026-09-12 23:18 UTCGHSA enrichment
- 2026-09-11 23:40 UTCEG score recompute
- 2026-09-11 23:40 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 00:01 UTCEG score recompute
Show 42 moreShow fewer
- 2026-09-11 00:01 UTCGHSA enrichment
- 2026-09-10 00:20 UTCGHSA enrichment
- 2026-09-09 00:41 UTCEG score recompute
- 2026-09-09 00:41 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 20:47 UTCEG score recompute
- 2026-09-07 20:47 UTCGHSA enrichment
- 2026-09-06 21:10 UTCEG score recompute
- 2026-09-06 21:09 UTCGHSA enrichment
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-05 21:27 UTCEG score recompute
- 2026-09-05 21:27 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-04 21:50 UTCEG score recompute
- 2026-09-04 21:50 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 22:12 UTCGHSA enrichment
- 2026-09-02 22:05 UTCEG score recompute
- 2026-09-02 22:04 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 22:25 UTCEG score recompute
- 2026-09-01 22:25 UTCGHSA enrichment
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 22:47 UTCGHSA enrichment
- 2026-08-30 23:10 UTCEG score recompute
- 2026-08-30 23:10 UTCGHSA enrichment
- 2026-08-30 19:18 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 23:32 UTCGHSA enrichment
- 2026-08-28 23:54 UTCEG score recompute
- 2026-08-28 23:53 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 20:27 UTCEG score recompute
- 2026-08-27 20:27 UTCGHSA enrichment
- 2026-08-27 20:18 UTCEG score recompute
- 2026-08-27 20:18 UTCGHSA enrichment
- 2026-08-27 17:25 UTCEG score recompute
- 2026-08-27 16:47 UTCEG score recompute
- 2026-08-27 16:43 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-81334?
When was CVE-2026-81334 disclosed?
Is CVE-2026-81334 actively exploited?
What is the CVSS score of CVE-2026-81334?
How do I remediate CVE-2026-81334?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-81334
Is Your Infrastructure Affected by CVE-2026-81334?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.