{"id":"CVE-2026-23747","state":"PUBLISHED","title":"Golioth Firmware SDK < 0.22.0 Payload Utils Stack-based Buffer Overflow","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.","publishedAt":"2026-02-26T17:30:13.495Z","updatedAt":"2026-07-14T15:53:36.335Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Golioth Firmware SDK"],"affected":[{"vendor":"Golioth","product":"Firmware SDK","packageURL":"pkg:github/golioth/golioth-firmware-sdk","defaultStatus":"unaffected","versions":[{"version":"0.10.0","status":"affected","lessThan":"0.22.0","versionType":"semver"},{"version":"48f521bcc0187ada2b9cbdad31dc380e6c7b7332","status":"unaffected","versionType":"git"}],"repo":"https://github.com/golioth/golioth-firmware-sdk"}],"references":["https://secmate.dev/disclosures/SECMATE-2025-0015","https://blog.secmate.dev/posts/golioth-vulnerabilities-disclosure/","https://github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0","https://github.com/golioth/golioth-firmware-sdk/commit/48f521bcc0187ada2b9cbdad31dc380e6c7b7332","https://www.vulncheck.com/advisories/golioth-firmware-sdk-payload-utils-stack-based-buffer-overflow"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23747.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23747","state":"PUBLISHED","datePublished":"2026-02-26T17:30:13.495Z","dateUpdated":"2026-07-14T15:53:36.335Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-01-15T18:42:20.937Z"},"containers":{"cna":{"title":"Golioth Firmware SDK < 0.22.0 Payload Utils Stack-based Buffer Overflow","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Golioth","product":"Firmware SDK","packageURL":"pkg:github/golioth/golioth-firmware-sdk","defaultStatus":"unaffected","versions":[{"version":"0.10.0","status":"affected","lessThan":"0.22.0","versionType":"semver"},{"version":"48f521bcc0187ada2b9cbdad31dc380e6c7b7332","status":"unaffected","versionType":"git"}],"repo":"https://github.com/golioth/golioth-firmware-sdk"}],"references":[{"url":"https://secmate.dev/disclosures/SECMATE-2025-0015","tags":["technical-description"]},{"url":"https://blog.secmate.dev/posts/golioth-vulnerabilities-disclosure/","tags":["technical-description","exploit"]},{"url":"https://github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0","tags":["release-notes"]},{"url":"https://github.com/golioth/golioth-firmware-sdk/commit/48f521bcc0187ada2b9cbdad31dc380e6c7b7332","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/golioth-firmware-sdk-payload-utils-stack-based-buffer-overflow","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T15:53:36.335Z"},"credits":[{"lang":"en","type":"finder","value":"SecMate (https://secmate.dev)"}],"x_generator":{"engine":"Vulnogram 0.5.0"},"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-27T16:07:17.351702Z","id":"CVE-2026-23747","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-27T16:07:30.232Z"}}]}}}