---
title: "Multivariate quadratic problems (MQ and Oil-and-Vinegar)"
description: "Solving a system of quadratic equations over a finite field is infeasible, including when a trapdoor is hidden in it. Schemes that rely on it, evidence of hardness, and best known attacks."
url: "https://pqt-19a6ffd695e12a.pages.dev/assumptions/multivariate/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Multivariate quadratic problems (MQ and Oil-and-Vinegar)

Multivariate · Hardness assumption

Solving a system of quadratic equations over a finite field is infeasible, including when a trapdoor is hidden in it.

**zkSecurity** · Reviewed 2026-11-25

## Statement

**MQ.** Given m quadratic polynomials in n variables over a small finite field, find a common zero. The problem is NP-hard; the best algorithms for random systems are exponential.

**Oil and Vinegar.** The public key is a quadratic system that vanishes on a secret linear subspace (the oil space). Knowledge of the subspace permits solving the system for any target by linear algebra. The assumption is that the public system is as hard to solve as a random one and that the oil space cannot be found. No reduction supports this.

## Use in schemes

- **UOV** (1999): small signatures, fast verification, public keys of tens to hundreds of kilobytes.
- **MAYO:** smaller oil space and key, compensated by combining several copies of the map.
- **QR-UOV:** keys compressed by quotient-ring structure.
- **SNOVA:** keys compressed further over a non-commutative matrix ring.
- **MQOM:** zero-knowledge proof of a solution to a random MQ instance. No trapdoor; rests on MQ and hash security.

## Evidence of hardness

- Balanced Oil and Vinegar was broken in 1998 (Kipnis and Shamir). The unbalanced variant of 1999 stood for 25 years with modest parameter adjustments.
- Structured multivariate schemes have a poor record. GeMSS and Rainbow were eliminated from the NIST process in 2022; Rainbow, a third-round finalist, was broken at its lowest security level in a weekend on a laptop.
- From 2025, exterior-algebra attacks reduced the estimated security of UOV parameter sets over characteristic-2 fields by up to 20 bits, and of some MAYO and SNOVA sets by more. For Round 3, UOV changed three of four parameter sets, MAYO raised its parameters, and SNOVA was reformulated. None of the attacks is practical.

## Best known attacks

- **Direct:** solve the public system as a random system.
- **Key recovery:** reconciliation, intersection and MinRank techniques (improved 2020 to 2022).
- **Exterior algebra (2025 onward):** the wedge attack, truncated-polynomial-ring attacks and Schur-Macaulay matrices. These are the cheapest known attacks on most UOV-family parameter sets. Their cost estimates rest on heuristics still under test.
- **Structure:** the compact variants expose additional structure. SNOVA has been attacked and re-parameterized repeatedly since 2024.
- **Quantum:** Grover-type speedups of the search components.

## Limitations

- Smaller keys are obtained by additional structure, and attacks have concentrated on that structure.
- No standard depends on this family. Its merit is signature size, approximately 100 to 500 bytes.

## Record

