GHSA-c7ph-f7jm-xv4w: Pgp RPGP's Integrity Protection Of Encrypted Vulnerability
MODERATEGHSA-c7ph-f7jm-xv4w is a MODERATE rpgp's integrity protection of encrypted vulnerability (CWE-354: Improper Validation of Integrity Check Value) affecting Pgp libraries in the crates.io ecosystem. The issue involves rpgp's integrity protection of encrypted data was not always checked. Remediation is available by upgrading affected packages to version 0.19.0.
GHSA-c7ph-f7jm-xv4w at a Glance
How to Fix GHSA-c7ph-f7jm-xv4w
To remediate this vulnerability, upgrade all affected Pgp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pgp to 0.19.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pgp
How to Check if You Are Affected
To determine whether your application is affected by GHSA-c7ph-f7jm-xv4w, inspect your project dependencies for Pgp:
inspect dependencies for pgp
Analyze the terminal output to locate any version of Pgp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.19.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-354: Improper Validation of Integrity Check Value, where the product does not validate or incorrectly validates the integrity check values or "checksums" of a message. this may prevent it from detecting if the data has been modified or corrupted in transmission. In Pgp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-c7ph-f7jm-xv4w Affected Pgp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pgp
|
crates.io |
≥ 0.16.0-alpha.0
< 0.19.0
|
0.19.0
|
References
Frequently Asked Questions
What is GHSA-c7ph-f7jm-xv4w?
Which Pgp versions are affected?
What version fixes GHSA-c7ph-f7jm-xv4w?
Is pgp affected?
What CWE is associated with GHSA-c7ph-f7jm-xv4w?
How can I check crates.io dependencies for GHSA-c7ph-f7jm-xv4w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c7ph-f7jm-xv4w",
"modified" : "2026-02-13T20:55:20Z",
"published" : "2026-02-13T20:55:20Z",
"aliases" : [ ],
"summary" : "rPGP's integrity protection of encrypted data was not always checked",
"details" : "### Summary\nFor some messages, rPGP returned incorrectly decrypted data without signaling that integrity protection was invalid.\n\n### Details\nWhen decrypting SEIPD (Symmetrically Encrypted and Integrity Protected Data Packet), rPGP previously did not under all circumstances report the absence of valid integrity protection to callers of the library.\n\n### Impact\nWhile the resulting invalid decryption output is not attacker controlled, its contents may be a security concern if an attacker can gain access to it.\n\n### Attribution\nDiscovered internally in the course of rPGP development work.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "pgp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.16.0-alpha.0"
}, {
"fixed" : "0.19.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rpgp/rpgp/security/advisories/GHSA-c7ph-f7jm-xv4w"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rpgp/rpgp"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-354" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-13T20:55:20Z",
"nvd_published_at" : null
}
}