GNU M4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc.
Security Fix(es):
GNU m4 contains an integer overflow vulnerability in reload_frozen_state() in src/freeze.c. When processing a malicious frozen-state file via the -R option, an attacker can trigger an oversized allocation request that crashes the program, causing denial of service.
This issue was fixed in commit 69aef802fb25ab600d37210f44e5128633cbc432.(CVE-2026-107189)