Medium

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

  • Disclosed: 28.04.2024
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package mdanter/ecc <= 1.0.0 no fix
Composer package paragonie/ecc < 2.0.1 2.0.1

References

CVSS score 4.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
-
Platform
Composer
Package
mdanter/ecc, paragonie/ecc
Disclosed
28.04.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-3494-cfwf-56hw - CC BY 4.0

Vulnerability history: mdanter/ecc

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
04.2024 04.2024
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • Medium 1

Disclosures per year

  1. 2024: 2
  2. 2025: 0
  3. 2026: 0
  1. mdanter/ecc affected by timing vulnerability in cryptographic side-channels this entry
    Medium · 4.3 CVE-2024-33851 <= 1.0.0 no fix
  2. Critical · 9.1 ghsa-346h-749j-r28w <= 1.0.0 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.