CVE-2025-10954: github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input
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".
Published Sep 27, 2025 · Updated Sep 29, 2025
Affected packages
github.com/nyaruka/phonenumbers
- Ecosystem
- Go
- Affected
- < 1.2.2
- Fixed in
- 1.2.2
- Check
go list -m github.com/nyaruka/phonenumbers
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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".
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-10954
- https://github.com/nyaruka/phonenumbers/issues/148
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070
- https://github.com/advisories/GHSA-fmjh-f678-cv3x
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
