The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23747

CVE-2026-23747: Golioth Firmware SDK Buffer Overflow

CVE-2026-23747 is a stack-based buffer overflow flaw in Golioth Firmware SDK versions 0.10.0 to 0.22.0 that can cause crashes and denial of service. This article covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-23747 Overview

CVE-2026-23747 is a stack-based buffer overflow vulnerability in the Golioth Firmware SDK affecting versions 0.10.0 through 0.21.x. The vulnerability exists in the Payload Utils component, specifically within the golioth_payload_as_int() and golioth_payload_as_float() helper functions. These functions copy network-supplied payload data into fixed-size stack buffers using memcpy() with a length derived from payload_size. The critical flaw is that length validation checks are guarded by assert() statements, which are compiled out in release builds, allowing unbounded payload sizes to trigger stack buffer overflows.

Critical Impact

Attackers can trigger denial of service conditions by sending oversized payloads (greater than 12 bytes for int or 32 bytes for float conversions) via LightDB State on_payload callbacks, either through a malicious server or man-in-the-middle attack.

Affected Products

  • Golioth Firmware SDK version 0.10.0 through 0.21.x
  • IoT devices running affected SDK versions with LightDB State functionality enabled
  • Systems using golioth_payload_as_int() or golioth_payload_as_float() payload utilities

Discovery Timeline

  • 2026-02-26 - CVE-2026-23747 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-23747

Vulnerability Analysis

This stack-based buffer overflow (CWE-121) vulnerability occurs due to insufficient input validation in the Golioth Firmware SDK's payload utility functions. The golioth_payload_as_int() and golioth_payload_as_float() functions are designed to convert raw byte payloads into native C types (int32_t and float, respectively). However, the implementation relies on assert() statements to validate payload sizes before performing memcpy() operations into fixed-size stack buffers.

In debug builds, these assertions would catch oversized payloads and terminate execution safely. However, when compiled for release (production) environments—where NDEBUG is typically defined—the assert() macros expand to nothing, removing all size validation. This allows an attacker to supply payloads exceeding the expected buffer sizes (12 bytes for integers, 32 bytes for floats), causing memcpy() to write beyond the stack buffer boundaries.

The vulnerability is remotely exploitable through the LightDB State on_payload callback mechanism, which processes data received over the network. An attacker with network access—either through a compromised server or man-in-the-middle position—can craft malicious payloads to trigger the overflow, resulting in stack corruption and denial of service.

Root Cause

The root cause is improper reliance on debug-only assertions for security-critical input validation. The vulnerability stems from using assert() for bounds checking in the payload conversion utilities. Since assertions are intended for debugging and are removed in release builds through compiler optimization, the safety checks are eliminated precisely when they are most needed—in production deployments. Proper input validation should use runtime checks that persist regardless of build configuration.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability through two primary scenarios:

  1. Malicious Server Attack: If an attacker controls or compromises the Golioth cloud service endpoint, they can send crafted LightDB State payloads to connected IoT devices
  2. Man-in-the-Middle Attack: An attacker positioned between the IoT device and the legitimate server can intercept and modify payload data in transit

The attack payload must exceed the expected buffer sizes—more than 12 bytes for golioth_payload_as_int() or more than 32 bytes for golioth_payload_as_float()—to trigger the stack overflow and cause a crash.

c
// Security patch in include/golioth.h - src: split lightdb into state and stream
 #include "golioth_status.h"
 #include "golioth_client.h"
 #include "golioth_log.h"
-#include "golioth_lightdb.h"
+#include "golioth_lightdb_state.h"
+#include "golioth_lightdb_stream.h"
 #include "golioth_rpc.h"
 #include "golioth_ota.h"
+#include "golioth_payload_utils.h"
 #include "golioth_fw_update.h"
 #include "golioth_settings.h"
 #include "golioth_debug.h"

Source: GitHub Commit 48f521b

