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".
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe Patch
- https://github.com/nyaruka/phonenumbers/issues/148 Exploit, Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.5 · textitNVD modified 2026-10-19 16:10
Affected (CPE criteria) 1
cpe:2.3:a:textit:phonenumbers:*:*:*:*:*:*:*:*
References 3
- https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe Patch
- https://github.com/nyaruka/phonenumbers/issues/148 Exploit, Issue Tracking, Patch
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070 Exploit, Third Party Advisory