Home

Description

Golioth Firmware SDK version 0.19.1 prior to 0.22.0, fixed in commit 0e788217, contain an out-of-bounds read due to improper null termination of a blockwise transfer path. blockwise_transfer_init() accepts a path whose length equals CONFIG_GOLIOTH_COAP_MAX_PATH_LEN and copies it using strncpy() without guaranteeing a trailing NUL byte, leaving ctx->path unterminated. A later strlen() on this buffer (in golioth_coap_client_get_internal()) can read past the end of the allocation, resulting in a crash/denial of service. The input is application-controlled (not network by default).

PUBLISHED Reserved 2026-01-15 | Published 2026-02-26 | Updated 2026-02-26 | Assigner VulnCheck




LOW: 2.1CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

LOW: 2.9CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem types

CWE-170: Improper Null Termination

Product status

Default status
unaffected

0.19.1 (semver) before 0.22.0
affected

commit 0e788217 (custom)
unaffected

Credits

SecMate (https://secmate.dev) finder

References

secmate.dev/disclosures/SECMATE-2025-0017 technical-description

github.com/golioth/golioth-firmware-sdk/releases/tag/v0.22.0 release-notes

github.com/...ommit/0e788217ab4b61a7c1d9fadd1b4a40f5f538a26d patch

www.vulncheck.com/...ckwise-transfer-path-out-of-bounds-read third-party-advisory

cve.org (CVE-2026-23749)

nvd.nist.gov (CVE-2026-23749)

Download JSON