CVE-2026-107167

M17n-lib: heap use-after-free write in re_init_ic()

Published Oct 7, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in m17n-lib. A user providing specially crafted text input can trigger a heap use-after-free condition during input-method state transitions. Under specific conditions, the library frees an internal input context object but subsequently attempts to write to that freed memory. This issue can cause applications relying on the library to crash, leading to a Denial of Service (DoS), or potentially allow arbitrary code execution.

Analysis

AI-generated

Technical impact

A flaw was discovered in the m17n-lib library, a component used by many Red Hat Enterprise Linux distributions to provide language support. The vulnerability appears during input-method state transitions: an internal input context object is freed, yet the library subsequently attempts to write to that same heap region. This heap use-after-free (CWE-416) can cause applications that link against m17n-lib to crash, producing a denial of service. Under specific circumstances, an attacker could also trigger arbitrary code execution by sending specially crafted text input.

Affected Systems

The defect affects all supported Red Hat Enterprise Linux major releases: versions 6 through 10, including RHEL 6, 7, 8, 9 and 10. No precise library version is identified, and the CVE entry does not list any patch or update at present. Systems running these distributions should determine whether the vulnerable library is present in their environment and identify any applications that depend on it.

Risk and Exploitability

The CVSS score of 6.2 denotes moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attacker must supply specially crafted input to trigger a state transition; therefore the attack vector is largely ‘local’ to a process that receives user data. The lack of a public patch means the primary risk remains a crash‑driven DoS unless the application handles the crash gracefully. Users should continue to monitor for related advisories and consider defensive coding strategies.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Identify all services or applications that link to m17n-lib and evaluate whether they accept untrusted input; restrict or sandbox those processes to limit potential impact.
  • Apply input validation or sanitization to all text that reaches these services, removing or escaping characters that could trigger the library’s state transitions; this does not eliminate the flaw but reduces accidental exploitation.
  • Regularly check Red Hat security advisories for any future releases of m17n-lib that fix this issue and install updates as soon as they become available.
  • No official workaround is available; monitor for a vendor patch and apply it when released.

Generated by OpenCVE AI on October 7, 2026 at 15:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Vendors & Products Red Hat
Red Hat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in m17n-lib. A user providing specially crafted text input can trigger a heap use-after-free condition during input-method state transitions. Under specific conditions, the library frees an internal input context object but subsequently attempts to write to that freed memory. This issue can cause applications relying on the library to crash, leading to a Denial of Service (DoS), or potentially allow arbitrary code execution.
Title M17n-lib: heap use-after-free write in re_init_ic()
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-416
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 3:55 PM
Reserved
Oct 7, 2026, 11:29 AM
Status
Awaiting Analysis
Published
Oct 7, 2026, 3:17 PM
Modified
Nov 5, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 7, 2026, 11:49 AM