PT-2025-39096 · Unknown · Codechecker
CVE-2025-40843
·
Publicado
2025-09-22
·
Atualizado
2025-11-14
CVSS v3.1
7.8
Alta
| Vetor | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
CodeChecker versions through 6.26.1
Description
CodeChecker versions up to 6.26.1 contain a buffer overflow in the internal
ldlogger library, triggered when executing the CodeChecker log command. The issue stems from the unsafe use of the strcpy() function without length checks, allowing an attacker to overrun a stack-allocated buffer of 4096 bytes by providing crafted inputs via the command line. An example script demonstrates exploitation by supplying a payload exceeding the buffer's capacity to the CodeChecker log command with the -b option. Environments executing the vulnerable CodeChecker log command with untrusted user input are affected. The API endpoint involved is /very/long/path/to/$payload/gcc a.c, where payload is a crafted input.Recommendations
Versions prior to 6.26.1 should be updated.
Exploit
Correção
Stack Overflow
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Codechecker