Unknown · Codechecker · CVE-2026-58106
**Name of the Vulnerable Software and Affected Versions**
CodeChecker versions prior to 6.28.3
**Description**
A stack overflow occurs during the invocation of the `safe strcpy()` helper function within the `ldlogger-tool-gcc.c` file. The issue arises because the function uses `strncpy()`, which NUL-pads the destination buffer to the full size of `PATH MAX` (4096 bytes). However, the destination pointer is offset by 2 bytes (`fullPath + 2`), leaving only 4094 bytes of available space. This results in a 2-byte overflow on every invocation, regardless of the input path length.
**Recommendations**
Update to version 6.28.3 or later.