GHSA-3prj-6hqw-cm82: PHP JWT Library: PBES2-HS*+A*KW unwrap accepts an unbounded p2c iteration count, enabling CPU-amplification denial of service

high Affects web-token/jwt-framework, web-token/jwt-library. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

PHP JWT Library: PBES2-HS*+A*KW unwrap accepts an unbounded p2c iteration count, enabling CPU-amplification denial of service

Package
web-token/jwt-framework Composer
Affected versions
<3.4.10 or >=4.0.0 and <4.0.7 or >=4.1.0 and <4.1.7
Fixed in
3.4.10, 4.0.7, 4.1.7
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

PHP JWT Library: PBES2-HS*+A*KW unwrap accepts an unbounded p2c iteration count, enabling CPU-amplification denial of service

Package
web-token/jwt-library Composer
Affected versions
<3.4.10 or >=4.0.0 and <4.0.7 or >=4.1.0 and <4.1.7
Fixed in
3.4.10, 4.0.7, 4.1.7
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

CWE-400CWE-770
NVD recordweb-token/jwt-framework advisoriesweb-token/jwt-library advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,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

Related advisories