What’s Vulnerable › Vulnerabilities

CVE-2025-10954

Description

Versions of the package github.com/nyaruka/phonenumbers before 1.2.2 are vulnerable to Improper Validation of Syntactic Correctness of Input in the phonenumbers.Parse() function. An attacker can cause a panic by providing crafted input causing a "runtime error: slice bounds out of range".

Affected products

How to fix

Upgrade to a fixed version: github.com/nyaruka/phonenumbers 1.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-10954 or the next vulnerability affects your stack