Skip to content
Heist/ feed
Back to feed
HighFix available

Panics on Malformed Untrusted Input

Type: advisorySources: OSV

During a security audit, Radically Open Security 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 grant program for rpgp.

Products
pgp
Affected versions
Not specified
Fixed versions
0.14.1
CVEs
CVE-2024-53856
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 08:43 UTC · Revision 1

Source evidence

Panics on Malformed Untrusted Input

core-osv · Original source

Published 5 Dec 2024, 12:00 UTC

During a security audit, Radically Open Security 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 grant program for rpgp.

osv:RUSTSEC-2024-0447

pgp

Fixed versions: 0.14.1

Complete source record
{
  "id": "16abdd2cb85a80c60adf959049686139a83307e40bf08938852197bae139d22c",
  "url": "https://osv.dev/vulnerability/RUSTSEC-2024-0447",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Panics on Malformed Untrusted Input",
    "summary": "During a security audit, Radically Open Security 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 grant program for rpgp.",
    "evidence": "osv:RUSTSEC-2024-0447",
    "products": [
      {
        "name": {
          "value": "pgp",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.14.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "RUSTSEC-2024-0447",
      "aliases": [
        "CVE-2024-53856",
        "GHSA-9rmp-2568-59rv",
        "RUSTSEC-2024-0447"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0.0.0-0"
                },
                {
                  "fixed": "0.14.1"
                }
              ]
            }
          ],
          "package": {
            "name": "pgp",
            "purl": "pkg:cargo/pgp",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0447.json",
            "categories": [
              "denial-of-service"
            ],
            "informational": null
          },
          "ecosystem_specific": {
            "affects": {
              "os": [],
              "arch": [],
              "functions": []
            },
            "affected_functions": null
          }
        }
      ],
      "modified": "2026-10-12T18:00:10.950989137Z",
      "provider": "osv",
      "references": [
        "https://crates.io/crates/pgp",
        "https://rustsec.org/advisories/RUSTSEC-2024-0447.html",
        "https://github.com/rpgp/rpgp/commit/91b9f517f3bc38e7b14518a156bff81ee69301fc",
        "https://github.com/radicallyopensecurity/ros-website/blob/8169b16fc138a0b0dde14dd0e222d1279701b4d3/ros-public-reports/ROS%20-%20NLNet%20-%20rPGP%20-%202024.pdf"
      ],
      "provider_metadata": {
        "license": "CC-BY-4.0"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53856",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 306410,
  "published_at": "2024-12-05T12:00:00+00:00"
}