CyberRota Analysis
AI-GeneratedA stack overflow vulnerability exists in the CodeChecker tool due to improper handling of string copying, where a bounded safe string copy function is misused, leading to a 2-byte overflow on each invocation. This flaw could potentially allow an attacker to manipulate the stack, although the impact is rated as low. Organizations using CodeChecker versions up to 6.28.2 should prioritize remediation to mitigate any potential exploitation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.