CVE-2023-42444 — Vulnerability in phonenumber — CVE Details
phonenumber panics on parsing crafted RFC3966 inputs
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.08%). Schedule for your next planned update.
Does your project use an affected phonenumber version?
Paste your Cargo.lock to check it for CVE-2023-42444 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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=.
Patches
Patches will be published as version 0.3.3+8.13.9 and backported as 0.2.5+8.11.3.
Workarounds
n.a.
References
n.a.
Advisory Timeline
- First published September 21, 2023 (1162 days ago).
- Last revised March 13, 2026 — 904 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p phonenumber --precise 0.2.5
cargo update -p phonenumber --precise 0.3.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| phonenumber crates.io · Affected: All versions | 0.2.5 |
| phonenumber crates.io · Affected: All versions | 0.3.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1284
- CWE-248
- CWE-392
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-42444ADVISORY
- https://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6WEB
- https://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71WEB
- https://github.com/whisperfish/rust-phonenumberPACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0082.htmlWEB
Frequently Asked Questions
- What is CVE-2023-42444?
- phonenumber panics on parsing crafted RFC3966 inputs. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2023-42444?
- CVE-2023-42444 affects phonenumber. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-42444 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 64.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-39697CRITICAL
panic on parsing crafted phonenumber inputs
- CVE-2024-39697HIGH
phonenumber: panic on parsing crafted phonenumber inputs
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution