| Título | dvidelabs flatcc v0.6.3 Memory Leak |
|---|
| Descrição | define_fb_name() inserts reserved keywords into a dedicated keyword_index hash table (src/compiler/semantics.c:260). The parser's teardown (fb_clear_parser) frees the attribute_index and include_index tables but omits keyword_index, so every schema parse leaks the keyword table (~1024 bytes). For any persistent process (fuzz harness, daemon, IDE language server) that parses schemas repeatedly, memory grows without bound.
Affected versions: flatcc HEAD v0.6.3
Severity: Medium (deterministic per-parse memory leak; DoS by resource exhaustion in persistent processes)
CWE: CWE-401 (Improper Release of Memory Before Removing Last Reference) |
|---|
| Fonte | ⚠️ https://github.com/dvidelabs/flatcc/issues/389 |
|---|
| Utilizador | lrrh (UID 100159) |
|---|
| Submissão | 08/08/2026 10h37 (há 1 mês) |
|---|
| Moderação | 13/09/2026 15h01 (1 month later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 403290 [Dvidelabs flatcc até 0.6.3 src/Compiler/semantics.c fb_clear_parser Negação de Serviço] |
|---|
| Pontos | 20 |
|---|