web-token jwt-framework before 3.4.13 Denial of Service via JSONGeneralSerializer
Products / packages web-token jwt-library · web-token jwt-framework · web-token jwt-signature
Published
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAssessment vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HSeverity
high8.2CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
The web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 are vulnerable to a Denial of Service via JSONGeneralSerializer. Unauthenticated remote attackers can send large tokens to exhaust CPU.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Attack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
web-token · VulnCheck
jwt-library
8 ranges
web-token · VulnCheck
jwt-library
Package identity
pkg:composer/web-token/jwt-libraryExplore web-token/jwt-library →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 3.4.13
semver versions
4.0.0 → before 4.0.9
semver versions
4.1.0 → before 4.1.11
semver versions
4.2.0 → before 4.2.6
semver versions
unaffected
3.4.13
semver versions
4.0.9
semver versions
4.1.11
semver versions
4.2.6
semver versions
Other versions: unaffected
web-token · VulnCheck
jwt-framework
8 ranges
web-token · VulnCheck
jwt-framework
Package identity
pkg:composer/web-token/jwt-frameworkExplore web-token/jwt-framework →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 3.4.13
semver versions
4.0.0 → before 4.0.9
semver versions
4.1.0 → before 4.1.11
semver versions
4.2.0 → before 4.2.6
semver versions
unaffected
3.4.13
semver versions
4.0.9
semver versions
4.1.11
semver versions
4.2.6
semver versions
Other versions: unaffected
web-token · VulnCheck
jwt-signature
1 range
web-token · VulnCheck
jwt-signature
Package identity
pkg:composer/web-token/jwt-signatureExplore web-token/jwt-signature →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → through 3.2.10
semver versions
Other versions: unaffected
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 parse JSON General serialized JWS tokens in quadratic time because JSONGeneralSerializer::unserialize() adds each signature via JWS::addSignature(), which clones the token. Unauthenticated remote attackers can send large tokens holding thousands of empty signatures to exhaust CPU and occupy PHP workers without any valid key or token.
References
2 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-137580View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*Before: 3.4.13
Vulnerable product
cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*From (inclusive): 4.0.0
Before: 4.0.9
Vulnerable product
cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*From (inclusive): 4.1.0
Before: 4.1.11
Vulnerable product
cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*From (inclusive): 4.2.0
Before: 4.2.6
Applicability preview
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
"versionEndExcluding": "3.4.13"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.0.0",
"versionEndExcluding": "4.0.9"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.1.0",
"versionEndExcluding": "4.1.11"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.2.0",
"versionEndExcluding": "4.2.6"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
web-token jwt-framework before 3.4.13 RSA-OAEP Multi-Block Decryption Oracle
web-token jwt-framework and jwt-library before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 contain a decryption oracle in RSACrypt::decryptWithRSAOAEP(), which accepts a JWE Encrypted Key made of multiple RSA blocks instead of a single RSAES-OAEP ciphertext. Attackers holding the recipient's public key can embed a captured encrypted key among crafted blocks and, using an accepted AES-CBC-HMAC algorithm and a decryption success signal, recover its CEK byte by byte to decrypt the captured JWE.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
web-token jwt-framework before 3.4.13 ECDH-ES DoS via Oversized epk Coordinate
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 allow CPU exhaustion because, on PHP without GMP, AbstractECDH falls back to pure PHP curve code that converts unbounded ECDH-ES epk x and y coordinates to big integers before any length check. Unauthenticated attackers who know only the recipient key's curve can send small JWEs with oversized epk coordinates, keeping workers busy for seconds to minutes per token.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size
Web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 contain a denial of service vulnerability in RSAKey, which accepts RSA keys with a modulus and public exponent of unbounded length. Remote attackers can supply a crafted key, such as in the jwk header of a DPoP proof, to force seconds of CPU per PS256/PS384/PS512 verification or RSA encryption, or per any RSA operation when GMP is unavailable.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
Web-Token jwt-framework before 3.4.13 JWE Token Malleability via Non-Empty Encrypted Key
Web-Token jwt-framework and jwt-library before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6, and jwt-encryption through 3.2.10, contain a token malleability flaw because JWEDecrypter does not reject a non-empty JWE Encrypted Key with the dir, ECDH-ES and ECDH-SS algorithms, which the authentication tag does not cover. Attackers holding one token can fill the Encrypted Key with arbitrary bytes to derive unlimited distinct token strings that still decrypt, bypassing replay caches, single-use registries or revocation deny-lists keyed on the token string.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping
web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
web-token jwt-framework 4.2.1 before 4.2.6 Key Exposure via JWE Exception Traces
web-token jwt-framework from 4.2.1 before 4.2.6 contains an information disclosure vulnerability that exposes decryption keys in exception stack traces when JWE tokens are rejected. Attackers can submit crafted JWE tokens so JWELoader and JWEDecrypter record dir, AES key wrapping, PBES2-derived or content encryption keys in logged trace arguments readable by others.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established