Medium, CVSS 5.5GoPublished
github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input
CVE-2025-10954 · GHSA-fmjh-f678-cv3x
- Affected
- Go github.com/nyaruka/phonenumbers < 1.2.2
- Fixed in
- 1.2.2· Vendor fix available
- Issue
- 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".
Recommended action: Upgrade to 1.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.