Subscribe free
Morning Merge Security · Sunday, November 22, 20263 min read

GPGME's double free, and OpenRouter drops three providers

Also: Google keeps agent credentials outside the sandbox

One crafted OpenPGP key can trigger a double free in GPGME, the library inside mail clients, Samba and Gpg4win. Update to 2.3.1 first, then check who has been reading your prompts.

The main thing

A green lens magnifies one envelope whose overlong ribbon loops around the tray

GPGME 2.3.1 fixes a double free in every earlier release. GnuPG rates CVE-2026-129975 critical. It affects all software using GPGME before 2.3.0, as a shared library, DLL or statically linked. Version 2.3.0 was never public, so 2.3.1 is the fix.

The trigger is an OpenPGP key with a crafted, very long user ID. GnuPG says the double free can be used to exfiltrate data from an application, for example by getting it to send signed data, and that remote code execution can't be ruled out.

The bug itself is small. GPGME reads gpg's status lines and key listings into a 1024-byte buffer and grows it when it needs room. The new pointer goes back into the context object only at the end of the function.

Return early on a read error and the context keeps the stale pointer, so the memory is freed a second time on release. Other allocations in between can keep allocators' double-free checks from noticing.

Exposure is wide because GPGME lives inside other software. GnuPG names Gpg4win, GnuPG Desktop, GnuPG VS-Desktop, most mail clients, many XMPP clients and Samba. Start with anything that handles keys or signed messages from people you don't control.

The date moved, too. Johan Carlsson found the bug, GitLab told GnuPG on November 12, and disclosure was set for November 25. GitLab then had to update early because of ruby2shell, so GnuPG disclosed on November 20.

What to do: update the GPGME shared library to 2.3.1 and rebuild statically linked binaries against it. On Windows, the fixed DLL ships in Gpg4win 5.1.2. GnuPG also attached a patch it says likely applies to very old versions. GPGMEPP and GPGMEQT don't need updating.

We don't have distro advisories in today's material, so check the GPGME package your distribution actually ships rather than assuming last week's updates covered it.

Where your prompts went

A green lens finds a hidden pipe leaking from one processing box

OpenRouter drops three inference providers over data handling. OpenRouter says researchers reported this week that some inference providers had data compromised or weren't keeping their data policies. It off-boarded three providers, removed 125 endpoints from Zero Data Retention (ZDR) eligibility and notified all potentially affected customers.

OpenRouter says the findings show no breach of OpenRouter itself, and it credits a Dragos report. It doesn't name the three providers it removed. The public notices it lists come from Novita (about MiniMax requests), Phala (a preliminary incident report) and Together, which reports prompt leakage for requests in June and July of 2026.

The uncomfortable part is what ZDR turned out to be: a policy flag that providers asserted, until outside testing showed some weren't honoring it. OpenRouter now says it will run the researchers' checks on an ongoing basis, verify network paths for forwarding to third parties, and require validation before restoring any removed endpoint.

What to do: if production traffic goes through OpenRouter, look for its notice and check whether the endpoints you rely on are still ZDR-eligible. If prompts can carry customer data or credentials, treat ZDR as a contract term rather than a control, and keep secrets out of prompts.

Keys outside the sandbox

A green key rack outside a sealed glass workshop passes one key inside

Google keeps agent credentials out of the sandbox. Agent Compute Engine runs agents in isolated microVMs with no API keys or OAuth refresh tokens inside. An external Agent Gateway authenticates requests and injects secrets, and the orchestration harness stays outside the sandbox. It isn't available yet and has no pricing; Google targets a preview in the coming months.

You don't need to wait for it to copy the design: an agent that can't see a credential can't leak one.

Update GPGME to 2.3.1 before anything else, then find out which providers sit behind your AI router.

← All Morning Merge Security issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →