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
CVE-2026-23748 is a medium severity integer underflow vulnerability (CWE-191) identified in the Golioth Firmware SDK, specifically in versions prior to 0.22.0, with version 0.10.0 explicitly affected. The vulnerability arises in the LightDB State string parsing functionality. When processing a string payload, if the payload_size is less than 2, a size_t underflow occurs during the calculation of the number of bytes to copy (nbytes). This underflow causes memcpy() to read beyond the bounds of the network buffer, resulting in an out-of-bounds read. The vulnerable code path is reachable from the on_payload handler, and the function golioth_payload_is_null() does not prevent payload_size values equal to 1, allowing the underflow condition to be triggered. The consequence of this out-of-bounds read is a device crash, effectively causing a denial of service (DoS). The flaw can be exploited remotely by a malicious server or a man-in-the-middle (MITM) attacker without requiring authentication or user interaction. The vulnerability was fixed in commit d7f55b38 after being reserved in January 2026 and published in February 2026. No public exploits are known at this time, but the vulnerability poses a risk to IoT devices using the affected SDK versions, potentially impacting device availability and reliability.
Potential Impact
The primary impact of CVE-2026-23748 is denial of service due to device crashes caused by out-of-bounds memory reads. For organizations deploying IoT devices running the vulnerable Golioth Firmware SDK, this can lead to operational disruptions, loss of device availability, and potential cascading effects in critical infrastructure or industrial environments. Since the vulnerability can be triggered remotely without authentication, attackers controlling or intercepting network traffic can exploit this flaw to disrupt services. This may affect device fleets, causing downtime and increased maintenance costs. Although no direct data confidentiality or integrity compromise is indicated, the loss of availability can degrade trust in IoT deployments and impact business continuity, especially in sectors relying on real-time device telemetry and control.
Mitigation Recommendations
To mitigate this vulnerability, organizations should upgrade all Golioth Firmware SDK instances to version 0.22.0 or later, where the issue is fixed. If immediate upgrade is not feasible, implement network-level protections such as strict filtering and validation of incoming payloads to ensure payload_size values are not less than 2, thereby preventing the underflow condition. Employ secure communication channels (e.g., TLS) to reduce the risk of man-in-the-middle attacks that could inject malicious payloads. Additionally, monitor device logs and network traffic for anomalous payloads or repeated crashes indicative of exploitation attempts. Incorporate robust input validation in custom firmware layers to reject malformed or suspicious payloads. Finally, maintain an incident response plan to quickly address device outages and coordinate with Golioth support for patches and advisories.
Affected Countries
United States, Germany, Japan, South Korea, China, United Kingdom, France, Canada, Australia, Netherlands
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-23748 is a medium severity integer underflow vulnerability (CWE-191) identified in the Golioth Firmware SDK, specifically in versions prior to 0.22.0, with version 0.10.0 explicitly affected. The vulnerability arises in the LightDB State string parsing functionality. When processing a string payload, if the payload_size is less than 2, a size_t underflow occurs during the calculation of the number of bytes to copy (nbytes). This underflow causes memcpy() to read beyond the bounds of the network buffer, resulting in an out-of-bounds read. The vulnerable code path is reachable from the on_payload handler, and the function golioth_payload_is_null() does not prevent payload_size values equal to 1, allowing the underflow condition to be triggered. The consequence of this out-of-bounds read is a device crash, effectively causing a denial of service (DoS). The flaw can be exploited remotely by a malicious server or a man-in-the-middle (MITM) attacker without requiring authentication or user interaction. The vulnerability was fixed in commit d7f55b38 after being reserved in January 2026 and published in February 2026. No public exploits are known at this time, but the vulnerability poses a risk to IoT devices using the affected SDK versions, potentially impacting device availability and reliability.
Potential Impact
The primary impact of CVE-2026-23748 is denial of service due to device crashes caused by out-of-bounds memory reads. For organizations deploying IoT devices running the vulnerable Golioth Firmware SDK, this can lead to operational disruptions, loss of device availability, and potential cascading effects in critical infrastructure or industrial environments. Since the vulnerability can be triggered remotely without authentication, attackers controlling or intercepting network traffic can exploit this flaw to disrupt services. This may affect device fleets, causing downtime and increased maintenance costs. Although no direct data confidentiality or integrity compromise is indicated, the loss of availability can degrade trust in IoT deployments and impact business continuity, especially in sectors relying on real-time device telemetry and control.
Mitigation Recommendations
To mitigate this vulnerability, organizations should upgrade all Golioth Firmware SDK instances to version 0.22.0 or later, where the issue is fixed. If immediate upgrade is not feasible, implement network-level protections such as strict filtering and validation of incoming payloads to ensure payload_size values are not less than 2, thereby preventing the underflow condition. Employ secure communication channels (e.g., TLS) to reduce the risk of man-in-the-middle attacks that could inject malicious payloads. Additionally, monitor device logs and network traffic for anomalous payloads or repeated crashes indicative of exploitation attempts. Incorporate robust input validation in custom firmware layers to reject malformed or suspicious payloads. Finally, maintain an incident response plan to quickly address device outages and coordinate with Golioth support for patches and advisories.
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: 2/26/2026, 7:40:58 PM
Last enriched: 3/24/2026, 12:36:05 AM
Last updated: 4/13/2026, 3:43:43 AM
Views: 57
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.