Advisory

GHSA-c7ph-f7jm-xv4w

Also known as: None

Summary

rPGP's integrity protection of encrypted data was not always checked

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-13 20:55 UTC
Modified
2026-02-22 23:23 UTC

Affected packages and fixes

pgp

crates.io · All systems

Affected

  • introduced 0.16.0-alpha.0, fixed 0.19.0 (semver)

Fixed versions

0.19.0

Fix

  • Fixed version 0.19.0
    cargo update -p pgp --precise 0.19.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences