A vulnerability, which was classified as critical, has been found in Homebrew brew up to 4.2.19. This issue affects some unknown processing of the file os/linux/elf.rb of the component ELF File Handler. The manipulation leads to Remote Code Execution.

The identification of this vulnerability is CVE-2024-42381. The attack may be initiated remotely. There is no exploit available.

It is recommended to upgrade the affected component.