web-token/jwt-signature: is it safe?

Short answer: Every vulnerability listed here affects version 3.2.10 or earlier. Versions after 3.2.10 are not known to be affected.

Composer web-token/jwt-signature has 4 known advisories in the phpwarden feed. Feed 2026.11.29.3, updated 2026-11-29.

4advisories
0critical
0on CISA KEV
3no fix recorded
CVETitleSeverityCVSSAffectedFixed in
GHSA-2xq2-pp89-x7frJWS and JWE serializers decode attacker-controlled JSON without bounds before verification (CPU and memory denial of service)unknown0.0<=3.2.10–
GHSA-3vqw-452c-g726JWE and JWS loaders try every recipient or signature of a token, so a small token multiplies the PBES2 iteration cap (denial of service)unknown0.0>=0.5.0 and <=3.2.10–
GHSA-96f8-m4jr-72xjRSA keys of any size are accepted: a key chosen by the sender of a token costs seconds of CPU per operation (RSA-PSS and RSA encryption, andunknown0.0<2.0.42.0.4
GHSA-jgv7-g4jg-6hqvDenial of service: parsing a JWS in the JSON General serialization takes a time quadratic in its number of signaturesunknown0.0<=3.2.10–

Quick answers

Is web-token/jwt-signature safe to use?

Every vulnerability listed here affects version 3.2.10 or earlier. Versions after 3.2.10 are not known to be affected.

Is web-token/jwt-signature being actively exploited?

None of its 4 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/web-token/jwt-signature.svg)](https://phpwarden.io/packages/web-token/jwt-signature)