CVE-2026-65629
Last modified
CVE-2026-65629 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. Use of Password Hash With Insufficient Computational Effort in the jose library allows an attacker who obtains a password-encrypted private-key export to recover the private key through an offline password-cracking attack. When jose exports a password-encrypted private key with jose_jwk:to_der/2 (JOSE.JWK.to_der/2), the jose_jwk_der:to_binary/3 function in src/jwk/jose_jwk_der.erl serializes the key as a PKCS#8 EncryptedPrivateKeyInfo using the PBES2 scheme with hardcoded key-derivation parameters: PBKDF2-HMAC-SHA256 with an iteration count of 2048 and an 8-byte (64-bit) random salt. Neither value can be overridden by the caller. Both values are far below current guidance (OWASP recommends on the order of 600,000 iterations for PBKDF2-HMAC-SHA256, and NIST recommends salts of at least 128 bits), so the key-stretching work factor is roughly 300 times lower than intended and the short salt reduces the cost of precomputation across keys. EPSS estimates a 0.06% chance of exploitation in the next 30 days.
Description
Use of Password Hash With Insufficient Computational Effort in the jose library allows an attacker who obtains a password-encrypted private-key export to recover the private key through an offline password-cracking attack. When jose exports a password-encrypted private key with jose_jwk:to_der/2 (JOSE.JWK.to_der/2), the jose_jwk_der:to_binary/3 function in src/jwk/jose_jwk_der.erl serializes the key as a PKCS#8 EncryptedPrivateKeyInfo using the PBES2 scheme with hardcoded key-derivation parameters: PBKDF2-HMAC-SHA256 with an iteration count of 2048 and an 8-byte (64-bit) random salt. Neither value can be overridden by the caller. Both values are far below current guidance (OWASP recommends on the order of 600,000 iterations for PBKDF2-HMAC-SHA256, and NIST recommends salts of at least 128 bits), so the key-stretching work factor is roughly 300 times lower than intended and the short salt reduces the cost of precomputation across keys. The symmetric encryption (AES-256-CBC with a 16-byte random IV) is not affected; the weakness is entirely in the derivation strength. An attacker who obtains one of these exported blobs (for example from a backup, configuration repository, object storage, or logs) can mount a cheap offline dictionary or brute-force attack against the export password, and success yields the full private key. This issue affects jose: from 1.10.0 before 1.11.13.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| potatosalad | jose | >= 1.10.0, < 1.11.13 |
| potatosalad | jose | >= 85fddd89ee56b6f9c19eff7d9cfffeef62c330b9, < 461b261902531ca016190e780bb70862d561a7e0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-65629?
How severe is CVE-2026-65629?
How do I fix CVE-2026-65629?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65623Inefficient Algorithmic Complexity vulnerability in mtrudel …8.7
- CVE-2026-65624Allocation of Resources Without Limits or Throttling vulnera…6.9
- CVE-2026-65625The pure-Erlang AES-GCM fallback in jose_jwa_aes derives the…5.9
- CVE-2026-65626The pure-Erlang RSAES-PKCS1-v1_5 decryption in the jose_jwa_…5.9
- CVE-2026-65627Improper Handling of Highly Compressed Data (Data Amplificat…6.9
- CVE-2026-65628jose_jwk:shared_secret/2 (exposed in Elixir as JOSE.JWK.shar…5.9
- CVE-2026-6563A vulnerability has been found in H3C Magic B1 up to 100R004…8.8
- CVE-2026-65630Observable Timing Discrepancy vulnerability in potatosalad j…5.9
- CVE-2026-65631Inefficient Algorithmic Complexity in erlang-jose allows an …6.9
- CVE-2026-65632The jose library accepts ECDSA (ES256, ES256K, ES384, and ES…5.1
- CVE-2026-65633Improper Authentication vulnerability in team-alembic AshAut…7.6
- CVE-2026-65634Inefficient algorithmic complexity in the Erlang/OTP asn1 OB…8.2
Are you affected by CVE-2026-65629?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
