| 제목 | dvidelabs flatcc v0.6.3 Memory Leak |
|---|
| 설명 | 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) |
|---|
| 원천 | ⚠️ https://github.com/dvidelabs/flatcc/issues/389 |
|---|
| 사용자 | lrrh (UID 100159) |
|---|
| 제출 | 2026. 08. 08. AM 10:37 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 13. PM 03:01 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 403290 [Dvidelabs flatcc 까지 0.6.3 src/Compiler/semantics.c fb_clear_parser 서비스 거부] |
|---|
| 포인트들 | 20 |
|---|