Home › News › Vulnerabilities
GNU m4 integer overflow in frozen-state handling can crash the program (CVE-2026-107189)
According to CERT Polska, which helped coordinate disclosure, a flaw in GNU m4 lets a crafted frozen-state file loaded with the -R option crash the program. A fix is available in a specific commit.
VulnerabilitiesKey points
- GNU m4 has an integer overflow in frozen-state handling, tracked as CVE-2026-107189.
- Processing a crafted frozen-state file via the -R option can crash the program, causing denial of service.
- A fix is available in commit 69aef802fb25ab600d37210f44e5128633cbc432.
- No severity score or evidence of exploitation is reported.
CERT Polska reported a vulnerability in GNU m4, tracked as CVE-2026-107189, and said it took part in coordinating the disclosure. The flaw is an integer overflow in the reload_frozen_state() function in src/freeze.c. According to the report, a crafted frozen-state file processed through the -R option can lead to a memory allocation request that is too large, which crashes the program and causes a denial of service.
The issue was fixed in commit 69aef802fb25ab600d37210f44e5128633cbc432. The vulnerability was credited to Michał Majchrowicz and Marcin Wyczechowski of the AFINE Team. The NVD entry describes the same flaw, referring to the function as reloadfrozenstate().
The report does not give a severity score, and it does not say whether exploitation has been observed. No fixed release version is stated in the material available. For full details, see the original CERT Polska report.
What to do
- Check whether your GNU m4 builds include commit 69aef802fb25ab600d37210f44e5128633cbc432, and apply or update to a version that does.
- Limit use of the -R option with frozen-state files to trusted sources until patched.
Original report
“Vulnerability in GNU m4 software”
Integer Overflow vulnerability (CVE-2026-107189) has been found in GNU m4 software.
Vulnerabilities mentioned
- CVE-2026-107189 — GNU m4 Medium