CVE-2026-107189: Integer Overflow in GNU m4
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 to a fixed release to a version that resolves this vulnerability.
Patch 69aef802fb25ab600d37210f44e5128633cbc432
Event History
Frequently Asked Questions
Who is exposed to this issue?
GNU m4 users are exposed when they process a malicious frozen-state file with the -R option. The described impact is a program crash resulting in denial of service.
What does an attacker need to exploit it?
An attacker needs to cause GNU m4 to process a malicious frozen-state file via -R. The vulnerability is triggered while reload_frozen_state() handles that file.
What can be done to remediate the issue?
Update to a GNU m4 version that includes commit 69aef802fb25ab600d37210f44e5128633cbc432. If updating is not immediately possible, avoid using -R with untrusted frozen-state files.