{"id":"CVE-2026-58106","summary":"Incomplete fix for CVE-2025-40843: safe_strcpy is called with PATH_MAX into fullPath+2, writing 2 bytes past the buffer on every CodeChecker log invocation","details":"CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r  was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper.\nAt ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size\npassed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the\ndestination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a\n2-byte stack overflow on every invocation, independent of the input path's length.\n\n\n\nThis issue affects CodeChecker: through 6.28.2.","aliases":["GHSA-9gcg-v8fg-39q8"],"modified":"2026-08-30T03:47:00.102532033Z","published":"2026-08-28T12:46:57.863Z","database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58106.json","cna_assigner":"ERIC"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58106.json"},{"type":"ADVISORY","url":"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58106"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ericsson/codechecker","events":[{"introduced":"0"},{"fixed":"13b2b26718497c13ad9987a5d71d7f2dcb9d270f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"6.28.2"},{"fixed":"6.28.2"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v6.28.1","v6.28.0","6.28.0-rc1","v6.27.0","v6.26.0","v6.25.0","v6.24.0","v6.23.0","v6.23.0-rc1","v6.22.0","v6.21.0","v6.20.0","v6.19.0","v6.18.0","v6.17.0","v6.16.0","v6.15.0","v6.14.0","v6.13.0","v6.12.0","v6.10.0","v6.9.1","v6.9.0","v6.8.1","v6.8.0","v6.7.1","v6.7.0","v6.6.0","v6.5.1","v6.5","v6.4","v6.3","v6.2","v6.2.1","v6.1.1","v6.1","v6.0.1","v6.0","v5.10","v5.9","v5.8","v5.7.1","v5.7","v5.6","v5.5","v5.4","v5.3","v5.2","v5.1","v5.0","v4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58106.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:P/S:N/AU:Y/R:U/RE:L/U:Green"}]}