Unvalidated SiP v2 mailbox pointers enable EL3 memory access 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-58005?

CVE-2026-58005 is a vulnerability classified as Improper Restriction of Operations within the Bounds of a Memory Buffer, 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

Out-of-bounds read vulnerability in Altera Trusted Firmware on HPS allows Privilege Escalation and Overflow Buffers. This issue affects Trusted Firmware: through socfpga_v2.14.0.

Affected products and scope

  • Product: Altera Trusted Firmware, also referred to by the advisory as Trusted Firmware-A (TF-A), on ARM HPS platforms.
  • Affected versions: the CNA record identifies versions from 0 through and including socfpga_v2.14.0 as affected; the default status outside that range is unaffected.
  • Platforms: Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, and N5X SoC HPS.
  • Fixed version: Altera recommends updating arm-trusted-firmware to socfpga_v2.14.1 or newer. The available evidence does not provide a separate matrix for parallel release branches.

Technical details

The SiP v2 mailbox dispatcher converts addresses supplied by a non-secure EL1 caller directly into pointers without checking that they fall within permitted DDR. The SEND_COMMAND and POLL_RESPONSE paths can therefore cause EL3 to read from or write to attacker-selected physical addresses. This bypasses the intended non-secure/secure memory isolation and can affect EL3 state or other TrustZone-protected memory. Exploitation requires privileged non-secure HPS EL1/OS execution capable of issuing the relevant SMCs, making this a local post-compromise or privileged-local attack rather than a network-only path. The weakness is classified as CWE-119; the available evidence does not establish the exact SMC identifiers, the target-dependent control-flow outcome, or a guaranteed code-execution path.

Exploitability

The vulnerability is locally reachable. An attacker must have privileged non-secure HPS EL1/OS execution and the ability to issue the relevant mailbox SMCs; no user interaction is required once those privileges are available. The record characterizes attack complexity as low. The supplied record marks public_exploit as false, but it does not provide a time-bounded conclusion about exploitation in the wild; known-exploited status is not supplied.

Technical impact

  • The affected paths may allow EL3 to read from or write to physical addresses selected by an attacker, within the resources reachable through the mailbox service.
  • Writes to EL3 state or secure-world memory could cause corruption, denial of service, or altered privileged behavior; privilege escalation is identified in the record as a possible outcome, not a guaranteed result in every configuration.
  • The described impact is confined to EL3 and secure-world resources reachable through these paths. The SDM operates in a higher-privilege domain, so affecting HPS EL3 does not by itself demonstrate SDM access or complete platform control.
  • The prerequisite is privileged HPS EL1/OS execution in the non-secure world.

Business impact

Affected HPS systems may allow a privileged non-secure OS component to read or write physical memory outside its intended region. Writes to EL3 state or TrustZone-protected memory could corrupt the security monitor, disrupt services, or alter privileged execution. Reads could expose data in regions reachable through the mailbox paths. This creates an integrity and availability risk for the trusted execution environment and weakens the boundary between the non-secure and secure worlds. Altera's advisory states that this impact does not by itself demonstrate SDM access or complete platform control.

Remediation

  1. Update arm-trusted-firmware to socfpga_v2.14.1 or newer as recommended by Altera.
  2. Inventory Stratix 10, Agilex 7, Agilex 5, Agilex 3, and N5X devices with HPS, then verify the firmware version actually packaged and loaded on each device.
  3. Prioritize systems where the non-secure OS contains privileged components that can issue the relevant SiP v2 mailbox SMCs. Restricting privileged local access is a defense-in-depth measure, not a replacement for the firmware update.
  4. After updating, confirm that the deployed build contains the fixed version and retest the mailbox flows required by the firmware validation process.
  5. The supplied record and advisory do not provide a separate vendor workaround. Do not treat blocking one specific mailbox flow as a complete fix without Altera confirmation.

Detection

Use the following checks:

  1. Inventory Altera Trusted Firmware or arm-trusted-firmware deployed on HPS systems and flag builds within or below the affected boundary described in affected_summary.
  2. Identify affected HPS platforms and verify the firmware component actually loaded on each device, rather than checking only a source tree or build package.
  3. Review non-secure EL1/OS components that can issue SiP v2 mailbox SMCs, especially flows using SEND_COMMAND and POLL_RESPONSE, and examine how their input addresses are controlled.
  4. Review existing firmware telemetry, EL3 faults, unexpected resets, and secure-world events for anomalies associated with mailbox activity. This is precautionary monitoring only; no specific IOC or log signature is provided, and the absence of log evidence does not prove safety.
Sources (14)
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.