# CVE-2024-53857: rPGP Potential Resource Exhaustion when handling Untrusted Messages

Source: https://junglewise.ai/threats/cve-2024-53857-rpgp-potential-resource-exhaustion-when-handling-untrusted  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-05  
License: CC BY 4.0 with a link back

CVE-2024-53857 · Severity: low · CVSS 3.1 · Published 2024-12-05

rPGP Potential Resource Exhaustion when handling Untrusted Messages

Technologies: [pgp (crates.io)](https://junglewise.ai/threats/technologies/pgp). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-53857 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-53857 being exploited in the wild.

**How severe is CVE-2024-53857?** Low severity, with a CVSS score of 3.1, published 5 December 2024.

**Which products and versions are affected?** pgp (crates.io) SEMVER:introduced=0,fixed=0.14.2.

**Is there a fix for CVE-2024-53857?** Yes. pgp (crates.io): upgrade to 0.14.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-53857?** Check whether you run pgp (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pgp (crates.io): upgrade to 0.14.2 or later

  ```sh
  cargo update -p pgp
  ```


## Affected products

- pgp (crates.io) SEMVER:introduced=0,fixed=0.14.2

## Identifiers

- CVE-2024-53857
- GHSA-4grw-m28r-q285

## Related threats

- [rPGP's integrity protection of encrypted data was not always checked](https://junglewise.ai/threats/rpgp-s-integrity-protection-of-encrypted-data-was-not-always-checked-956b45ff)
- [rPGP affected by crash in message handling for deeply nested messages](https://junglewise.ai/threats/rpgp-affected-by-crash-in-message-handling-for-deeply-nested-messages-6e234f86)
- [rPGP vulnerable to parser crash on crafted RSA secret key packets through](https://junglewise.ai/threats/rpgp-vulnerable-to-parser-crash-on-crafted-rsa-secret-key-packets-35f56886)
- [RUSTSEC-2024-0447 - Panics on Malformed Untrusted Input](https://junglewise.ai/threats/cve-2024-53856-rpgp-panics-on-malformed-untrusted-input)
