{"id":"CVE-2025-10954","aliases":["CVE-2025-10954","GHSA-fmjh-f678-cv3x","GO-2025-3987"],"related":["CGA-4wc2-wjqc-6ccm"],"kind":"vulnerability","state":"published","title":"github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input","summary":"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\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\".","source":"cvelist"},{"lang":"en","text":"Vulnerable to Improper Validation of Syntactic Correctness of Input in github.com/nyaruka/phonenumbers","format":"markdown","source":"go"},{"lang":"es","text":"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'.","source":"nvd"}],"published":"2025-09-27T05:00:00.966Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1286"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.2.2","status":"affected"}],"product":"github.com/nyaruka/phonenumbers","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.2"}],"ecosystem":"Go","package":"github.com/nyaruka/phonenumbers","purl":"pkg:golang/github.com/nyaruka/phonenumbers","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.2"}],"ecosystem":"Go","package":"github.com/nyaruka/phonenumbers","purl":"pkg:golang/github.com/nyaruka/phonenumbers","source":"go"},{"ranges":[{"status":"affected","fixed":"1.2.2"}],"vendor":"textit","product":"phonenumbers","cpe":"cpe:2.3:a:textit:phonenumbers:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/nyaruka/phonenumbers/issues/148","tags":["exploit","issue-tracking","patch","report","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe","tags":["fix","patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10954","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nyaruka/phonenumbers","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-fmjh-f678-cv3x","tags":["advisory"],"sources":["go"]}],"credits":["Shai Shnaider"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-09-29T13:40:03.968Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-10954","url":"https://www.cve.org/CVERecord?id=CVE-2025-10954","licence":"CVE Terms of Use","modified":"2025-09-29T13:42:17.769Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fmjh-f678-cv3x","url":"https://github.com/advisories/GHSA-fmjh-f678-cv3x","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:28.263Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3987","url":"https://pkg.go.dev/vuln/GO-2025-3987","licence":"CC-BY-4.0","modified":"2026-02-04T03:46:59.754Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-10954","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10954","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:05.266Z","epss":{"score":0.00474,"percentile":0.42605,"date":"2026-12-01T12:00:22.000Z"}}