GHSA-g7m4-839x-ch6v: spomky-labs/otphp: Unbounded digits parameter in a provisioning URI triggers an uncaught DivisionByZeroError in OTP generation

high Affects spomky-labs/otphp. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

spomky-labs/otphp: Unbounded digits parameter in a provisioning URI triggers an uncaught DivisionByZeroError in OTP generation

Package
spomky-labs/otphp Composer
Affected versions
<11.4.3
Fixed in
11.4.3
Severity
high
Exploitation
not on CISA KEV
Published
2026-06-18
Source
osv.dev

References

CWE-1284CWE-369
NVD recordspomky-labs/otphp 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