phonenumber panics on parsing crafted RF3966 inputs
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- 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-248.
Summary
phonenumber is a library for parsing, formatting and validating international phone numbers. Prior to versions `0.3.3+8.13.9` and `0.2.5+8.11.3`, 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 over the network, specifically the string `.;phone-context=`. Versions `0.3.3+8.13.9` and `0.2.5+8.11.3` contain a patch for this issue. There are no known workarounds.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- 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 | before 0.2.5+8.11.3; 0.3.0 to before 0.3.3+8.3.19 | 0.2.5+8.11.3, 0.3.3+8.3.19 | Patch available | CNA |
| — | phonenumber (crates.io) | before 0.2.5 | 0.2.5 | Patch available | GHSA-whhr-7f2w-qqj2 |
| — | phonenumber (crates.io) | 0.3.0 to before 0.3.3 | 0.3.3 | Patch available | GHSA-whhr-7f2w-qqj2 |
- rust-phonenumber Vendorwhisperfish Affected before 0.2.5+8.11.3; 0.3.0 to before 0.3.3+8.3.19 Fixed in 0.2.5+8.11.3, 0.3.3+8.3.19 Patch available CNA
- phonenumber (crates.io) Vendor— Affected before 0.2.5 Fixed in 0.2.5 Patch available GHSA-whhr-7f2w-qqj2
- phonenumber (crates.io) Vendor— Affected 0.3.0 to before 0.3.3 Fixed in 0.3.3 Patch available GHSA-whhr-7f2w-qqj2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:* | before 0.2.5\+8.11.3; 0.3.0\+8.12.9 to before 0.3.3\+8.13.9 | Vulnerable | whisperfish |
- cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:* Versions before 0.2.5\+8.11.3; 0.3.0\+8.12.9 to before 0.3.3\+8.13.9 Vulnerable ·whisperfish
Remediation
- Fix · CNA rust-phonenumber (whisperfish) Fixed in 0.2.5+8.11.3, 0.3.3+8.3.19
- Fix · GHSA-whhr-7f2w-qqj2 phonenumber (crates.io) Fixed in 0.2.5 Advisory →
- Fix · GHSA-whhr-7f2w-qqj2 phonenumber (crates.io) Fixed in 0.3.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-42444
- 2026-10-03 Alias added: GHSA-whhr-7f2w-qqj2
References
Patch 2
Advisory 2
Sources
- CVE-2023-42444 · CVE Program
- CVE-2023-42444 · NVD
- FIRST EPSS
- GHSA-whhr-7f2w-qqj2 · 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