GHSA-4v5c-4hwq-6f6m: TOTP::expiresIn() throws an uncaught TypeError for a provisioning URI with a future epoch and a very large period

unknown Affects spomky-labs/otphp. Feed 2026.11.29.3, updated 2026-11-29.

TOTP::expiresIn() throws an uncaught TypeError for a provisioning URI with a future epoch and a very large period

Package
spomky-labs/otphp Composer
Affected versions
>=11.4.0 and <11.4.4 or >=11.5.0 and <11.5.1
Fixed in
11.4.4, 11.5.1
Severity
unknown
Exploitation
not on CISA KEV
Source
friendsofphp

References

NVD recordspomky-labs/otphp advisories

Quick answers

Is GHSA-4v5c-4hwq-6f6m being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes GHSA-4v5c-4hwq-6f6m?

spomky-labs/otphp: 11.4.4, 11.5.1.

How do I check whether I am affected?

Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.

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

Related advisories