Category

Firmware

Security vulnerabilities and automated fixes for firmware issues

8 posts found

high9 min

Stack Corruption on ESP32: When memcpy Reads Beyond UART Buffer Bounds

A high-severity vulnerability in ESP32 firmware allowed attackers to trigger stack and heap corruption by sending malformed UART frames shorter than expected to an mmWave sensor driver. Multiple `memcpy` operations copied data into fixed-size local variables without first verifying the source buffer was large enough, opening the door to arbitrary code execution. The fix replaces magic-number length guards with `sizeof()`-based checks that are portable, self-documenting, and provably correct.

#embedded-security#esp32#buffer-overflow+4 more
O
orbisai0security
May 28, 2026
critical8 min

Buffer Overflow via Crafted SCSI Commands: How a Missing Bounds Check Almost Bricked Your ESP32

A critical out-of-bounds memory access vulnerability was discovered in the FatFSUSB library used by the micro-journal ESP32 firmware, where memcpy operations on a sector buffer accepted attacker-controlled offset and size values from USB SCSI commands without any bounds validation. A malicious USB host could craft SCSI READ/WRITE commands to corrupt memory, potentially crashing the device or executing arbitrary code. The fix adds a simple but essential bounds check before every memcpy operation,

#buffer-overflow#embedded-security#esp32+4 more
O
orbisai0security
May 24, 2026
critical8 min

Critical BLE Buffer Overflow Fixed: How Heap Overflows Put IoT Devices at Risk

A critical heap buffer overflow vulnerability was discovered and patched in a BLE (Bluetooth Low Energy) characteristic write handler, where missing bounds checks allowed any nearby Bluetooth device to send oversized payloads and potentially execute arbitrary code. This fix adds essential buffer-length validation before memory copy operations, closing a remote attack vector that required zero authentication to exploit. Understanding this class of vulnerability is essential for any developer work

#buffer-overflow#ble#iot+4 more
O
orbisai0security
May 22, 2026
critical10 min

Critical Buffer Overflow in CRSF Firmware: How One Missing Check Could Crash a Drone

A critical buffer overflow vulnerability was discovered and patched in the CRSF (Crossfire Serial Protocol) receiver packet handler, where attacker-controlled payload size fields were passed directly to `memcpy` without bounds checking. This class of vulnerability is particularly dangerous in embedded firmware because it can corrupt adjacent memory on microcontrollers, potentially allowing an attacker within RF range to hijack or crash a drone mid-flight. The fix adds proper size validation befo

#buffer-overflow#embedded-security#firmware+4 more
O
orbisai0security
May 12, 2026
high8 min

Unauthenticated Debug Endpoints Expose Firmware Internals: A High-Severity Fix

A high-severity vulnerability was discovered and patched in firmware package handling code, where debug and monitoring endpoints were left exposed without any authentication, authorization, or IP restrictions. These endpoints leaked sensitive application internals including thread states, database connection pool statistics, and potentially sensitive data stored in thread-local storage. Left unpatched, this flaw could allow any unauthenticated attacker to map out application internals and pivot

#security#authentication#firmware+4 more
O
orbisai0security
May 12, 2026
medium7 min

Securing MQTT on Embedded Devices: Resource Limits & Auth Fixes

A medium-severity vulnerability was discovered and patched in the PicoW ClockMaster firmware's MQTT client, where file import functionality lacked resource limits and the broker connection lacked authentication—allowing attackers on the same network to inject spoofed motor and LED commands. The fix introduces proper input validation, file size checks, JSON depth limits, and authenticated/encrypted MQTT connections. This case is a timely reminder that IoT firmware security requires the same rigor

#iot-security#mqtt#embedded-systems+4 more
O
orbisai0security
May 7, 2026
medium8 min

Securing IoT OTA Servers: Fixing Unauthenticated Firmware Uploads

A medium-severity vulnerability was discovered and patched in an IoT Over-the-Air (OTA) firmware update server, where a Flask route accepted firmware file uploads without any authentication. This flaw allowed any attacker with network access to push arbitrary firmware binaries to connected IoT devices — a potentially devastating supply chain attack vector. The fix introduces proper authentication controls, closing the door on unauthorized firmware injection.

#iot-security#authentication#firmware+4 more
O
orbisai0security
May 4, 2026
critical6 min

Critical Use-After-Free in ESP32 Display Buffer: A Memory Safety Deep Dive

A critical use-after-free vulnerability was discovered in ESP32 firmware's display buffer allocation error handling. When memory allocation fails, freed pointers aren't nullified, creating dangling references that attackers can exploit through controlled heap manipulation. This vulnerability demonstrates why proper pointer hygiene is essential in embedded systems security.

#use-after-free#memory-safety#esp32+4 more
O
orbisai0security
Apr 3, 2026