Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-65629

HIGH 7.4EPSS 0%

Weak PBKDF2 parameters for password-encrypted private-key export in jose

Mitigation

  • Upgrade jose to 1.11.13 or later.
  • Upgrade jose to 461b261902531ca016190e780bb70862d561a7e0 or later.
  • Vendor workaround: When exporting a password-encrypted private key with jose_jwk:to_der/2 (JOSE.JWK.to_der/2), use a long, high-entropy passphrase, since the weak key-derivation work factor only meaningfully lowers the cost of cracking guessable passwords. Restrict access to exported EncryptedPrivateKeyInfo blobs and keep them out of backups, repositories, object storage, and logs that an attacker could read.

Who should check

  • Anyone running potatosalad jose >= 1.10.0, < 1.11.13
  • Anyone running potatosalad jose >= 85fddd89ee56b6f9c19eff7d9cfffeef62c330b9, < 461b261902531ca016190e780bb70862d561a7e0

Vulnerability facts

Affected
potatosalad jose >= 1.10.0, < 1.11.13; potatosalad jose >= 85fddd89ee56b6f9c19eff7d9cfffeef62c330b9, < 461b261902531ca016190e780bb70862d561a7e0
Fixed in
potatosalad jose 1.11.13, potatosalad jose 461b261902531ca016190e780bb70862d561a7e0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.4 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.08% chance of exploitation in 30 days (percentile 0, 2026-11-26)
CWE
CWE-916
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
potatosalad jose>= 1.10.0, < 1.11.13—cvelist
potatosalad jose>= 85fddd89ee56b6f9c19eff7d9cfffeef62c330b9, < 461b261902531ca016190e780bb70862d561a7e0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-65629. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-65629.md
Affected: potatosalad jose >= 1.10.0, < 1.11.13; potatosalad jose >= 85fddd89ee56b6f9c19eff7d9cfffeef62c330b9, < 461b261902531ca016190e780bb70862d561a7e0
Fixed in: potatosalad jose 1.11.13, potatosalad jose 461b261902531ca016190e780bb70862d561a7e0

Steps:
1. Search this machine and project for potatosalad jose: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-65629 being exploited?

There is no confirmed exploitation: CVE-2026-65629 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.08% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-65629?

High: CVSS 7.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-65629?

potatosalad jose >= 1.10.0, < 1.11.13; potatosalad jose >= 85fddd89ee56b6f9c19eff7d9cfffeef62c330b9, < 461b261902531ca016190e780bb70862d561a7e0.

Is there a fix for CVE-2026-65629?

Yes. Fixed in potatosalad jose 1.11.13, potatosalad jose 461b261902531ca016190e780bb70862d561a7e0. Upgrade jose to 1.11.13 or later. Upgrade jose to 461b261902531ca016190e780bb70862d561a7e0 or later. Vendor workaround: When exporting a password-encrypted private key with jose_jwk:to_der/2 (JOSE.JWK.to_der/2), use a long, high-entropy passphrase, since the weak key-derivation work factor only meaningfully lowers the cost of cracking guessable passwords. Restrict access to exported EncryptedPrivateKeyInfo blobs and keep them out of backups, repositories, object storage, and logs that an attacker could read.

How do I check if I'm affected by CVE-2026-65629?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors