GPGME CVE-2026-129975: Anatomy of a 24-Year-Old Double Free
A critical double free bug in the GPGME library, present in every prior release, can be triggered by an oversized OpenPGP key user ID.
Overview
A critical security bug in GPGME, a library that helps applications handle OpenPGP tasks, was found in every prior release. The flaw allows an attacker to steal data or potentially execute code by sending a specially crafted OpenPGP keyThe secret value that locks or opens a message with an oversized user ID. This issue has existed since July 2002 and was first shipped in GPGME 0.3.9. The bug was introduced 24 years ago and survived because a fix existed downstream but never reached the main project. The fixed release is GPGME 2.3.1, and the legacy 1.x branch got its own fix in 1.24.4. Users of Gpg4win, GnuPG Desktop, and many mail and XMPP clients are affected and need to update immediately.
Terms in this story
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- patch
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- advisory
- An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
- exfiltrate data
- The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 lists the term
- remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- memory-leak
- A bug where a program fails to free memory it no longer needs, gradually exhausting system memory. An attacker who finds a repeatable memory leak in a network server can send thousands of requests until the server runs out of memory and crashes.
- encrypt
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- decrypt
- Turn ciphertext back into plaintext with the key. Authorized users decrypt protected messages or drives with their secret key, while ransomware victims must either restore from backups or obtain the attacker's key to decrypt their files. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
- binary
- Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- certificate
- A file that ties a public key to a name, signed by a certificate authority. Web browsers check a site's certificate on every secure visit, and news stories report when an expired or stolen certificate causes outages or lets an attacker impersonate a domain. From the CYBR 101 room CYBR 101: What is a hash?; Security+ objective 1.4 lists the term
- plugin
- An add-on software module that extends a website, browser, or application with extra features. Small businesses add dozens of third-party plugins to their websites for contact forms or shopping carts, and an unpatched plugin flaw is a common way attackers take over a site.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.
Read the full article on The CyberSec Guru (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
...critical security bug" present in every prior... Found by reading the article; these words are close to its own - Who is affected: "...applications..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"GPGME CVE-2026-129975: Anatomy of a 24-Year-Old Double Free..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"GPGME CVE-2026-129975: Anatomy of a 24-Year-Old Double Free..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"GPGME CVE-2026-129975: Anatomy of a 24-Year-Old Double Free..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Determine and document software patches or the extent of releases that would harden vulnerable software.
"The fixed release is GPGME 2.3.1..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- GPGME CVE-2026-129975: Anatomy of a 24-Year-Old Double Free
- GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys