🛡️ CVE-2024-53856 — pgp
Description
rPGP Panics on Malformed Untrusted Input
During a security audit, [Radically Open Security](https://www.radicallyopensecurity.com/) discovered several reachable edge cases which allow an attacker to trigger rpgp crashes by providing crafted data.
Impact
When processing malformed input, rpgp can run into Rust panics which halt the program.
This can happen in the following scenarios:
- Parsing OpenPGP messages from binary or armor format
- Decrypting OpenPGP messages via
decrypt_with_password() - Parsing or converting public keys
- Parsing signed cleartext messages from armor format
- Using malformed private keys to sign or encrypt
Given the affected components, we consider most attack vectors to be reachable by remote attackers during typical use cases of the rpgp library. The attack complexity is low since the malformed messages are generic, short, and require no victim-specific knowledge.
The result is a denial-of-service impact via program termination. There is no impact to confidentiality or integrity security properties.
Versions and Patches
All recent versions are affected by at least some of the above mentioned issues.
The vulnerabilities have been fixed with version 0.14.1. We recommend all users to upgrade to this version.
References
The security audit was made possible by the [NLnet Foundation NGI Zero Core](https://nlnet.nl/core/) grant program [for rpgp](https://nlnet.nl/project/rPGP-cryptorefresh/).
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
CVE-2024-53856 is recorded against 2 packages.
- pgp
- unknown
Timeline and source
Published on 5 December 2024 and last revised on 26 December 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Package)
rustsec.org (Web)
CVE-2024-53856 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pgp | — | — |
| unknown | — | — |
References
Similar Threats
- Unknown CGA-2p9m-qwm8-4pcg
- Unknown CGA-34c6-9hxp-c72p
- High GHSA-7587-4wv6-m68m
- High GHSA-8h58-w33p-wq3g
- Unknown GHSA-c7ph-f7jm-xv4w
More CVE 2024 advisories
Browse all of CVE 2024 in the advisory index.
Site Security Check
Is pgp part of your stack?
CVE-2024-53856 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.