Skip to content

CIRCL-Fourq: Missing and wrong validation can lead to incorrect results

Low
mschwarzl published GHSA-2x5j-vhc8-9cwm Jun 10, 2025

Package

No package listed

Affected versions

< 1.6.1

Patched versions

1.6.1

Description

Impact

The CIRCL implementation of FourQ fails to validate user-supplied low-order points during Diffie-Hellman key exchange, potentially allowing attackers to force the identity point and compromise session security.

Moreover, there is an incorrect point validation in ScalarMult can lead to incorrect results in the isEqual function and if a point is on the curve.

Patches

Version 1.6.1 (https://github.com/cloudflare/circl/tree/v1.6.1) mitigates the identified issues.

We acknowledge Alon Livne (Botanica Software Labs) for the reported findings.

Severity

Low

CVE ID

No known CVE

Weaknesses