CVE-2024-53857
Rust vulnerability analysis and mitigation

Overview

rPGP, a pure Rust implementation of OpenPGP, was found to contain a resource exhaustion vulnerability prior to version 0.14.1. The vulnerability allows attackers to trigger resource exhaustion by providing crafted messages, affecting general message parsing and decryption with symmetric keys (GitHub Advisory, NVD).

Technical details

The vulnerability stems from two main issues: First, the software fails to set proper upper limits on the total reserved amount of memory when parsing long sequences of partial OpenPGP packets, which can grow to several GiB in size. Second, up to 4GiB of memory can be reserved for OpenPGP packets of fixed size with large length fields, even when less data is received. Additionally, the software is susceptible to excessive memory allocation with values of up to 2TiB or long processing times for decryption operations involving the Argon2 function. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

An attacker can cause out-of-memory conditions and crash the rpgp process or cause other system instability through memory resource exhaustion when parsing crafted messages. For decryption operations, attackers can provide valid Symmetric Key Encrypted Session Key packets using Argon2 with excessive parameters, causing either out-of-memory conditions or making the program unresponsive via long computations. The attacker needs to trick a victim into attempting decryption but does not require knowledge of the symmetric secret. There is no impact to confidentiality or integrity security properties (GitHub Advisory).

Mitigation and workarounds

The vulnerabilities have been fixed in version 0.14.2. All users are recommended to upgrade to this version to address both the message parsing and Argon2-related vulnerabilities (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • cmov
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management