Skip to main content

GNU m4 CVE-2026-107189

| EUVDEUVD-2026-137199 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-11-27 CERT-PL GHSA-xg78-jpj8-mhvr
4.6
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious m4 frozen-state file
  2. Exploit
    Victim invokes m4 -R on the file
  3. Execution
    Integer overflow in reload_frozen_state()
  4. Impact
    Oversized allocation crashes process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim to invoke GNU m4 with the -R (reload frozen state) option against an attacker-controlled frozen-state file; this is a non-default, optional performance feature, not standard m4 usage. The trigger is an oversized allocation request arising from the integer overflow while parsing that file. Limiting factors per the CVSS vector and description: the vector is local (AV:L), exploitation depends on user interaction (the victim must actively run m4 -R on the malicious file), and impact is confined to availability (a process crash) with no confidentiality or integrity effect and no code execution.

Impact

This is a modest, low-urgency issue rather than a genuine high-priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L) scores 4.6 (Medium) and is internally consistent with the description: exploitation is local and requires user interaction (a victim must invoke m4 with the -R option on an attacker-supplied frozen-state file), and the only impact is low availability loss - a single-process crash with no confidentiality or integrity effect and no code execution. The vuln.today Decision label is 'this_month', not act_now or emergency, which aligns with the limited impact. No EPSS score, KEV listing, or PoC/exploit reference is present in the input; the only references are the CERT-PL advisory and the GNU patch commit, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The signals do not conflict: a local, user-interaction-dependent, availability-only integer-overflow DoS in a build-time utility is a real but minor defensibility concern. EPSS is missing, so widespread-exploitation probability cannot be quantified, but the local/UI-gated vector makes mass exploitation implausible regardless.

Exploit ScenarioDerived

An attacker crafts a malicious m4 frozen-state file and gets a victim to load it - for example by planting it in a source tree or build artifact that a developer or CI pipeline later processes with 'm4 -R <file>'. The integer overflow in reload_frozen_state() produces an oversized allocation request that crashes the m4 process, denying service to that build or invocation. No public exploit code is identified in the sources, and the flaw yields only a crash, not code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

Denial of service in GNU m4 stems from an integer overflow in reload_frozen_state() (src/freeze.c) that is reached when m4 processes a crafted frozen-state file through the -R option, producing an oversized allocation request that crashes the process. The exposed configuration is narrow: a victim must deliberately run the non-default -R reload feature on an attacker-supplied file, so the CVSS 4.0 vector is local with user interaction and availability-only impact. The vendor fix is available as commit 69aef802fb25ab600d37210f44e5128633cbc432; no public exploit was identified at the time of analysis, and this is a modest, low-urgency issue.

RemediationAI

Apply the vendor fix by updating GNU m4 to a build that contains commit 69aef802fb25ab600d37210f44e5128633cbc432; because the supplied data does not name a tagged release, verify with the downstream distributor that its package includes that commit (advisory: https://cert.pl/en/posts/2026/11/CVE-2026-107189, fix: https://cgit.git.savannah.gnu.org/cgit/m4.git/commit/?id=69aef802fb25ab600d37210f44e5128633cbc432). Until the patched build is in place, avoid invoking m4 with -R on frozen-state files from untrusted sources, which removes the described trigger because the vulnerable path is only reached through that optional reload feature; this is a temporary exposure reduction, not a replacement for the patch.

Affected VersionsENISA

m4 0 ≤1.4.21

Affected Packages

euvd m4 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-190 integer overflow in GNU m4's reload_frozen_state() function in src/freeze.c. Frozen-state files are the serialized macro state consumed by the -R reload option, an optional performance feature rather than default m4 usage. When parsing a malicious file, the integer overflow leads to an oversized allocation request, and the resulting crash is the denial-of-service condition; no memory corruption, code execution, confidentiality or integrity impact is described. The supplied CPE cpe:2.3:a:gnu:m4:*:*:*:*:*:*:*:* identifies GNU m4 as the affected product family, but the data does not enumerate a precise vulnerable version range. The flaw is fixed by upstream commit 69aef802fb25ab600d37210f44e5128633cbc432, referenced in the CERT-PL advisory.

Know when M4 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CERT-PL) PRIMARY 4.6 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Local processing of an attacker-supplied frozen file requiring the victim to run m4 -R gives AV:L and UI:R; the crash yields A:L only with no C or I impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 89% exploitable
Prevalence
High
core GNU build-toolchain utility present on most Unix/Linux systems
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy