portage-ng / portage / dev-util / librnp / 0.18.1
portage-ng glsa
1 advisory reference dev-util/librnp · none place version 0.18.1 in a vulnerable range
▸ GLSA 202511-07 librnp: Weak random number generation this version unaffected high local and remote 2025-11-26

librnp uses weak random number generation such that generated keys can be easily cracked.

Announced
2025-11-26
Revised
2025-11-26
Access
local and remote
Bugs
#966299
Advisory
https://security.gentoo.org/glsa/202511-07

Affected packages

PackageArchVulnerableUnaffected
dev-util/librnp*= 0.18.0>= 0.18.1, < 0.18

Background

librnp is a high performance C++ OpenPGP library.

Description

The affected librnp version generated weak session keys for its public key encryption (PKESK) mode.

Impact

Messages encrypted using the affected librnp version might be readable by an attacker with just the public key.

Workaround

There is no known workaround at this time.

Resolution

All librnp users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/librnp-0.18.1"

If sensitive information was sent using e.g. Thunderbird (with USE=system-librnp, the default), it should be considered potentially viewable by an attacker.

References