Proof model · Proof model
Random oracle model (ROM and QROM)
Security proofs treat the hash function as a uniformly random function accessible only by query.
Definition
The random oracle model (ROM) is a proof technique, not a hardness assumption. The hash function is replaced by a uniformly random function to which all parties, including the attacker, have only query access.
In the quantum random oracle model (QROM) the attacker may query the oracle in superposition, reflecting that a public hash function can be evaluated on a quantum computer. Several classical proof techniques do not transfer, and QROM reductions are generally less tight.
Use in schemes
- Fujisaki-Okamoto transform (ML-KEM, HQC, FrodoKEM, Classic McEliece): converts passively secure encryption into a chosen-ciphertext-secure KEM by re-encrypting during decapsulation and rejecting on mismatch.
- Fiat-Shamir with aborts (ML-DSA): derives the challenge of an identification protocol from a hash.
- Hash-and-sign (FN-DSA): the message is hashed to a lattice point that the proof treats as random.
- Hybrid combiners: the key-derivation function is modelled as a random oracle or dual PRF.
- LMS. XMSS and SLH-DSA avoid the model for their core claims.
Standing
No hash function is a random oracle, and contrived schemes exist that are secure in the ROM and insecure with any concrete hash. No naturally designed scheme proven in the ROM has been broken through the idealization in three decades of use; RSA-OAEP, RSA-PSS and Schnorr-type signatures rely on it. A ROM or QROM proof establishes that an attack must exploit the hash function, the underlying problem, or the implementation, not the composition.
Limitations
- Tightness. Some QROM reductions lose a large factor. Parameters are set from attacks; the proof is evidence of sound structure.
- Implicit rejection. The Fujisaki-Okamoto proof requires that a rejected ciphertext yield a pseudorandom key and that rejection be otherwise indistinguishable. An error code, a timing difference or an incomplete comparison voids the argument. In 2026 one library compared part of the ML-KEM ciphertext only; a proof of concept recovered the private key from a few hundred chosen ciphertexts.
- Stated properties only. Chosen-ciphertext security does not imply that a shared key is bound to a given public key or ciphertext. Protocols that assume such binding can be attacked without contradiction of the KEM's proof.
- Domain separation. The model assumes independent oracles for independent purposes.
Theoretical result·No action required
X-Wing case study: raw X25519 outputs let distinct ciphertexts share a secret
Reduced security margin·Action: patch
IND-CCA2 flaw in HQC's February 2025 specification: salt not covered by the FO check
Theoretical result·No action required
"A Closer Look at Falcon": the GPV proof does not cover Falcon's chosen parameters
Theoretical result·No action required
KEM binding notions defined; ML-KEM shown not to be MAL-BIND-K-CT or MAL-BIND-K-PK
Theoretical result·No action required
PQXDH analysis: KEM re-encapsulation attack possible unless the KEM binds its public key
Theoretical result·No action required
Gap found and fixed in Fiat-Shamir-with-aborts security proofs covering Dilithium