Critical Buffer Overflow Vulnerability in GnuPG2 Package

gnupg2 Updated 24 Feb 2026

Summary

16/02/2026
N/A
Yes i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback