diff --git a/StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c b/StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c
index eda47b93ef..38837b9bb6 100644
--- a/StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c
+++ b/StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c
@@ -1,7 +1,7 @@
/** @file
MM IPL that load the MM Core into MMRAM at PEI stage
- Copyright (c) 2024, Intel Corporation. All rights reserved.
+ Copyright (c) 2024 - 2025, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -795,7 +795,7 @@ ExecuteMmCoreFromMmram (
MmFvSize,
&MmCoreFileName,
ImageContext.ImageAddress,
- ImageContext.ImageSize,
+ EFI_PAGES_TO_SIZE (PageCount),
ImageContext.EntryPoint,
Block
);