Unchecked SDM mailbox response pointer causes secure-memory corruption in Altera Trusted Firmware

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-58007?

CVE-2026-58007 is a vulnerability classified as Untrusted Pointer Dereference, affecting Trusted Firmware (affected versions: ≤ socfpga_v2.14.0). This vulnerability is rated High, with a CVSS score of 8.3. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Untrusted pointer dereference vulnerability in Altera Trusted Firmware on HPS allows Exploitation of Improperly Configured or Implemented Memory Protections. This issue affects Trusted Firmware: through socfpga_v2.14.0.

Affected products and scope

  • Product: Altera Trusted Firmware, also identified by the vendor as Trusted Firmware-A (TF-A), running on HPS.
  • Affected versions: the normalized record identifies versions from the start of the product range through and including socfpga_v2.14.0 as affected.
  • Affected platforms: Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, and N5X SoC HPS.
  • Fixed version: Altera identifies socfpga_v2.14.1 as the fixed version for this advisory. The status of parallel or later branches should not be inferred without branch-specific confirmation.
  • The normalized record marks the default product status as unaffected outside the explicitly listed affected range.

Technical details

Altera Trusted Firmware-A contains an SMC handler for ALTERA_SIP_SMC_ASYNC_GEN_MBOX_CMD that accepts command-buffer and response-buffer addresses from CPU registers. The handler forwards those addresses without verifying that they reside in permitted Non-Secure DDR. When the Secure Device Manager returns a mailbox response, EL3 writes response data through the caller-supplied response address, allowing an attacker controlling the non-secure HPS operating system to direct a write into mapped EL3 secure memory.

The flaw is an untrusted pointer dereference, corresponding to CWE-822, and reflects insufficient validation across a memory-protection boundary. Exploitation requires high privilege on HPS EL1 or the operating system and the ability to invoke the relevant SMC; it is not a directly network-reachable attack path. The exact result depends on the target address, memory layout, platform, and available mitigations; the available evidence does not confirm a specific code-execution path.

Exploitability

The attack is local to the HPS execution environment rather than a standalone network service. An attacker needs high privilege on HPS EL1 or the non-secure operating system to invoke the SMC and control the supplied addresses; no user interaction is required and the recorded attack complexity is low. When the SDM returns a response, the attacker-controlled response address can cause EL3 to write into mapped secure memory and corrupt it.

The record does not establish exploitation in the wild. No public exploit is identified in the supplied data, and no specific IOC, payload, or log signature is provided.

Technical impact

The flaw creates a memory-write primitive from non-secure HPS into secure memory reachable by EL3. Possible outcomes include corruption of TF-A state or code, denial of service, and, under some conditions, altered EL3 execution.

The impact is constrained by the requirement that the attacker control a privileged HPS environment and by the memory regions mapped on the affected platform. EL3 integrity and availability may be seriously affected, while confidentiality impact depends on what data the corruption or altered execution can reach. Altera states that EL3 is not the highest trust domain and that the SDM operates separately, so this issue does not by itself demonstrate SDM access or complete platform control.

Business impact

A successful attack could corrupt TF-A state or code in EL3, potentially causing platform-level service disruption, resets, or denial of service.

  • Writes into secure memory could undermine the integrity of security firmware and dependent EL3 services.
  • In some configurations, corruption could alter EL3 execution, but the available evidence does not confirm code execution on every platform.
  • The SDM operates in a separate higher-privilege domain and stores important platform secrets; corrupting HPS EL3 does not by itself provide SDM access or complete platform control.
  • The practical risk depends on whether untrusted code can obtain high privilege on HPS EL1 or the non-secure operating system.

Remediation

  1. Inventory Altera Trusted Firmware images on the affected HPS platforms, especially versions through and including socfpga_v2.14.0.
  2. Update TF-A to the fixed version socfpga_v2.14.1 as recommended by Altera, then deploy the firmware image appropriate for the device.
  3. After updating, verify that the deployed device has booted and is running the updated image, rather than only verifying that updated source or build artifacts exist.
  4. Do not assume that every later or parallel release branch is fixed solely because socfpga_v2.14.1 exists; verify Altera guidance for each branch.
  5. If an update cannot be applied, the available record does not document a specific compensating workaround. Limit the ability of untrusted code to obtain high privilege on HPS EL1 or the non-secure operating system, and request branch-specific mitigation guidance from Altera.

Detection

  1. Inventory Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, and N5X SoC HPS devices running Altera Trusted Firmware.
  2. Check the provenance of the TF-A image or firmware package and compare its version with the affected boundary through socfpga_v2.14.0.
  3. Where source code or build artifacts are available, review ALTERA_SIP_SMC_ASYNC_GEN_MBOX_CMD and verify that the response address is restricted to valid Non-Secure DDR before use.
  4. Review EL3 faults, unexpected resets, mailbox failures, or secure-world anomalies as a precautionary monitoring measure. These are not vendor-confirmed indicators, and the absence of such events does not prove that a system is safe.
  5. No specific IOC or log pattern is supplied, so reliable exposure detection depends primarily on firmware version, platform, and privileged SMC capability checks.
Sources (12)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.