Home

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.

PUBLISHED Reserved 2026-01-15 | Published 2026-02-26 | Updated 2026-02-26 | Assigner VulnCheck




MEDIUM: 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

LOW: 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem types

CWE-121 Stack-based Buffer Overflow

Product status

Default status
unaffected

0.10.0 (semver) before 0.22.0
affected

commit 48f521b (custom)
unaffected

Credits

SecMate (https://secmate.dev) finder

References

secmate.dev/disclosures/SECMATE-2025-0015 technical-description

github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0 release-notes

github.com/...ommit/48f521bcc0187ada2b9cbdad31dc380e6c7b7332 patch

www.vulncheck.com/...yload-utils-stack-based-buffer-overflow third-party-advisory

cve.org (CVE-2026-23747)

nvd.nist.gov (CVE-2026-23747)

Download JSON