HPS EL3 stack buffer overflow 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-13465?

CVE-2026-13465 is a vulnerability classified as Stack-based Buffer Overflow, 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

Stack-based buffer overflow 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 on ARM HPS platforms is affected through socfpga_v2.14.0; the CNA record sets the default status to unaffected outside the stated affected range.
  • Altera identifies Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, and N5X SoC HPS as affected platforms.
  • Altera's advisory identifies socfpga_v2.14.1 as the fixed release. The available evidence does not establish the status of parallel branches or deployments that do not use this firmware lineage.

Technical details

The affected component is the intel_fcs_hkdf_request() handler in the Altera Trusted Firmware HPS EL3 path. It accepts op_key_size from SMC register x7 without the bounds validation needed before processing the HKDF request with a fixed-size stack buffer. An attacker must already control privileged HPS EL1 or OS execution and be able to invoke the relevant SMC interface; the available evidence does not describe remote reachability or additional user interaction beyond that local privilege. An oversized value can overwrite EL3 stack memory, which is a CWE-121 stack-based buffer overflow. The exact stack layout, overwrite distance, and whether control flow can be redirected are not established by the available evidence.

Exploitability

Reachability is local to the HPS platform through the SMC interface. Exploitation requires high privileges, specifically privileged HPS EL1 or OS execution, and no additional user interaction is identified. The record characterizes attack complexity as low, but the high-privilege precondition limits who can reach the attack path. The supplied record does not confirm exploitation in the wild and does not identify a public exploit for this vulnerability.

Technical impact

The flaw can corrupt memory in HPS EL3, the Trusted Firmware execution level. Possible consequences include EL3 failure or denial of service and corruption of trusted execution state; a more serious control-flow integrity impact is possible but is not demonstrated for this vulnerability by the available evidence. Because the attacker must already have privileged HPS EL1 or OS execution, the flaw does not itself provide an initial remote foothold. The advisory material also separates HPS EL3 from the higher-privilege SDM, so complete platform control or SDM compromise should not be assumed.

Business impact

  • A party that already has privileged HPS EL1 or OS execution may be able to affect the trusted execution environment through the vulnerable SMC path.
  • EL3 memory corruption could interrupt secure-world services, corrupt trusted firmware state, or affect the integrity of security-sensitive operations.
  • This is not an unauthenticated or remotely reachable attack path based on the available evidence; the attacker must first obtain privileged access on the HPS.
  • The advisory material distinguishes HPS EL3 from the SDM, a higher-privilege domain. The available record does not establish that this issue reaches SDM access or provides complete platform control.

Remediation

  1. Update arm-trusted-firmware to socfpga_v2.14.1 or newer, as recommended by Altera.
  2. Inventory and replace affected Trusted Firmware images across the identified HPS platforms, then verify that the fixed image is actually loaded in the boot chain.
  3. If an immediate update is not possible, restrict privileged HPS EL1 or OS execution and treat that as a temporary compensating control. The advisory reviewed does not provide a specific workaround that replaces the update.
  4. Test FCS HKDF-dependent functions after updating and monitor for EL3 or secure-world errors that may indicate deployment problems. Do not treat the absence of errors as proof that the firmware was unaffected.

Detection

  1. Inventory devices using Altera Trusted Firmware on Stratix 10 SoC HPS, Agilex 7 SoC HPS, Agilex 5 SoC HPS, Agilex 3 SoC HPS, and N5X SoC HPS.
  2. Check the Trusted Firmware build or image loaded on each device and compare it with Altera's fixed release; do not infer safety from the version of a separate OS or bootloader component.
  3. If source code, symbols, or an analyzable build are available, locate intel_fcs_hkdf_request() and verify that the size received from SMC is validated before use with the stack buffer.
  4. Review privileged HPS EL1 or OS processes that can invoke FCS HKDF-related SMC calls. This checks exposure to the path and is not a confirmed exploitation indicator.
  5. Monitor unusual EL3 resets, secure-world service errors, or trusted-service interruptions as a precaution. The absence of these events does not prove that the firmware is unaffected.
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.