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

CVE-2025-62199

Published: 2025-11-11 18:15:43
Last Modified: 2025-11-19 15:15:50

Description

Use after free in Microsoft Office 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:*:*:*:*:*:android:*:* - VULNERABLE
Microsoft Office 2016 及更早版本
Microsoft Office 2019
Microsoft Office 2021
Microsoft 365 Apps

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62199 PoC - Microsoft Office Use After Free # This is a conceptual PoC demonstrating the vulnerability # Note: Actual exploitation requires specific Office version and memory manipulation import struct from docx import Document def create_malicious_docx(): """ Create a malicious DOCX file that triggers use-after-free condition in Microsoft Office CVE-2025-62199 """ doc = Document() # Add content to the document doc.add_heading('CVE-2025-62199 Test Document', 0) doc.add_paragraph('This document contains a malformed OLE object that triggers') doc.add_paragraph('a use-after-free vulnerability in Microsoft Office.') # The PoC would need to embed a specially crafted OLE object # that causes the memory corruption when parsed # Save the document doc.save('cve_2025_62199_poc.docx') print('Malicious document created: cve_2025_62199_poc.docx') print('WARNING: This is for educational/research purposes only!') return 'cve_2025_62199_poc.docx' def create_malicious_xlsx(): """ Alternative PoC using Excel file with malformed embedded object """ from openpyxl import Workbook wb = Workbook() ws = wb.active ws['A1'] = 'CVE-2025-62199 Test' # Embed malicious OLE object in the workbook # This would trigger the use-after-free when parsed by Excel wb.save('cve_2025_62199_poc.xlsx') print('Malicious Excel file created: cve_2025_62199_poc.xlsx') return 'cve_2025_62199_poc.xlsx' if __name__ == '__main__': print('CVE-2025-62199 Microsoft Office Use-After-Free PoC Generator') print('=' * 60) create_malicious_docx() create_malicious_xlsx() print('\nNote: This PoC is a template. Actual exploitation requires:') print('- Target Microsoft Office version compatibility') print('- Memory layout manipulation') print('- DEP/ASLR bypass techniques')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62199", "sourceIdentifier": "[email protected]", "published": "2025-11-11T18:15:43.013", "lastModified": "2025-11-19T15:15:49.570", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Use after free in Microsoft Office 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:*:*:*:*:*:android:*:*", "versionEndExcluding": "16.0.19426.20044", "matchCriteriaId": "BFBC41B3-9D2A-4D18-B3CB-D2B4186F9B22"}, {"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-62199", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.vicarius.io/vsociety/posts/cve-2025-62199-detect-microsoft-office-rce-vulnerability", "source": "af854a3a-2127-422b-91ae-364da2661108"}, {"url": "https://www.vicarius.io/vsociety/posts/cve-2025-62199-mitigate-microsoft-office-rce-vulnerability", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}