CVE-2025-10954
Textit Phonenumbers vulnerability
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
Phonenumbers. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Textit Phonenumbers runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe · Patch
- github.com/nyaruka/phonenumbers/issues/148 · Exploit
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-10954
- github.com/advisories/GHSA-fmjh-f678-cv3x
- nvd.nist.gov/vuln/detail/CVE-2025-10954
- cve.org/CVERecord?id=CVE-2025-10954
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.