Skip to content
Memory corruption Advisory Advanced CVE-2026-35188

OpenSSL OCSP Stapling Verification Double Free Remote Code Execution Vulnerability

OpenSSL mishandles malformed OCSP responses during stapling verification, freeing an object more than once. A malicious server could exploit this to run arbitrary code in the context of the client process that connects to it.

TrendAI Zero Day Initiative Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenSSL. User interaction is required to exploit this vulnerability in that the target must make a request to a malicious server.

TrendAI Zero Day Initiative, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a double free: the code frees an object without first checking that it still exists or has not already been freed, when parsing a malformed OCSP response.

Impact

A remote attacker who controls a server could execute arbitrary code in the context of the current process, but the victim must make a request to that malicious server.

What the attacker needed

Victim connects to a malicious server; server sends a malformed OCSP response

The fix

OpenSSL issued an update to correct the vulnerability.

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 report has not been written yet. The Original tab links to the source.

OCSP stapling is a way for a website to prove its certificate is still valid without the visitor contacting the certificate authority directly. OpenSSL is a widely used library that handles this check. A bug in how it processes a bad response can corrupt memory, and an attacker who controls a server could use that to run their own code on the visitor's machine.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by TrendAI Zero Day Initiative

View all

6 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.