Analysis of CVE-2026–34621: Making dead bugs tell tales
A missing 'var' keyword in Adobe Reader's SilentDocCenterLogin function allowed an attacker to manipulate the global object's swConn property via a prototype getter, causing a trusted function to call an attacker-controlled method. By chaining this with bound functions and a SOAP gadget, the attacker could mark arbitrary JavaScript as trusted, enabling file exfiltration from the sandboxed Reader process.
medium.com
Published on medium.com
As an old and useless fart, news of an Adobe Reader vulnerability exploited in the wild came like a defibrillator to the chest and got the ol’ juices flowing again. Here’s my take on this bug, and the secrets revealed along the way.
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
Root cause
Likely the missing 'var' keyword in SilentDocCenterLogin caused an assignment to create a global property, which could be intercepted by a prototype getter, allowing a trusted function to call an attacker-controlled method and ultimately mark arbitrary code as trusted.
Impact
An attacker could read arbitrary files accessible to the sandboxed Reader process and potentially exfiltrate them, as demonstrated by the in-the-wild exploit.
What the attacker needed
Victim opens a malicious PDF; Adobe Reader DC with JavaScript enabled
The fix
The initial patch added the missing 'var' keyword, and a later comprehensive patch removed manipulatable trust anchors and sinks, added type checking, and introduced an EnableJSAccessor feature to block accessor manipulation.
How it was found
- Inject JavaScript via the ANFancyAlertImpl button argument to define a function.
- Call ANShareFile with a crafted object whose path property returns a fake object.
- The fake object's lastIndexOf triggers SilentDocCenterLogin, and its substring throws to exit.
- Inside SilentDocCenterLogin, the missing var causes swConn assignment to hit a prototype getter, returning a crafted object.
- That crafted object's getFullName calls SOAP.stringFromStream with a stream whose read is a bound trustedFunction, marking an arbitrary function as trusted.
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.
Adobe Reader runs JavaScript inside PDFs with limited permissions. A small coding mistake (a missing 'var') let an attacker trick a trusted built-in function into running their own code with higher privileges. This meant a malicious PDF could read local files without asking the user.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.