# CVE-2025-10954: github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input

- Severity: Medium 6.9 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-09-27T05:00:00.966Z
- Modified: 2026-10-19T16:10:00.260Z
- Also known as: GHSA-fmjh-f678-cv3x, GO-2025-3987
- Related: CGA-4wc2-wjqc-6ccm
- Weaknesses: CWE-1286
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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".

(As written by CVE List.)

## Affected

- github.com/nyaruka/phonenumbers: before 1.2.2
- github.com/nyaruka/phonenumbers (Go): before 1.2.2
- textit phonenumbers: before 1.2.2

## Every score

- snyk: CVSS:4.0 6.9 Medium `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`
- snyk: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070> (exploit, third-party-advisory, web)
- <https://github.com/nyaruka/phonenumbers/issues/148> (exploit, issue-tracking, patch, report, web)
- <https://github.com/nyaruka/phonenumbers/commit/0479e35488e8a002a261cdb515ef8a7f80ca37fe> (fix, patch, 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)

## Sources

- CVE List: [CVE-2025-10954](https://www.cve.org/CVERecord?id=CVE-2025-10954), CVE Terms of Use, modified 2025-09-29
- GitHub Advisory Database: [GHSA-fmjh-f678-cv3x](https://github.com/advisories/GHSA-fmjh-f678-cv3x), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3987](https://pkg.go.dev/vuln/GO-2025-3987), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-10954](https://nvd.nist.gov/vuln/detail/CVE-2025-10954), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-10954 · Whole record: https://cve.day/CVE-2025-10954.json · Rebuilt by cve.day 2026-11-25T22:59:05.266Z
