Buffer overflow in Golioth Firmware Sdk
CVE-2026-23747
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 27.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golioth Firmware Sdk — versions 0.10.0, 48f521bcc0187ada2b9cbdad31dc380e6c7b7332
Weakness classification (CWE)
References
- secmate.dev/disclosures/SECMATE-2025-0015 (technical-description)
- blog.secmate.dev/posts/golioth-vulnerabilities-disclosure/ (technical-description, exploit)
- Firmware SDK 0.22.0 Release Notes (release-notes)
- github.com/golioth/golioth-firmware-sdk/commit/48f521bcc0187ada2b9cbdad31dc380e… (patch)
- www.vulncheck.com/advisories/golioth-firmware-sdk-payload-utils-stack-based-buf… (third-party-advisory)