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 12× in last 7d / 12× 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-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)
Same CWE
10 shownCWE-125 · CWE-787
- CVE-2009-2523EG 10.0EPSS p98HIGH
- CVE-2004-0978EG 10.0EPSS p99HIGH
- CVE-2004-1287EG 10.0EPSS p97HIGH
- CVE-2004-0574EG 10.0EPSS p99HIGH
- CVE-2002-2227EG 10.0HIGH
- CVE-2007-0158EG 9.8CRITICAL
- CVE-2007-0899EG 9.8CRITICAL
- CVE-1999-0006EG 9.8EPSS p96CRITICAL
- CVE-2010-20115EG 9.3CRITICAL
- CVE-2010-4643EG 9.3EPSS p95HIGH
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.