Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation
- CVE-2026-121475
- RUSTSEC-2026-0607
- EUVD-2026-139866
Description
A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments where a certificate directory is shared among multiple users, a local attacker can replace the write lock file with a symbolic link targeting another file. When a different user subsequently updates the certificate store, the targeted file is truncated, leading to unintended data loss or corruption.
Text from the CVE.org record.
Recommendation
openpgp-cert-d
- If you run a version from 0.0.0-0 to before 0.3.5update to 0.3.5 or laterMajor version change: expect breaking changesopenpgp-cert-d 0.3.5 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Red Hat Red Hat Enterprise Linux 10
No versions listed
Red Hat Red Hat Enterprise Linux 9
No versions listed
Red Hat Red Hat Hardened Images
No versions listed
openpgp-cert-dcrates.io
Affected versions Fixed in from 0.0.0-0 to before 0.3.5 0.3.5
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.