Stack-based Buffer Overflow Affecting pgp package, versions >=0.16.0-alpha.0 <0.19.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-PGP-15282833
  • published15 Feb 2026
  • disclosed13 Feb 2026
  • creditinvd

Introduced: 13 Feb 2026

New CVE NOT AVAILABLE CWE-121  (opens in a new tab)

How to fix?

Upgrade pgp to version 0.19.0 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing messages that contain deeply nested message layers, such as messages with many signatures. An attacker can cause a crash by submitting messages with deeply nested layers, such as those containing many signatures.

CVSS Base Scores

version 4.0
version 3.1