All reports
Medium

mdanter/ecc affected by timing vulnerability in cryptographic side-channels

Affected versions

Version ranges need review.

Composermdanter/ecc
Affected versions
>=0,<1|>=1,<2.0.0
Fixed version
Not reported
Composermdanter/ecc
Affected versions
<= 1.0.0
Fixed version
Not reported
Affected versions
>= 0, < 2.0.1
Fixed version
2.0.1
Affected versions
>=2,<2.0.1
Fixed version
Not reported

Exploitation

CVE-2024-33851

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-19

Description

phpecc, as used in all versions of mdanter/ecc, as well as paragonie/ecc before 2.0.1, has a branch-based timing leak in Point addition. (This Composer package is also known as phpecc/phpecc on GitHub, previously known as the Matyas Danter ECC library.)

Paragon Initiative Enterprises hard-forked phpecc/phpecc and discovered the issue in the original code, then released v2.0.1 which fixes the vulnerability. The upstream code is no longer maintained and remains vulnerable for all versions.

Links

Credits

  • paragonie-security