Strapi crashe, when uploading some image files
### Required System information
- Node.js version: **20.12.2**
- NPM version: **10.5.0**
- YARN version: **1.22.22**
- Strapi version: **4.25.13**
- Database: **MySql**
- Operating system: **Ubuntu**
- Is your project Javascript or Typescript: **Javascript** 

### Describe the bug
When I upload an image, Strapi crashes with a "Killed" message. This issue happens with only some image files. I also face this issue on the Strapi Demo server.

Try to upload on my server 
![image](https://github.com/user-attachments/assets/3a0d5e19-2e22-48fb-a78d-6d743f04967f)

Strapi Demo server: https://api-yrs63.strapidemo.com/admin/plugins/upload
![Screenshot_8](https://github.com/user-attachments/assets/0bb29f40-2e9b-4bc0-90a0-8bf15e150f93)

Anyone if knows the solution for this issue, please add comments.
Thanks!