Affected versions
Version ranges need review.
- Affected versions
- <1.2.2
- Fixed version
- 1.2.2
- Affected versions
- < 1.2.2
- Fixed version
- 1.2.2
Exploitation
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".
Links
- https://github.com/advisories/GHSA-fmjh-f678-cv3x
- https://github.com/nyaruka/phonenumbers
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe
- https://github.com/nyaruka/phonenumbers/issues/148
- https://nvd.nist.gov/vuln/detail/CVE-2025-10954
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070

