Vulnerability 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".
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Textit | Phonenumbers | < 1.2.2 |
Related Weaknesses (CWE)
References
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f8Patch
- https://github.com/nyaruka/phonenumbers/issues/148ExploitIssue TrackingPatch
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070ExploitThird Party Advisory
FAQ
What is CVE-2025-10954?
CVE-2025-10954 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2025-10954?
CVE-2025-10954 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-10954?
Check the references section above for vendor advisories and patch information. Affected products include: Textit Phonenumbers.