c
// Security patch in include/golioth_payload_utils.h - src: split lightdb into state and stream
+/*
+ * Copyright (c) 2023 Golioth, Inc.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+#pragma once
+
+#include <stdbool.h>
+#include <stdint.h>
+
+
+/// @defgroup golioth_payload_utils golioth_payload_utils
+/// Functions for converting JSON types into C types
+/// @{
+
+/// Convert raw byte payload into an int32_t
+///
+/// @param payload Pointer to payload data
+/// @param payload_size Size of payload, in bytes
+///
+/// @return int32_t value returned from strtol(payload, NULL, 10)
+int32_t golioth_payload_as_int(const uint8_t* payload, size_t payload_size);
+
+/// Convert raw byte payload into a float
+///
+/// @param payload Pointer to payload data
+/// @param payload_size Size of payload, in bytes
+///
+/// @return float value returned from strtof(payload, NULL)

Source: GitHub Commit 48f521b

Detection Methods for CVE-2026-23747

Indicators of Compromise

  • Unexpected device crashes or reboots coinciding with LightDB State synchronization events
  • Network traffic containing unusually large payload sizes (exceeding 12 bytes for integer values or 32 bytes for float values) in CoAP or MQTT communications to Golioth endpoints
  • Stack corruption signatures in device crash logs or memory dumps
  • Abnormal patterns in server-to-device communication indicating potential MITM activity

Detection Strategies

  • Monitor firmware logs for crash events associated with golioth_payload_as_int() or golioth_payload_as_float() function calls
  • Implement network traffic analysis to detect oversized payload transmissions targeting IoT devices using the Golioth SDK
  • Deploy SentinelOne Singularity for IoT to provide behavioral analysis and crash detection on supported embedded platforms
  • Audit connected device firmware versions against the vulnerable range (0.10.0 through 0.21.x)

Monitoring Recommendations

  • Enable verbose logging on IoT devices to capture payload processing events and potential crash indicators
  • Implement TLS certificate pinning to reduce MITM attack surface for server communications
  • Use network segmentation to isolate IoT devices and monitor cross-segment traffic for anomalies
  • Establish baseline behavioral patterns for device communication to identify deviations indicative of exploitation attempts

How to Mitigate CVE-2026-23747

Immediate Actions Required

  • Upgrade all affected devices to Golioth Firmware SDK version 0.22.0 or later immediately
  • Audit deployed firmware to identify all instances running vulnerable SDK versions (0.10.0 through 0.21.x)
  • Implement network-level payload size validation as a defense-in-depth measure while patching is in progress
  • Review and restrict network access to IoT device communication channels to trusted endpoints only

Patch Information

The vulnerability has been addressed in commit 48f521b and is fully resolved in Golioth Firmware SDK version 0.22.0. The fix refactors the LightDB functionality by splitting it into separate state and stream components and introduces proper payload utilities with runtime bounds checking that persists in release builds.

For detailed patch information, refer to:

  • GitHub Commit 48f521b
  • GitHub Release v0.22.0

Additional security advisories are available from:

  • SecMate Disclosure SECMATE-2025-0015
  • VulnCheck Advisory

Workarounds

  • If immediate patching is not possible, implement application-level payload size validation before calling golioth_payload_as_int() or golioth_payload_as_float() functions
  • Consider compiling firmware with assertions enabled (-UNDEBUG) as a temporary measure, though this may impact performance
  • Deploy network-level filtering to reject oversized payloads before they reach vulnerable devices
  • Use TLS with mutual authentication and certificate pinning to mitigate MITM attack vectors
bash
# Configuration example - Verify SDK version and plan upgrade
# Check current Golioth SDK version in your project
grep -r "golioth-firmware-sdk" west.yml || grep -r "golioth" CMakeLists.txt

# Update to patched version v0.22.0
cd path/to/your/project
west config manifest.project-filter -- +golioth-firmware-sdk
west update golioth-firmware-sdk

# Alternatively, update west.yml manifest to reference v0.22.0
# revision: v0.22.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGolioth

  • SeverityMEDIUM

  • CVSS Score6.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-121
  • Technical References
  • GitHub Commit Update

  • GitHub Release v0.22.0

  • SecMate Disclosure SECMATE-2025-0015

  • VulnCheck Advisory on Golioth Buffer Overflow
  • Related CVEs
  • CVE-2026-23749: Golioth Firmware SDK DoS Vulnerability

  • CVE-2026-23748: Golioth Firmware SDK DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English