CVE Vulnerabilities

CVE-2025-54899

Free of Memory not on the Heap

Published: Sep 09, 2025 | Modified: Sep 12, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

Free of memory not on the heap in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

Weakness

The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().

Affected Software

NameVendorStart VersionEnd Version
365_appsMicrosoft- (including)- (including)
ExcelMicrosoft2016 (including)2016 (including)
OfficeMicrosoft2019 (including)2019 (including)
Office_long_term_servicing_channelMicrosoft2021 (including)2021 (including)
Office_long_term_servicing_channelMicrosoft2024 (including)2024 (including)

Potential Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, glibc in Linux provides protection against free of invalid pointers.

References