Integer Underflow (Wrap or Wraparound) Affecting golioth/golioth-firmware-sdk package, versions [0.10.0,0.22.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GOLIOTHGOLIOTHFIRMWARESDK-15367355
  • published2 Mar 2026
  • disclosed27 Feb 2026
  • creditUnknown

Introduced: 27 Feb 2026

CVE-2026-23748  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade golioth/golioth-firmware-sdk to version 0.22.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) via the on_payload and golioth_payload_is_null() function which does not block payload_size==1. An attacker can cause the device to crash by sending a crafted string payload with a payload_size value less than 2, which leads to a size_t underflow and causes a subsequent memcpy() operation to read past the end of the network buffer.

CVSS Base Scores

version 4.0
version 3.1