Skip to content
RCE Write-up Advanced

Pickling the Mailbox: A Deep Dive into CVE-2025-20393

A single-byte integer overflow in the EUQ RPC protocol of Cisco Secure Email Gateway and Secure Email and Web Manager bypasses authentication and chains into Python pickle deserialisation, allowing an unauthenticated attacker to achieve remote code execution with a single HTTP request.

starlabs.sg

Published on starlabs.sg

In December 2025, Cisco published https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sma-attack-N9bf4 addressing CVE-2025-20393, a critical vulnerability (CVSS 10.0) affecting Cisco Secure Email Gateway and Secure Email and Web Manager. The advisory was notably sparse on technical…

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An unauthenticated attacker could achieve remote code execution on the affected appliance with a single HTTP request.

What the attacker needed

Network access to the appliance; no credentials needed

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The email security appliance has a network service that reads a length value from incoming messages. A one-byte counting mistake lets an attacker slip past the login check and then send a specially crafted object that the server turns back into live code. The result is that the attacker can run their own commands on the device without any password.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.