Browser-context code execution via PDF JavaScript regex
Published May 21, 2020 · Updated Aug 4, 2024
Out-of-bounds access in PDFium in Google Chrome before 81.0.4044.122 allows remote attackers to corrupt heap memory via a crafted PDF. PDFium runs embedded JavaScript with V8 in jitless mode, where a repeated search using an oversized regular expression reads beyond the RegExp register array. A victim must open the malicious PDF or a page containing it; successful exploitation executes code within the browser context.
Summary
What happened
Out-of-bounds access in PDFium in Google Chrome before 81.0.4044.122 allows remote attackers to corrupt heap memory via a crafted PDF. PDFium runs embedded JavaScript with V8 in jitless mode, where a repeated search using an oversized regular expression reads beyond the RegExp register array. A victim must open the malicious PDF or a page containing it; successful exploitation executes code within the browser context.
The record
- CVE
- CVE-2020-6458
- Published
- May 21, 2020
- Updated
- Aug 4, 2024
- Vendor
- Google Cloud
- Product
- Google Chrome
- Classifications
- CWE-125, CWE-805, CWE-787, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 21, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <81.0.4044.122
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Embedded PDF JavaScript RegExp proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo