---
id: CVE-2026-23747
title: Golioth Firmware SDK < 0.22.0 Payload Utils Stack-based Buffer Overflow
summary: "Golioth Firmware SDK version 0.10.0 prior to 0.22.0, fixed in commit\_48f521b, contain a stack-based buffer overflow in Payload Utils. The golioth_payload_as_int() and golioth_payload_as_float() helpers copy network-supplied payload data …"
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-121
vendor: Golioth
product: Firmware SDK
affected:
  - firmware_sdk >= 0.10.0 < 0.22.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-02-27T16:07:17.351702Z'
exploitAvailable: true
published: '2026-02-26'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:01:23.555Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-23747'
references:
  - url: 'https://secmate.dev/disclosures/SECMATE-2025-0015'
  - url: 'https://blog.secmate.dev/posts/golioth-vulnerabilities-disclosure/'
  - url: 'https://github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0'
    label: Firmware SDK 0.22.0 Release Notes
  - url: >-
      https://github.com/golioth/golioth-firmware-sdk/commit/48f521bcc0187ada2b9cbdad31dc380e6c7b7332
  - url: >-
      https://www.vulncheck.com/advisories/golioth-firmware-sdk-payload-utils-stack-based-buffer-overflow
tags:
  - cve.org
  - exploit-available
epss: 0.0034
epssPercentile: 0.27707
ingestedAt: '2026-11-08T14:51:22.473Z'
---

## Overview

Golioth Firmware SDK version 0.10.0 prior to 0.22.0, fixed in commit 48f521b, contain a stack-based buffer overflow in Payload Utils. The golioth_payload_as_int() and golioth_payload_as_float() helpers copy network-supplied payload data into fixed-size stack buffers using memcpy() with a length derived from payload_size. The only length checks are guarded by assert(); in release builds, the asserts are compiled out and memcpy() may copy an unbounded payload_size. Payloads larger than 12 bytes (int) or 32 bytes (float) can overflow the stack, resulting in a crash/denial of service. This is reachable via LightDB State on_payload with a malicious server or MITM.

## Affected

- `firmware_sdk >= 0.10.0 < 0.22.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
