CVE-2025-10954
MEDIUM 5.5CVSS 4.0github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input
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".
- Published
- 27 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-1286
- Also known as
- GHSA-fmjh-f678-cv3xGO-2025-3987
- Sources
- NVDJSONOSV GHSA-fmjh-f678-cv3xJSONOSV GO-2025-3987JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | textit | phonenumberscpe:2.3:a:textit:phonenumbers:*:*:*:*:*:*:*:* |
< 1.2.2 | 1.2.2 |
| OSV | Go | github.com/nyaruka/phonenumbers | < 1.2.2 | 1.2.2 |
References
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe · Patch, WEB, FIX
- https://github.com/nyaruka/phonenumbers/issues/148 · Exploit, Issue Tracking, Patch, WEB, REPORT
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070 · Exploit, Third Party Advisory, 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
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 27 Sep 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Sep 2025)