提交 #919201: dvidelabs flatcc v0.6.3 Reachable Assertion信息

标题dvidelabs flatcc v0.6.3 Reachable Assertion
描述align_order_members() sorts a table's member list by a computed order key k and asserts k > 0 before inserting into the ordering list (src/compiler/semantics.c:1059). When the same member name is declared twice, the second declaration's key collapses to 0 and the assert(k > 0) aborts the compile. Duplicate members are a plausible user typo, not an exceptional input — the parser should emit a redefinition error, not crash. Affected versions: flatcc v0.6.3 Severity: Medium (reachable assertion abort / SIGABRT; crash/DoS of the schema compiler) CWE: CWE-617 (Reachable Assertion)
来源⚠️ https://github.com/dvidelabs/flatcc/issues/387
用户
 lrrh (UID 100159)
提交2026-08-08 10時41分 (1 月前)
管理2026-09-13 15時01分 (1 month later)
状态已接受
VulDB条目403292 [Dvidelabs flatcc 直到 0.6.3 Duplicate Symbol src/compiler/semantics.c align_order_members 拒绝服务]
积分20

Interested in the pricing of exploits?

See the underground prices here!