CVE-2026-24881: Buffer Overflow

Published Jan 27, 2026
·
Updated

In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.

Affected Software

3 affected components
gnupg GnuPG<2.5.17
gnupg GnuPG>=2.5.13<2.5.17
Gpg4win Gpg4win>=5.0.0<5.0.1

Event History

Jan 27, 2026
CVE Published
via MITRE·06:36 PM
Data Sourced
via MITRE·06:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 19, 58090
Event
via FIRST·08:01 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-24881?

CVE-2026-24881 is a critical vulnerability that can lead to a denial of service and memory corruption due to a stack-based buffer overflow.

2

How do I fix CVE-2026-24881?

To fix CVE-2026-24881, update your GnuPG installation to version 2.5.17 or later.

3

What software is affected by CVE-2026-24881?

GnuPG versions before 2.5.17 are affected by CVE-2026-24881.

4

What type of attack does CVE-2026-24881 facilitate?

CVE-2026-24881 facilitates denial of service attacks through crafted CMS EnvelopedData messages.

5

Is there a risk of data loss with CVE-2026-24881?

Yes, CVE-2026-24881 could potentially lead to memory corruption, which may result in data loss.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-24881 - Buffer Overflow - SecAlerts