CONNECT WITH US
Cyber Security

Cyber Security

GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys

The Hacker News logo

Published on

Add as a preferred source on Google
GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys

A malicious OpenPGP key with an unusually long user ID can trigger a critical memory bug in GPGME, the standard library that programs use to work with GnuPG.

The GnuPG project warned yesterday that the flaw could be used to steal data from affected applications and has released fixed versions.

The bug, tracked as CVE-2026-129975, affects all software that uses GPGME before version 2.3.0, whether the library is loaded as a shared library, a Windows DLL, or statically linked into the program.

Examples the project gives include most mail clients, many XMPP clients, Samba, and its own Gpg4win, GnuPG Desktop, and GnuPG VS-Desktop packages.

The project has not reported any attacks exploiting the flaw, and it notes that remote code execution cannot be ruled out.

Its example of a path to the bug is signed data sent to an application. Which programs pass such material to the library without a manual key import is not something the advisory says.

The flaw is a double free, meaning the same memory is released twice. It sits in two routines, read_status() and read_colon_line(), that read status lines and key listings coming back from GnuPG.

When the input runs long, the routines move the data to a larger buffer but record the new address only if they finish without errors. An error in between leaves a pointer to memory that was already freed, and cleanup then frees it a second time, as the project's tracker entry details.

The flaw was found by Johan Carlsson and reported to the project by GitLab last week.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.