SECURITYCRITICALCVE-2026-85504

FreeIPMI Stack Buffer Overflow Threatens Server BMC Management Tooling

CVE-2026-85504 is a critical stack-based buffer overflow in FreeIPMI's Fujitsu SEL parsing, triggered by malformed BMC responses. Fixed in 1.6.19.

Dylan H.

Security Team

September 4, 2026
3 min read
FreeIPMI Stack Buffer Overflow Threatens Server BMC Management Tooling

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • FreeIPMI before 1.6.19

Executive Summary

CVE-2026-85504 is a critical stack-based buffer overflow in FreeIPMI, the widely used open-source library and toolset for managing Intelligent Platform Management Interface (IPMI) and Baseboard Management Controller (BMC) hardware. The bug lives in _ipmi_sel_oem_fujitsu_get_sel_entry_long_text in libfreeipmi/sel/ipmi-sel-string-fujitsu-irmc-common.c, and is triggered by a malformed Fujitsu System Event Log (SEL) long-text response.

CVSS Score: 9.8 (Critical) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

The issue affects all FreeIPMI versions before 1.6.19, which was released with a fix. MITRE assigned the CVE, reserved and published on 2026-09-04.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-85504
CVSS Score9.8 (Critical)
CWECWE-121 — Stack-Based Buffer Overflow
Componentlibfreeipmi/sel/ipmi-sel-string-fujitsu-irmc-common.c
TriggerMalformed Fujitsu SEL long-text response from a BMC
AssignerMITRE

Technical Details

FreeIPMI parses SEL entries returned by a system's BMC to present human-readable event log text, including vendor-specific (OEM) formats such as Fujitsu's iRMC long-text SEL entries. The parsing routine _ipmi_sel_oem_fujitsu_get_sel_entry_long_text writes attacker- or device-controlled response data into a fixed-size stack buffer without adequate bounds checking. A malicious or compromised BMC — or an attacker capable of spoofing IPMI responses on the management network — can send a crafted, oversized long-text SEL entry to overflow the buffer, corrupting the stack.

This CVE was disclosed as part of a batch of six related FreeIPMI vulnerabilities, several sharing the same root cause across different OEM parsing paths:

CVEDescription
CVE-2026-85504 (this advisory)Stack overflow in _ipmi_sel_oem_fujitsu_get_sel_entry_long_text (libfreeipmi)
CVE-2026-85505Stack buffer over-read in ipmi_oem_fujitsu_get_sel_entry_long_text when a BMC returns a short response
CVE-2026-85506Stack overflow in _get_dell_system_info_idrac_info (ipmi-oem dell get-system-info idrac-info)
CVE-2026-85507Stack overflow in _output_dell_system_info_cmc_info (ipmi-oem dell get-system-info cmc-info)

All were addressed together in the FreeIPMI 1.6.19 release.


Impact of Successful Exploitation

ImpactDescription
Memory CorruptionStack overflow can crash the FreeIPMI process (denial of service)
Potential Code ExecutionDepending on stack layout and mitigations, overflow may be leveraged for arbitrary code execution
Management Infrastructure RiskFreeIPMI underpins BMC/IPMI tooling used across server fleets, HPC clusters, and data center management stacks
Trust Boundary ViolationA compromised or rogue BMC can attack the management host that queries it

Immediate Remediation

  1. Upgrade to FreeIPMI 1.6.19 or later — available from ftp.gnu.org/gnu/freeipmi.
  2. Audit BMC trust boundaries — restrict IPMI/BMC management traffic to dedicated, isolated management networks.
  3. Verify distro packages — check whether your Linux distribution's freeipmi / libfreeipmi packages have shipped a backported fix, and update accordingly.
  4. Restrict who can query BMCs — limit which hosts are permitted to run FreeIPMI tools against a given BMC.

Detection Indicators

IndicatorDescription
FreeIPMI tool crashes while parsing SEL entries from Fujitsu hardwarePossible exploitation attempt or triggering bug
Unexpected or oversized SEL long-text entries in BMC logsSign of a crafted malicious response
Core dumps from ipmi-sel or related FreeIPMI utilitiesWarrants investigation for exploitation

References