10 entries · [Feed](https://pqt-19a6ffd695e12a.pages.dev/feed/)

- 2026-10-11 · Reduced security margin · Action: monitor · [Preprint extends Schur-Macaulay attack to Round-3 MAYO and QR-UOV parameters](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-11-preprint-extends-schur-macaulay-attack-to-round/)
- 2026-09-23 · Reduced security margin · Action: patch · [Schur-Macaulay attack hits nearly all round-2 UOV-family sets; MAYO raises parameters](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-09-23-schur-macaulay-attack-hits-nearly-all-round-2-uo/)
- 2026-08-26 · Reduced security margin · Action: patch · [Salt-less seed expansion in SDitH v2 and MQOM allows cross-signature shortcut; fixed](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-26-salt-less-seed-expansion-in-sdith-v2-and-mqom-al/)
- 2026-08-05 · Reduced security margin · Action: monitor · [Extended algebraic attack reaches SNOVA sets outside the original wedge attack](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-05-extended-algebraic-attack-reaches-snova-sets-out/)
- 2026-02-18 · Reduced security margin · Action: patch · [Truncated-polynomial-ring attack puts three UOV parameter sets below target](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-02-18-truncated-polynomial-ring-attack-puts-three-uov/)
- 2026-02-12 · Reduced security margin · Action: patch · [Wedge attack puts 6 of 11 round-2 SNOVA parameter sets below their claimed level](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-02-12-wedge-attack-puts-6-of-11-round-2-snova-paramete/)
- 2025-06-17 · Reduced security margin · Action: monitor · [Wedge attack on UOV in characteristic 2 weakens UOV and MAYO parameter sets](https://pqt-19a6ffd695e12a.pages.dev/feed/2025-06-17-wedge-attack-on-uov-in-characteristic-2-weakens/)
- 2024-08-19 · Reduced security margin · Action: monitor · [Beullens: SNOVA security margin reduced by 2^8 to 2^39](https://pqt-19a6ffd695e12a.pages.dev/feed/2024-08-19-beullens-snova-security-margin-reduced-by-2-8-to/)
- 2024-01-22 · Reduced security margin · Action: monitor · [First attacks put some SNOVA parameter sets below claimed security](https://pqt-19a6ffd695e12a.pages.dev/feed/2024-01-22-first-attacks-put-some-snova-parameter-sets-belo/)
- 2022-02-25 · Scheme broken · Action: migrate · [Beullens key-recovery attack breaks Rainbow at security level 1](https://pqt-19a6ffd695e12a.pages.dev/feed/2022-02-25-beullens-key-recovery-attack-breaks-rainbow-at-s/)

- **Status**: Parameters revised (2026)
- **Studied since**: 1999 (Unbalanced Oil and Vinegar: 1999. Multivariate signatures: 1988)
- **Exploitable structure**: Hidden trapdoor subspace
- **Worst-case reduction**: None (MQ is NP-hard in the worst case)
- **Quantum speedup**: Quadratic at most (Grover)

### Relied on by

- **[MQOM](https://pqt-19a6ffd695e12a.pages.dev/candidates/#mqom)** (Plain MQ, no trapdoor)
- **[UOV](https://pqt-19a6ffd695e12a.pages.dev/candidates/#uov)** (Multivariate (Unbalanced Oil and Vinegar))
- **[MAYO](https://pqt-19a6ffd695e12a.pages.dev/candidates/#mayo)** (Multivariate (UOV variant))
- **[QR-UOV](https://pqt-19a6ffd695e12a.pages.dev/candidates/#qr-uov)** (Multivariate (UOV variant))
- **[SNOVA](https://pqt-19a6ffd695e12a.pages.dev/candidates/#snova)** (Multivariate (UOV variant))

### Consequence of failure

UOV, MAYO, QR-UOV and SNOVA fail. No standard depends on this family; its parameter sets were revised in 2026.

### Related

[Hash security](https://pqt-19a6ffd695e12a.pages.dev/assumptions/hash-functions/)

**References (6)**

- [Beullens: Improved cryptanalysis of UOV and Rainbow](https://eprint.iacr.org/2020/1343)
- [Beullens: Breaking Rainbow takes a weekend on a laptop](https://eprint.iacr.org/2022/214)
- [Beullens: MAYO: practical post-quantum signatures from Oil-and-Vinegar maps](https://eprint.iacr.org/2021/1144)
- [Ran: Wedges, oil, and vinegar: an analysis of UOV in the exterior algebra](https://eprint.iacr.org/2025/1143)
- [Merz, Ran: Attacking UOV-based signatures with Schur-Macaulay matrices](https://eprint.iacr.org/2026/2181)
- [NIST: Round 3 additional signatures](https://csrc.nist.gov/projects/pqc-dig-sig/round-3-additional-signatures)

### Data

[data.json](https://pqt-19a6ffd695e12a.pages.dev/assumptions/multivariate/data.json)
