6.9medium
github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input
- Severity
- 6.9medium CVSS:4.0 by snyk
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-fmjh-f678-cv3xGO-2025-3987
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".
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/nyaruka/phonenumbers | before 1.2.2 | CVE List |
| github.com/nyaruka/phonenumbers (Go) | before 1.2.2 | GitHub Advisory Database, Go Vulnerability Database |
| textit phonenumbers | before 1.2.2 | NVD |
All scores
| snyk | 6.9medium CVSS:4.0 | 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 |
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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".
Go Vulnerability Database
Vulnerable to Improper Validation of Syntactic Correctness of Input in github.com/nyaruka/phonenumbers
NVD (es)
Las versiones del paquete github.com/nyaruka/phonenumbers anteriores a la 1.2.2 son vulnerables a una validación incorrecta de la corrección sintáctica de la entrada en la función phonenumbers.Parse(). Un atacante puede causar un pánico al proporcionar una entrada manipulada, lo que provoca un 'runtime error: slice bounds out of range'.
References
| https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070 | exploit, third-party-advisory, web | |
| https://github.com/nyaruka/phonenumbers/issues/148 | exploit, issue-tracking, patch, report, web | |
| https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-10954 | advisory | |
| https://github.com/nyaruka/phonenumbers | package | |
| https://github.com/advisories/GHSA-fmjh-f678-cv3x | advisory | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-10954 changed 2025-09-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fmjh-f678-cv3x changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3987 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-10954 changed 2026-10-19 | Public domain |