Heap corruption via compressed EC point miscalculation
Published Jan 13, 2026 · Updated Jan 13, 2026
Heap buffer overflow in openCryptoki 3.25.0 and 3.26.0 allows local users to corrupt heap memory or crash a host process via C_WrapKey. Within ecdh_aes_key_wrap(), the length query sizes output from the supplied compressed EC point, but the write copies a larger uncompressed transport point and offsets wrapped data using the shorter length. Exploitation requires access to invoke CKM_ECDH_AES_KEY_WRAP against a Soft or ICA token with an attacker-controlled compressed public key.
Summary
What happened
Heap buffer overflow in openCryptoki 3.25.0 and 3.26.0 allows local users to corrupt heap memory or crash a host process via C_WrapKey. Within ecdh_aes_key_wrap(), the length query sizes output from the supplied compressed EC point, but the write copies a larger uncompressed transport point and offsets wrapped data using the shorter length. Exploitation requires access to invoke CKM_ECDH_AES_KEY_WRAP against a Soft or ICA token with an attacker-controlled compressed public key.
The record
- CVE
- CVE-2026-22791
- Published
- Jan 13, 2026
- Updated
- Jan 13, 2026
- Vendor
- openCryptoki
- Product
- openCryptoki
- Classifications
- CWE-131, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 13, 2026CVE publishedPublication date reported by the CVE source.
- Jan 13, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 3.25.0, <= 3.26.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Compressed EC point C_WrapKey proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo