Vulnerabilities

Vulnerability · HSEC-2025-0002

Double Public Key Signing Function Oracle Attack on Ed25519

Published Nov 14, 2025 · catalog updated Apr 18, 2026 · Double Public Key Signing

Open the advisory

Exploitation likelihood is not on this record for HSEC-2025-0002. A missing EPSS score is not a low risk. Compare Double Public Key Signing with the linked advisory before you change production.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Double Public Key Signing).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
  • EPSS is missing. A missing score is not a low risk.
Severity
Unknown—
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
Awaiting synchronization with FIRST
Remediation
Advisory link
Affected products
Hackage crypton · Hackage cryptonite

# Double Public Key Signing Function Oracle Attack on Ed25519 The standard specification of Ed25519 message signing involves providing the algorithm with a message and private key. The function will use the private key to compute the public key and sign the message. Some libraries provide a variant of the message signing function that also takes the pre-computed public key as an input parameter. Libraries that allow arbitrary public keys as inputs without checking if the input public key corresponds to the input private key are vulnerable to the following attack. By using several public keys and messages, a malicious user with access to the signing mechanism may build up insights into the private key parameters resulting in access to the private key. This shortcoming means that an attacker could use the signing function as an Oracle, perform crypto-analysis and ultimately get at secrets. For example, an attacker who can’t access the private key but can access the signing mechanism through an API call could use several public keys and messages to gradually build up insights into private key parameters.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Hackage crypton0.31 → 1.0.3
  • Hackage cryptonite0.1, 0.10, 0.11
  • Hackage cryptonitefrom 0.1

How to fix HSEC-2025-0002

  • Recommended remediation

    A patch or advisory reference is linked. Open the original publisher for availability by product version.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

Exploitation likelihood is not on this record for HSEC-2025-0002. A missing EPSS score is not a low risk. Compare Double Public Key Signing with the linked advisory before you change production.

Which versions are affected?

Compare what you have installed with 0.31 → 1.0.3, 0.1, 0.10, 0.11, from 0.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Nov 14, 2025 · OpenSSF OSV / OSV Scanner

    Detected

    # Double Public Key Signing Function Oracle Attack on Ed25519 The standard specification of Ed25519 message signing involves providing the algorithm with a message and private key. The function will use the private key to compute the public key and sign the message. Some libraries provide a variant of the message signing function that also takes the pre-computed public key as an input parameter. L

  2. Apr 18, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    crypton fixed in 1.0.3

  3. Apr 18, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    crypton fixed in 1.0.3

  4. Apr 18, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    # Double Public Key Signing Function Oracle Attack on Ed25519 The standard specification of Ed25519 message signing involves providing the algorithm with a message and private key. The function will use the private key to compute the public key and sign the message. Some libraries provide a variant of the message signing function that also takes the pre-computed public key as an input parameter. L

Sources

References

Freshness

Last verified in this catalog Apr 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.