Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-107167 EUVD-2026-94365GHSA-3wc7-m5vh-qr2g

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

Published Oct 7, 2026 · Updated Nov 5, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 m17n-lib No fix yet —
Debian 13 m17n-lib No fix yet —
Debian 12 m17n-lib No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 m17n-lib No fix yet —
Ubuntu 26.04 LTS m17n-lib No fix yet —
Ubuntu 24.04 LTS m17n-lib No fix yet —
Ubuntu 22.04 LTS m17n-lib No fix yet —
Ubuntu 20.04 LTS m17n-lib No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS m17n-lib No fix yet —
Ubuntu 16.04 LTS m17n-lib No fix yet —

References