{"id":"CVE-2026-58106","published":"2026-08-28T12:46:57Z","modified":"2026-08-28T18:27:22Z","title":"Incomplete fix for CVE-2025-40843: safe_strcpy is called with PATH_MAX into fullPath+2, writing 2 bytes past the…","vendor":"Ericsson","product":"CodeChecker","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00166,"percentile":0.03313,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8","tags":["vendor-advisory"]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":0.66},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"ericsson","affectedVersions":[{"vendor":"Ericsson","product":"CodeChecker","versions":["<= 6.28.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-28T18:26:51.164522Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-67716","exploited":false,"provenance":"source"}}