nyaruka/phonenumbers · Security
github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input
- GHSA ID
- GHSA-fmjh-f678-cv3x
- CVE ID
- CVE-2025-10954
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS v4
- 5.5 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
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".
CWEs
- CWE-1286 · Improper Validation of Syntactic Correctness of Input
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 ↗