Advisory record · GHSA-jj7c-x25r-r8r3

Brillig: Heap corruption in foreign call results with nested tuple arrays

CVSS 9.3 CriticalCriticalEPSS 0.0040 · 34th percentile

Critical, because:

  • CVSS score 9.3: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 21 Apr 2026, 20:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
brilligcrates.io<1.0.0-beta.191.0.0-beta.19
Identifiers
GHSA-jj7c-x25r-r8r3 · CVE-2026-41197
Weakness (CWE)
CWE-131
Published
21 Apr 2026
Updated
5 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Brillig, the Noir bytecode backend in the crates.io package brillig, is vulnerable in versions before 1.0.0-beta.19. When a foreign call returns a nested array whose elements are composite types such as tuples, the heap is under-allocated, so writing the call results overwrites adjacent heap memory. The source does not describe what an attacker would need to trigger this or what they could achieve beyond the corruption itself. Upgrade to brillig 1.0.0-beta.19 or later.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.3 Critical 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:18 UTC First seen by agentprime
  2. 31 Oct 2026, 15:18 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.