Untrusted pointer dereference in Altera Trusted Firmware enables EL3 memory corruption

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-58006?

CVE-2026-58006 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

  • Altera Trusted Firmware (TF-A) on HPS: the normalized record marks versions from 0 through socfpga_v2.14.0 as affected, using a custom version type; the default status is unaffected outside that declared range.
  • Platforms identified by Altera: Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, and N5X SoC HPS.
  • Update named by Altera: socfpga_v2.14.1. The record does not provide separate boundaries for other parallel branches, so their status should not be inferred.

Technical details

The flaw is in output-pointer handling within the SoCFPGA BL31 mailbox service in Altera Trusted Firmware. A normal-world caller can supply destinations for V2 mailbox responses or V3 asynchronous callback data, while BL31 does not apply equivalent Non-Secure or DDR range checks on the affected paths. The V3 response-copy logic can also exceed the callback length declared by the caller. The resulting write primitive can corrupt memory mapped to EL3, creating normal-world-to-EL3 secure-memory corruption. Exploitation requires privileged execution at HPS EL1 or in the operating system. The advisory does not identify a more specific handler name, the affected memory layout for each platform, or direct code execution.

Exploitability

This is a local vulnerability on HPS, not a network attack path described by the advisory. An attacker needs privileged HPS EL1 or operating-system execution to reach the relevant mailbox paths. The normalized record characterizes exploitation as low complexity and requiring no user interaction. The normalized record marks a public exploit as not identified, but it does not establish the actual exploitation status in deployed environments. No specific campaign, victim, or indicator is confirmed by the available sources.

Technical impact

The direct technical outcome is the ability to corrupt EL3-domain memory through mailbox output data controlled by a normal-world caller. This may corrupt Trusted Firmware state or code, cause denial of service, or alter EL3 execution, but those outcomes depend on the target and its mitigations. Because privileged HPS EL1 or operating-system execution is required, the flaw is not a direct escalation path from an unauthenticated network attacker. The advisory also limits the impact interpretation: EL3 is not the highest-privilege domain, and this issue does not by itself demonstrate SDM access or complete platform control.

Business impact

The flaw may let an attacker who already controls privileged HPS operating-system execution corrupt secure-firmware state or data in the EL3 domain. Possible consequences include disruption of secure-world services, loss of EL3 integrity, or altered execution behavior, depending on the platform and enabled mitigations. Writes into EL3 memory could affect the availability of functions that depend on Trusted Firmware. The available evidence does not confirm secret disclosure, SDM access, or a complete platform compromise scenario.

Remediation

  1. Update arm-trusted-firmware on affected systems to socfpga_v2.14.1, the release named in Altera's remediation guidance.
  2. Verify that the BL31 or Trusted Firmware image actually loaded by the device has been updated, rather than updating only a build-environment package.
  3. Reconcile the deployed firmware with the affected boundary for each HPS device and retain build provenance to prevent redeployment of an older image.
  4. If an update cannot be applied, treat systems meeting the affected conditions as exposed. The supplied sources do not specify an alternative mitigation confirmed by Altera.

Detection

  1. Inventory devices using Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, or N5X SoC HPS, then identify the Trusted Firmware or BL31 image in use.
  2. Compare the firmware build and provenance with the affected-version boundary and Altera's specified update, rather than inferring safety from the SoC family alone.
  3. Determine whether the deployed firmware implements the BL31 mailbox service with V2 response handling or V3 asynchronous callbacks.
  4. Review available logs, traces, or debug telemetry for abnormal mailbox activity. Treat this as precautionary monitoring, not as an Altera-confirmed indicator.
  5. The absence of suspicious log events does not prove that the firmware is unaffected or that EL3 memory has not been altered.
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.