IntelligenceFindingsNMN-2026-0181
Soundness issue with Plonky2 look up tables
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- plonky2 crates.ioplonky2: from 1.0.0 before 1.0.1; listed versions 1.0.0
- What to do
- Upgrade plonky2 to 1.0.1 or later.
- Severity
- HighRated by the source advisory.
- Confidence
- HighThe affected range comes from the advisory; no system that uses the component has been assessed.
Verification
Where it stands.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
6 listed
Sources
- OSV record GHSA-hj49-h7fq-px5hosv.devRetrieved 3 December 2026
- web reference for GHSA-hj49-h7fq-px5hgithub.comRetrieved 3 December 2026
- advisory reference for GHSA-hj49-h7fq-px5hnvd.nist.govRetrieved 3 December 2026
- web reference for GHSA-hj49-h7fq-px5hgithub.comRetrieved 3 December 2026
- package reference for GHSA-hj49-h7fq-px5hgithub.comRetrieved 3 December 2026
- web reference for GHSA-hj49-h7fq-px5hgithub.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0181
- Category
- vulnerability
- Component
- plonky2 (crates.io)plonky2: from 1.0.0 before 1.0.1; listed versions 1.0.0
- Severity
- High. Rated by the source advisory.Severity as labelled by the source advisory GHSA-hj49-h7fq-px5h. CVSS as given: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N. Noumen has not assessed it.
- Confidence
- High.The affected range comes from the advisory; no system that uses the component has been assessed.
- State
- Candidate. Machine- or researcher-generated; not independently verified.
- Disclosure
- Public
- Mitigation
- Upgrade plonky2 to 1.0.1 or later.
- Discovery method
- imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
- Reproduction
- No reproduction steps recorded.
- Related advisories
- GHSA-hj49-h7fq-px5hCVE-2025-24802
- Affected systems
- None listed. A link to a system needs its own evidence.
- Attribution
- Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
- Assigned reviewer
- Nobody yet
- Dates
- Created 3 December 2026, 16:52 UTCUpdated 3 December 2026, 16:52 UTC
Summary, as published by the source advisory
### Impact
Lookup tables, whose length is not divisible by `26 = floor(num_routed_wires / 3)` always include the `0 -> 0` input-output pair. Thus a malicious prover can always prove that `f(0) = 0` for any lookup table f (unless its length happens to be divisible by 26).
The cause of problem is that the `LookupTableGate`-s are [padded with zeros](https://github.com/0xPolygonZero/plonky2/blob/main/plonky2/src/plonk/prover.rs#L97).
The fix is done by padding with an existing table pair, similarly to `LookupGate`.
A workaround from the user side is to extend the table (by repeating some entries) so that its length becomes divisible by 26.
Fortunately, the seemingly most common use case, namely, hash functions with table-based sbox-es, are not vulnerable:
* both Monolith's and Tip5/Tip4's s-box tables already map 0 to 0;
* more generally, forcing several (0,0) pairs inside such a hash function appears to be a too strong restriction to find an otherwise valid trace.
A malicious prover exploiting this could cheat a circuit which statement is the following:
- output `x + f(x)` for some private input `x`, where `f(x) := 100 - x` is implemented by a lookup table.
A malicious prover would be able to convince an honest verifier that they know an `0 <= x < 64` such that `x + (100 - x) = 0`.
### Patches
Yes, upgrade to v1.0.1
### Workarounds
No
### References
1 event, oldest first
History
History verified: 1 eventLatest hash24a6003e041924a6003e04197d64ae823270ba16cdfca6795f21625eb1c017cfdc288be5563c
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-hj49-h7fq-px5h.
Entered the record in the state Candidate.
Event 1 hash24a6003e041924a6003e04197d64ae823270ba16cdfca6795f21625eb1c017cfdc288be5563c
About this record
Severity and confidence are rated separately, each with its own reason.
History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.
Corrections keep the value before and after.