Golioth Firmware SDK < 0.22.0 Payload Utils Stack-based Buffer Overflow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-23747
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 03:47 UTC · Revision 1
Source evidence
Golioth Firmware SDK < 0.22.0 Payload Utils Stack-based Buffer Overflow
core-osv · Original sourcePublished 26 Feb 2026, 17:30 UTC
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.
osv:CVE-2026-23747
Complete source record
{
"id": "f75eeac8affef19461b8e916d648558978a0b119ab99800cca524cb7d0d9b943",
"url": "https://osv.dev/vulnerability/CVE-2026-23747",
"method": "structured",
"payload": {
"kind": "advisory",
"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 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.",
"evidence": "osv:CVE-2026-23747",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-23747",
"aliases": [
"CVE-2026-23747"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/golioth/golioth-firmware-sdk",
"type": "GIT",
"events": [
{
"introduced": "35c3085d0686b73b85cb7bd46c75adb828ce6a83"
},
{
"fixed": "f15281671a9dd5c14a5215021f4469a8e3071b37"
},
{
"fixed": "48f521bcc0187ada2b9cbdad31dc380e6c7b7332"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.10.0"
},
{
"fixed": "0.22.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "f15281671a9dd5c14a5215021f4469a8e3071b37"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.22.0"
},
{
"range": [
{
"fixed": "48f521bcc0187ada2b9cbdad31dc380e6c7b7332"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.20.0",
"v0.21.1",
"v0.21.0",
"v0.15.0",
"v0.19.1",
"v0.19.0",
"v0.18.1",
"v0.18.0",
"v0.17.0",
"v0.16.0",
"v0.14.0",
"v0.13.1",
"v0.13.0",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.1",
"v0.11.0",
"v0.10.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23747.json"
}
}
],
"modified": "2026-10-28T02:30:42.086383119Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23747.json",
"https://github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23747",
"https://www.vulncheck.com/advisories/golioth-firmware-sdk-payload-utils-stack-based-buffer-overflow",
"https://github.com/golioth/golioth-firmware-sdk/commit/48f521bcc0187ada2b9cbdad31dc380e6c7b7332",
"https://github.com/golioth/golioth-firmware-sdk",
"https://secmate.dev/disclosures/SECMATE-2025-0015",
"https://blog.secmate.dev/posts/golioth-vulnerabilities-disclosure/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23747.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23747",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509953,
"published_at": "2026-02-26T17:30:13.495+00:00"
}