| Titre | dvidelabs flatcc v0.6.3 Memory Leak |
|---|
| Description | 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) |
|---|
| La source | ⚠️ https://github.com/dvidelabs/flatcc/issues/389 |
|---|
| Utilisateur | lrrh (UID 100159) |
|---|
| Soumission | 08/08/2026 10:37 (il y a 1 mois) |
|---|
| Modérer | 13/09/2026 15:01 (1 month later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 403290 [Dvidelabs flatcc jusqu’à 0.6.3 src/Compiler/semantics.c fb_clear_parser déni de service] |
|---|
| Points | 20 |
|---|