{"schema_version":"1.7.3","id":"GHSA-fmjh-f678-cv3x","published":"2025-09-27T06:30:52Z","modified":"2026-02-04T03:59:48.689303Z","aliases":["CVE-2025-10954","GO-2025-3987"],"related":["CGA-4wc2-wjqc-6ccm"],"summary":"github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input","details":"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":[{"package":{"name":"github.com/nyaruka/phonenumbers","ecosystem":"Go","purl":"pkg:golang/github.com/nyaruka/phonenumbers"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-fmjh-f678-cv3x/GHSA-fmjh-f678-cv3x.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10954"},{"type":"WEB","url":"https://github.com/nyaruka/phonenumbers/issues/148"},{"type":"WEB","url":"https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe"},{"type":"PACKAGE","url":"https://github.com/nyaruka/phonenumbers"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070"}],"database_specific":{"cwe_ids":["CWE-1286"],"github_reviewed":true,"github_reviewed_at":"2025-09-29T16:29:27Z","nvd_published_at":"2025-09-27T05:15:29Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"}]}