hello@faustagency.com +421 948 30 50 50

Cybersecurity

A signed message can expose application data: critical GPGME flaw has a fix

A signed message is supposed to inspire trust. With a vulnerable version of the GPGME library, however, it can be the route by which dangerous input reaches an application. The developers released a fix on 20 November and the Slovak CSIRT.SK alerted companies on 25 November. We explain the real impact of the flaw and how to check for it.

Faust Agency editorial team Published 5 min read
Illustration of checking a digitally signed message and a crafted encryption key on a computer.
Original illustration created with AI. It is not an authentic image of the incident.

What happened and when

On 20 November 2026, the GnuPG developers published a fix for a critical flaw in the GPGME library, which connects applications to OpenPGP encryption and signature verification tools. The Slovak CSIRT.SK drew attention to the problem on 25 November. The flaw is tracked as CVE-2026-129975. According to the original announcement, a specially crafted public key with a very long user ID can trigger a double free of memory. Data can then leak from the application; the developers have not ruled out the possibility of malicious code execution. The announcements do not mention a confirmed attack on any specific Slovak company.

The developers received the first report on 12 November from GitLab. A coordinated disclosure had originally been planned for 25 November, but a related update of another product led to the fix being released earlier. This is how the GnuPG project itself explains the timeline. Today's Slovak notice therefore does not mean that the flaw appeared or was first discovered only today.

Why the problem may not be visible at first glance

A company does not need to have a program called GPGME installed to be using its library. It can be part of an email client, a signing tool, a key management application or an integration process. The GnuPG project lists Gpg4win, GnuPG Desktop, several mail and XMPP clients, Samba and Flatpak among its examples. However, this list is not a claim that every installation of these applications is automatically vulnerable. What matters is the library version actually used and the way it is packaged.

For a non-technical reader, it is important to separate the public key file from the company's private key. An attacker does not need to obtain the private key to slip malicious input into an application that processes OpenPGP data. Public keys and signed messages are routinely received from third parties. The flaw occurs while they are being processed in the program's memory. This is not confirmation that OpenPGP encryption as a whole has been broken.

It makes sense to understand the technical mechanism at least in outline. When reading information from the gpg tool, GPGME enlarges its memory buffer if a value is too long. If one operation ends prematurely, a reference to already freed memory may remain; later, the same space is freed a second time. That is why the developers warn about possible reading of data from the process and do not rule out more serious consequences. It is not an ordinary message formatting bug that could be solved by warning employees not to click on something.

General diagram: a received OpenPGP key, an application using GPGME, the vulnerable version and the update.
Our own general diagram. It does not show a specific attack or the use of the library in every application mentioned.

How to assess your own risk

The administrator should first compile a list of workstations, servers and applications that receive or process signed messages, files or public keys. On Linux, find out the version of the GPGME package from the distribution repository and the date of the security fix. On Windows, check mainly Gpg4win installations and applications that share the library with it. For in-house software, check whether the library is dynamically linked or whether a copy of it is embedded directly in the program. It is precisely an embedded copy that may not be fixed by a regular operating system update.

The developers recommend GPGME 2.3.1 and Gpg4win 5.1.2. Older branches may receive the fix through the distribution's package manager, so do not rely solely on a literal comparison of the upstream version number. Check the official security record of the distribution or of the application vendor. For a statically linked in-house program, a new build against the fixed library is needed; according to the original announcement, GPGMEPP and GPGMEQT do not require a separate update.

If an update is not immediately available, restrict the processing of third-party OpenPGP keys and signed inputs in the affected process where operations allow. Do not, however, regard blocking a single attachment as a universal fix: input can arrive by various routes. The developers have also offered a source patch for old versions, but deploying it should be prepared and tested by the administrator of the software in question. For sensitive systems, document when the update reached each workstation or server.

The check should also cover test and automation servers. These sometimes process signatures of documents, packages or backups without the ordinary user being aware of it. A list of software packages, supplier documentation and a question to the application administrator will help with the inventory, not merely searching for the name "GPGME" in the Start menu. If the system is managed by a supplier, request confirmation of the fix and its date. In the check record, also list the systems that do not use the library; at the next alert, it will be clear what has already been verified.

What to do if you suspect exploitation

If an application repeatedly crashed while working with signed data or received a suspicious key, preserve the relevant logs and input files for expert analysis. A program crash on its own is not proof of an attack. Likewise, do not assume a data leak just because an old version was installed. First determine whether the vulnerable process actually received malicious input and what data it had access to at that moment. In the event of a confirmed intrusion, follow the company's incident response plan, including restricting access and assessing notification obligations.

In brief for companies

The priority is an inventory of dependencies and fixing GPGME, not declaring a data leak across the board. Workstations and services that automatically verify signatures or accept third-party keys are especially important. For third-party applications, request the vendor's statement and do not tamper blindly with their libraries. A critical dependency can be hidden one level below the program icon on the desktop. That is exactly why it makes sense to have an overview of your software and its updates before the next alert arrives.

Do you know the libraries in your company applications?

We will help you map dependencies, updates and risky access. See Faust Agency's cybersecurity services.

Sources and further reading

The links lead to the original announcements, reports and documentation the article is based on.

  1. lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html
  2. csirt.sk/posts/4306.html
  3. gnupg.org/download
Faust Agency editorial team

Articles are written by the Faust Agency team, which takes care of the security, development and operation of websites, internal systems and corporate infrastructure.

More about us
Share

We will review the security and operations of your company.

Websites, internal systems, servers and recovery after an incident. Get in touch and we will agree on a concrete next step.

Discuss the security and operations of our company
Back to top of page