IntelligenceFindingsNMN-2026-0058
Padding Oracle Attack due to Observable Timing Discrepancy in jose
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- jose npmjose: from 1.0.0 before 1.28.1. jose: from 2.0.0 before 2.0.5. jose: from 3.0.0 before 3.11.4
- What to do
- Upgrade jose to 1.28.1 or later. Upgrade jose to 2.0.5 or later. Upgrade jose to 3.11.4 or later.
- Severity
- ModerateRated by the source advisory.
- Confidence
- HighThe affected range comes from the advisory; no system that uses the component has been assessed.
Verification
Where it stands.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
4 listed
Sources
- OSV record GHSA-58f5-hfqc-jgchosv.devRetrieved 3 December 2026
- web reference for GHSA-58f5-hfqc-jgchgithub.comRetrieved 3 December 2026
- advisory reference for GHSA-58f5-hfqc-jgchnvd.nist.govRetrieved 3 December 2026
- web reference for GHSA-58f5-hfqc-jgchnpmjs.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0058
- Category
- vulnerability
- Component
- jose (npm)jose: from 1.0.0 before 1.28.1. jose: from 2.0.0 before 2.0.5. jose: from 3.0.0 before 3.11.4
- Severity
- Moderate. Rated by the source advisory.Severity as labelled by the source advisory GHSA-58f5-hfqc-jgch. CVSS as given: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. Noumen has not assessed it.
- Confidence
- High.The affected range comes from the advisory; no system that uses the component has been assessed.
- State
- Candidate. Machine- or researcher-generated; not independently verified.
- Disclosure
- Public
- Mitigation
- Upgrade jose to 1.28.1 or later. Upgrade jose to 2.0.5 or later. Upgrade jose to 3.11.4 or later.
- Discovery method
- imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
- Reproduction
- No reproduction steps recorded.
- Related advisories
- GHSA-58f5-hfqc-jgchCVE-2021-29443
- Affected systems
- None listed. A link to a system needs its own evidence.
- Attribution
- Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
- Assigned reviewer
- Nobody yet
- Dates
- Created 3 December 2026, 16:48 UTCUpdated 3 December 2026, 16:48 UTC
Summary, as published by the source advisory
jose is an npm library providing a number of cryptographic operations.
### Impact
[AES_CBC_HMAC_SHA2 Algorithm](https://tools.ietf.org/html/rfc7518#section-5.2) (A128CBC-HS256, A192CBC-HS384, A256CBC-HS512) decryption would always execute both HMAC tag verification and CBC decryption, if either failed `JWEDecryptionFailed` would be thrown. But a possibly observable difference in timing when padding error would occur while decrypting the ciphertext makes a padding oracle and an adversary might be able to make use of that oracle to decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block).
### Patches
All major release versions have had a patch released which ensures the HMAC tag is verified before performing CBC decryption. The fixed versions are `^1.28.1 || ^2.0.5 || >=3.11.4`.
Users should upgrade their v1.x dependency to [`^1.28.1`](https://github.com/panva/jose/releases/tag/v1.28.1), their v2.x dependency to [`^2.0.5`](https://github.com/panva/jose/releases/tag/v2.0.5), and their v3.x dependency to [`^3.11.4`](https://github.com/panva/jose/releases/tag/v3.11.4)
### Credits
Thanks to Morgan Brown of Microsoft for bringing this up and Eva Sarafianou (@esarafianou) for helping to score this advisory.
1 event, oldest first
History
History verified: 1 eventLatest hash346a8a171761346a8a17176101258e9769d85f2edde3dbb60679e4f959b6b2fa2450ab42df7f
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-58f5-hfqc-jgch.
Entered the record in the state Candidate.
Event 1 hash346a8a171761346a8a17176101258e9769d85f2edde3dbb60679e4f959b6b2fa2450ab42df7f
About this record
Severity and confidence are rated separately, each with its own reason.
History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.
Corrections keep the value before and after.