云虫漏洞情报

CVE-2026-58106 - CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r  was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper. At ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size passed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the destination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a 2-byte stack overflow on every invocation, independent of the input p - 漏洞详情

漏洞编号:CVE-2026-58106

风险等级:未知

漏洞来源:CVE

CVE 编号:CVE-2026-58106

CNNVD 编号:-

厂商/产品:- / -

影响范围:-

CWE:CWE-787

发布/更新时间:2026-08-28 / 2026-08-28

漏洞描述

CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r  was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper.
At ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size
passed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the
destination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a
2-byte stack overflow on every invocation, independent of the input path's length.



This issue affects CodeChecker: through 6.28.2.

相关链接

相关漏洞

« 返回首页