Noir is a Domain Specific Language for SNARK proving systems that is designed to use any ACIR compatible proving system, and Brillig is the bytecode ACIR uses for non-determinism. Noir programs can invoke external functions through foreign calls. When compiling to Brillig bytecode, the SSA instructions are processed block-by-block in BrilligBlock::compile_block(). When the compiler encounters an Instruction::Call with a Value::ForeignFunction target, it invokes codegen_call() in brillig_call/code_gen_call.rs, which dispatches to convert_ssa_foreign_call(). Before emitting the foreign call opcode, the compiler must pre-allocate memory for any array results the call will return. This happens through allocate_external_call_results(), which iterates over the result types. For Type::Array results, it delegates to allocate_foreign_call_result_array() to recursively allocate memory on the heap for nested arrays. The BrilligArray struct is the internal representation of a Noir array in Brillig IR. Its size field represents the semi-flattened size, the total number of memory slots the array occupies, accounting for the fact that composite types like tuples consume multiple slots per element. This size is computed by compute_array_length() in brillig_block_variables.rs. For the outer array, allocate_external_call_results() correctly uses define_variable(), which internally calls allocate_value_with_type(). This function applies the formula above, producing the correct semi-flattened size. However, for nested arrays, allocate_foreign_call_result_array() contains a bug. The pattern Type::Array(_, nested_size) discards the inner types with _ and uses only nested_size, the semantic length of the nested array (the number of logical elements), not the semi-flattened size. For simple element types this works correctly, but for composite element types it under-allocates. Foreign calls returning nested arrays of tuples or other composite types corrupt the Brillig VM heap. Version 1.0.0-beta.19 fixes this issue.
CVE-2026-41197
This critical-severity CVE scores 9.3 under NVD CVSS v3. EPSS exploit probability: 0.0%, top 94% of all CVEs by exploit prediction. 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
- 9.3
- EG Score
- 9.3(medium)
- EPSS
- 31.6%
- KEV
- Not listed
Published
April 23, 2026
Last Modified
April 29, 2026
Advisory Details (2)
Auto-updated Apr 29, 2026Heap corruption in foreign call results with nested tuple arrays · Advisory · noir-lang/noir · GitHub
https://github.com/noir-lang/noir/security/advisories/GHSA-jj7c-x25r-r8r3Release v1.0.0-beta.19 · noir-lang/noir · GitHub
https://github.com/noir-lang/noir/releases/tag/v1.0.0-beta.19Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| brillig | — | 1.0.0-beta.19 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 42× 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.
Showing the most recent 100 of 136 total refreshes for this CVE.
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 06:06 UTCEG score recompute
- 2026-06-15 02:28 UTCEG score recompute
- 2026-06-14 20:34 UTCEG score recompute
- 2026-06-14 16:49 UTCEG score recompute
- 2026-06-14 12:25 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 12:37 UTCEG score recompute
- 2026-06-12 05:22 UTCEG score recompute
- 2026-06-12 01:45 UTCEG score recompute
- 2026-06-11 22:08 UTCEG score recompute
- 2026-06-11 18:31 UTCEG score recompute
- 2026-06-11 14:28 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:43 UTCEG score recompute
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 19:02 UTCEG score recompute
- 2026-06-10 15:26 UTCEG score recompute
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 11:49 UTCEG score recompute
- 2026-06-10 08:12 UTCEG score recompute
- 2026-06-10 03:36 UTCEG score recompute
- 2026-06-09 23:59 UTCEG score recompute
- 2026-06-09 17:01 UTCEG score recompute
- 2026-06-09 13:23 UTCEG score recompute
- 2026-06-09 09:47 UTCEG score recompute
- 2026-06-09 03:31 UTCEG score recompute
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 13:11 UTCEG score recompute
- 2026-06-08 09:33 UTCEG score recompute
- 2026-06-08 05:55 UTCEG score recompute
- 2026-06-08 02:19 UTCEG score recompute
- 2026-06-07 22:42 UTCEG score recompute
- 2026-06-07 19:05 UTCEG score recompute
- 2026-06-07 15:27 UTCEG score recompute
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 11:50 UTCEG score recompute
- 2026-06-07 08:12 UTCEG score recompute
- 2026-06-07 04:35 UTCEG score recompute
- 2026-06-07 04:35 UTCEG score recompute
- 2026-06-06 23:30 UTCEG score recompute
- 2026-06-06 18:29 UTCEG score recompute
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 12:47 UTCEG score recompute
- 2026-06-06 08:48 UTCEG score recompute
- 2026-06-06 05:11 UTCEG score recompute
- 2026-06-06 00:15 UTCEG score recompute
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 20:37 UTCEG score recompute
- 2026-06-05 16:35 UTCEG score recompute
- 2026-06-05 11:09 UTCEG score recompute
- 2026-06-05 06:55 UTCEG score recompute
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 03:15 UTCEG score recompute
- 2026-06-04 20:02 UTCEG score recompute
- 2026-06-04 16:22 UTCEG score recompute
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 12:42 UTCEG score recompute
- 2026-06-04 03:36 UTCEG score recompute
- 2026-06-03 23:20 UTCEG score recompute
- 2026-06-03 19:39 UTCEG score recompute
- 2026-06-03 15:55 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-131
- CVE-2022-33211EG 9.8CRITICAL
- CVE-2023-0568NVD 7.5EG 9.8HIGH
- CVE-2021-38435NVD 6.6EG 9.8MEDIUM
- CVE-2021-38423NVD 6.6EG 9.8MEDIUM
- CVE-2021-0254EG 9.8CRITICAL
- CVE-2021-27378EG 9.8CRITICAL
- CVE-2020-15350EG 9.8CRITICAL
- CVE-2019-10500EG 9.8CRITICAL
- CVE-2019-10627EG 9.8CRITICAL
- CVE-2018-14618NVD 7.5EG 9.8EPSS 95%HIGH
Frequently asked(5)
What is CVE-2026-41197?
When was CVE-2026-41197 disclosed?
Is CVE-2026-41197 actively exploited?
What is the CVSS score of CVE-2026-41197?
How do I remediate CVE-2026-41197?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-41197
Is Your Infrastructure Affected by CVE-2026-41197?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.