| Titel | dvidelabs flatcc v0.6.3 Reachable Assertion |
|---|
| Beschreibung | FlatBuffers structs must be acyclic (a struct's fields may only reference other structs by value if the graph is a DAG), but the parser does not reject mutually-recursive structs up front. analyze_struct() re-enters struct analysis while the fb_circular_open flag for the enclosing struct is still set (src/compiler/semantics.c:695), and the cycle trips an assertion that aborts the compile with SIGABRT.
Affected versions: flatcc v0.6.3
Severity: Medium (reachable assertion abort / SIGABRT; crash/DoS of the schema compiler)
CWE: CWE-617 (Reachable Assertion) |
|---|
| Quelle | ⚠️ https://github.com/dvidelabs/flatcc/issues/388 |
|---|
| Benutzer | lrrh (UID 100159) |
|---|
| Einreichung | 08.08.2026 10:40 (vor 1 Monat) |
|---|
| Moderieren | 13.09.2026 15:01 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 403291 [Dvidelabs flatcc bis 0.6.3 Struct Analysis src/compiler/semantics.c analyze_struct Denial of Service] |
|---|
| Punkte | 20 |
|---|