<div dir="ltr">Hi maintainers,<br><br>I am reporting an integer overflow vulnerability in libmagic (file-5.17) where a crafted `.mgc` file exploits a `uint32_t` wraparound in the `nmagic` sum validation in `apprentice_map()` (apprentice.c:2716-2733), causing an out-of-bounds pointer and a SIGSEGV crash on the next access.<br><br>Please find the detailed vulnerability report and proof-of-concept files attached.<br><br>Best regards</div>