# GHSA-c7ph-f7jm-xv4w: rPGP's integrity protection of encrypted data was not always checked

- Severity: Medium (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-02-13T20:55:20.000Z
- Modified: 2026-02-22T23:23:41.778Z
- Weaknesses: CWE-354

## Description

### Summary
For some messages, rPGP returned incorrectly decrypted data without signaling that integrity protection was invalid.

### Details
When 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.

### Impact
While the resulting invalid decryption output is not attacker controlled, its contents may be a security concern if an attacker can gain access to it.

### Attribution
Discovered internally in the course of rPGP development work.

(As written by GitHub Advisory Database.)

## Affected

- pgp (crates.io): from 0.16.0-alpha.0 before 0.19.0

## References

- <https://github.com/rpgp/rpgp/security/advisories/GHSA-c7ph-f7jm-xv4w> (web)
- <https://github.com/rpgp/rpgp> (package)

## Sources

- GitHub Advisory Database: [GHSA-c7ph-f7jm-xv4w](https://github.com/advisories/GHSA-c7ph-f7jm-xv4w), CC-BY-4.0, modified 2026-02-22

---

Page: https://cve.day/GHSA-c7ph-f7jm-xv4w · Whole record: https://cve.day/GHSA-c7ph-f7jm-xv4w.json · Rebuilt by cve.day 2026-11-25T22:56:42.438Z
