Integer overflow in Golioth Firmware Sdk
CVE-2026-23748
Golioth Firmware SDK version 0.10.0 prior to 0.22.0, fixed in commit d7f55b38, contain an out-of-bounds read in LightDB State string parsing. When processing a string payload, a payload_size value less than 2 can cause a size_t underflow when computing the number of bytes to copy (nbytes). The subsequent memcpy() reads past the end of the network buffer, which can crash the device. The condition is reachable from on_payload, and golioth_payload_is_null() does not block payload_size==1. A malicious server or MITM can trigger a denial of service.
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, 24.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golioth Firmware Sdk — versions 0.10.0, d7f55b380d8be8b29bd101ce06e421af2e88c12b
Weakness classification (CWE)
References
- secmate.dev/disclosures/SECMATE-2025-0016 (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/d7f55b380d8be8b29bd101ce06e421af… (patch)
- www.vulncheck.com/advisories/golioth-firmware-sdk-lightdb-state-out-of-bounds-r… (third-party-advisory)