Critical Buffer Overflow Vulnerability in GnuPG2 Package
Summary
ALSA-2026:2719: Important: gnupg2 security update. Affects gnupg2 versions < 2.4.5-4.el10_1. Fixed in 2.4.5-4.el10_1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The GNU Privacy Guard (GnuPG or GPG) is a widely used tool for encrypting data and creating digital signatures, compliant with OpenPGP and S/MIME standards. It is essential for ensuring data confidentiality and integrity. The GnuPG2 package, specifically, is an updated version that includes enhancements and additional features over its predecessor. However, it is susceptible to security vulnerabilities that can lead to severe consequences if not addressed promptly.
Vulnerability Detail
The vulnerability identified as CVE-2026-24882 is a stack-based buffer overflow in the tpm2daemon component of GnuPG. This flaw allows an attacker to execute arbitrary code on the affected system, potentially leading to unauthorized access and control over sensitive data. The origin of this vulnerability lies in improper handling of input data, which can be exploited by malicious actors to manipulate the program's execution flow.
How To Fix
Minimum fixed version
2.4.5-4.el10_1
This is the first release that contains the fix.
sudo dnf update gnupg2
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary measure, users can limit the execution of the tpm2daemon or restrict access to it until the package is updated. However, this is not a permanent solution and should only be used until the patch is applied.
Conclusion
The GnuPG2 package has a critical vulnerability (CVE-2026-24882) that can lead to arbitrary code execution. It is essential for users to update to the patched version to protect their systems from potential exploitation. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for gnupg2 →
FAQ
CVE-2026-24882 is a critical vulnerability in the GnuPG2 package that allows for arbitrary code execution due to a stack-based buffer overflow.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If exploited, this vulnerability can lead to unauthorized access, data breaches, and complete control over the affected system.
Yes, a patch is available in version 2.4.5-4.el10_1 of the GnuPG2 package. Users should update to this version to mitigate the risk.
If immediate updates are not possible, consider restricting access to the tpm2daemon or limiting its execution as a temporary workaround.
Related vulnerabilities
Recent vulnerabilities recorded for gnupg2.