---
title: "CVE-2024-39697: panic on parsing crafted phonenumber inputs"
url: https://erroneo.us/security/cve/CVE-2024-39697/
description: "CVE-2024-39697 (phonenumber (crates.io (Rust))): phonenumber is a library for parsing, formatting and validating international phone numbers. Since 0.3.4…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-07-09
date_modified: 2024-11-18
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-39697"
kev: false
cvss: 9.2
epss: 0.00711
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-39697: panic on parsing crafted phonenumber inputs

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.7% , percentile 53: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 53% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes phonenumber (crates.io (Rust)) >= 0.3.4, < 0.3.6, fixed in 0.3.6 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- crates.io (Rust) `phonenumber` >= 0.3.4, < 0.3.6 → fixed: 0.3.6

## Affected products (CVE record)

- whisperfish rust-phonenumber: >= 0.3.4, < 0.3.6

## Severity

- GitHub_M CVSS 3.1: 8.6 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- GitHub CVSS 4.0: 9.2 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 0.71% probability of exploitation activity in the next 30 days; percentile 53.

## Sources

- [GitHub Advisory GHSA-mjw4-jj88-v687](https://github.com/advisories/GHSA-mjw4-jj88-v687)
- [CVE.org record CVE-2024-39697](https://www.cve.org/CVERecord?id=CVE-2024-39697)
- [NVD entry CVE-2024-39697](https://nvd.nist.gov/vuln/detail/CVE-2024-39697)
- [github.com](https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-mjw4-jj88-v687)
- [github.com](https://github.com/whisperfish/rust-phonenumber/issues/69)
- [github.com](https://github.com/whisperfish/rust-phonenumber/pull/52)
- [github.com](https://github.com/whisperfish/rust-phonenumber/commit/b792151b17fc90231c232a23935830c2266f3203)
- [github.com](https://github.com/whisperfish/rust-phonenumber/commit/f69abee1481fac0d6d531407bae90020e39c6407)
- [rustsec.org](https://rustsec.org/advisories/RUSTSEC-2024-0369.html)

---
Source page: https://erroneo.us/security/cve/CVE-2024-39697/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
