phonenumber panics on parsing crafted phonenumber inputs
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284 and CWE-617.
Summary
phonenumber is a library for parsing, formatting and validating international phone numbers. Since 0.3.4, the phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber, e.g. over the network, specifically strings of the form `+dwPAA;phone-context=AA`, where the "number" part potentially parses as a number larger than 2^56. This vulnerability is fixed in 0.3.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| whisperfish | rust-phonenumber | 0.3.4 to before 0.3.6 | 0.3.6 | Patch available | CNA |
| — | phonenumber (crates.io) | 0.3.4 to before 0.3.6 | 0.3.6 | Patch available | GHSA-mjw4-jj88-v687 |
- rust-phonenumber Vendorwhisperfish Affected 0.3.4 to before 0.3.6 Fixed in 0.3.6 Patch available CNA
- phonenumber (crates.io) Vendor— Affected 0.3.4 to before 0.3.6 Fixed in 0.3.6 Patch available GHSA-mjw4-jj88-v687
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:* | — | — | whisperfish |
- cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:* Versions — — ·whisperfish
Remediation
- Fix · CNA rust-phonenumber (whisperfish) Fixed in 0.3.6
- Fix · GHSA-mjw4-jj88-v687 phonenumber (crates.io) Fixed in 0.3.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39697
- 2026-10-03 Alias added: GHSA-mjw4-jj88-v687
References
Other 7
- https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-mjw4-jj88-v687
- https://github.com/whisperfish/rust-phonenumber/issues/69
- https://github.com/whisperfish/rust-phonenumber/pull/52
- https://github.com/whisperfish/rust-phonenumber/commit/b792151b17fc90231c232a23935830c2266f3203
- https://github.com/whisperfish/rust-phonenumber/commit/f69abee1481fac0d6d531407bae90020e39c6407
- https://github.com/whisperfish/rust-phonenumber
- https://rustsec.org/advisories/RUSTSEC-2024-0369.html
More whisperfish vulnerabilities
- TI-2023-22609 phonenumber panics on parsing crafted RF3966 inputs CVSS 3.1HIGH 8.6
- TI-2023-22612 blurhash panics on parsing crafted inputs CVSS 3.1HIGH 8.6
- TI-2025-18606 libsignal-service-rs doesn't sanity check plaintext envelopes are not sanity-checked CVSS 3.1HIGH 8.5
- TI-2025-18605 libsignal-service-rs Doesn't Check Origin of Sync Messages CVSS 3.1HIGH 8.5
Sources
- CVE-2024-39697 · CVE Program
- CVE-2024-39697 · NVD
- FIRST EPSS
- GHSA-mjw4-jj88-v687 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences