Files
yara/tests
jmestwa-coder def0eb0a1a check reloc buffer_id before deref in yr_arena_load_stream (#2202)
noticed the relocation loop in yr_arena_load_stream reads b->data before it checks reloc_ref.buffer_id against num_buffers. the id comes straight from the loaded stream, so a crafted reloc entry with a large buffer_id indexes far past the 16-slot buffers array and reads out of bounds. moving the range check ahead of the dereference rejects it as corrupt first. looks like the check order got flipped in #2178. added a regression test in test-arena.c.
2026-06-16 10:32:03 +02:00
..
2020-10-08 11:52:55 +02:00
2021-08-24 11:12:16 +02:00
2022-08-26 12:04:32 +02:00
2020-12-24 10:46:09 +01:00
2024-01-15 22:31:18 +01:00
2024-01-15 16:34:12 +01:00