MEDIUM · CVSS 5.3 Published: 2025-09-27
CVE-2025-10954 — Technical Security Advisory & CVSS Profile
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".
Technical Metadata
| Identifier | CVE-2025-10954 |
|---|---|
| Base Severity / Score | MEDIUM (5.3 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Weakness Classification | CWE-1286 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe
- https://github.com/nyaruka/phonenumbers/issues/148
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070
Related Security Advisories
CVE-2025-10953 HIGH 8.8
CVE-2025-10958 MEDIUM 6.3
CVE-2025-10959 MEDIUM 6.3
CVE-2025-10960 MEDIUM 6.3
CVE-2025-10961 MEDIUM 5.5
CVE-2025-10962 MEDIUM 6.3
CVE-2025-10963 MEDIUM 6.3