AZL-116351: CVE-2026-107189 affecting package m4 1.4.19-2
GNU m4 contains an integer overflow vulnerability in reloadfrozenstate() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
m4to a version that resolves this vulnerability.Patch 69aef802fb25ab600d37210f44e5128633cbc432
Event History
Frequently Asked Questions
What must an attacker control to trigger this issue?
The attacker must be able to provide or cause GNU m4 to process a malicious frozen-state file using the -R option.
What is the practical impact of successful exploitation?
Processing the crafted frozen-state file can cause an oversized allocation request and crash GNU m4, resulting in denial of service.
How can exposure be reduced before an update is available?
Avoid using the -R option with frozen-state files from untrusted or attacker-controlled sources. Restrict who can supply those files or influence the m4 command invocation.
What change fixes the vulnerability?
The issue was fixed in commit 69aef802fb25ab600d37210f44e5128633cbc432.