Description
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.
References (5)
Core 5
Core References
Various Sources technical-description
https://secmate.dev/disclosures/SECMATE-2025-0015
Various Sources technical-description
exploit
https://blog.secmate.dev/posts/golioth-vulnerabilities-disclosure/
Release Notes release-notes
https://github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0
Patch patch
https://github.com/golioth/golioth-firmware-sdk/commit/48f521bcc0187ada2b9cbdad31dc380e6c7b7332
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/golioth-firmware-sdk-payload-utils-stack-based-buffer-overflow
Scores
CVSS v3
3.7
EPSS
0.0030
EPSS Percentile
21.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-121
Status
published
Products (3)
Golioth/Firmware SDK
0.10.0 - 0.22.0
Golioth/Firmware SDK
48f521bcc0187ada2b9cbdad31dc380e6c7b7332
Golioth/Firmware SDK
commit 48f521b
Published
Feb 26, 2026
Tracked Since
Feb 27, 2026