CVE-2026-23748: CWE-191 Integer Underflow (Wrap or Wraparound) in Golioth Firmware SDK
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.
AI Analysis
Technical Summary
Golioth Firmware SDK versions 0.10.0 up to but not including 0.22.0 contain an integer underflow vulnerability (CWE-191) in the LightDB State string parsing logic. When processing a string payload with a payload_size less than 2, the calculation of bytes to copy (nbytes) underflows due to size_t wrapping, causing memcpy to read beyond the network buffer boundary. This leads to an out-of-bounds read and can crash the device, enabling denial of service. The vulnerability is reachable from the on_payload function, and the existing check golioth_payload_is_null() does not prevent payload_size==1. The vulnerability was fixed in commit d7f55b38.
Potential Impact
An attacker controlling the server or positioned as a man-in-the-middle can send crafted payloads with a payload_size less than 2, triggering an out-of-bounds read that crashes the device. This results in a denial of service condition. There is no indication of code execution or data disclosure from the provided data.
Mitigation Recommendations
A fix is available and was introduced in commit d7f55b38, which resolves the integer underflow and out-of-bounds read issue. Users should upgrade to Golioth Firmware SDK version 0.22.0 or later. No other mitigations are indicated.
CVE-2026-23748: CWE-191 Integer Underflow (Wrap or Wraparound) in Golioth Firmware SDK
Description
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.
CVSS v4.0
Score 6.3medium
Affected software
pkg:github/golioth/golioth-firmware-sdkRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Golioth Firmware SDK versions 0.10.0 up to but not including 0.22.0 contain an integer underflow vulnerability (CWE-191) in the LightDB State string parsing logic. When processing a string payload with a payload_size less than 2, the calculation of bytes to copy (nbytes) underflows due to size_t wrapping, causing memcpy to read beyond the network buffer boundary. This leads to an out-of-bounds read and can crash the device, enabling denial of service. The vulnerability is reachable from the on_payload function, and the existing check golioth_payload_is_null() does not prevent payload_size==1. The vulnerability was fixed in commit d7f55b38.
Potential Impact
An attacker controlling the server or positioned as a man-in-the-middle can send crafted payloads with a payload_size less than 2, triggering an out-of-bounds read that crashes the device. This results in a denial of service condition. There is no indication of code execution or data disclosure from the provided data.
Mitigation Recommendations
A fix is available and was introduced in commit d7f55b38, which resolves the integer underflow and out-of-bounds read issue. Users should upgrade to Golioth Firmware SDK version 0.22.0 or later. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-15T18:42:20.937Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69a0a1ca85912abc71d0bb48
Added to database: 02/26/2026, 19:40:58 UTC
Last enriched: 07/15/2026, 11:04:49 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 171
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.