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… (CVE-2026-107167)
Description
A heap use-after-free vulnerability exists in m17n-lib when processing specially crafted text input during input-method state transitions. This flaw can cause applications using the library to crash, resulting in a denial of service. Under certain conditions, it may also allow arbitrary code execution. The issue affects multiple specific versions of m17n-lib. The CVSS score is 6.2, indicating a medium severity level.
CVSS v3.1
Score 6.2medium
Affected software
pkg:deb/ubuntu/m17n-lib?arch=source&distro=xenialpkg:deb/ubuntu/m17n-lib?arch=source&distro=bionicpkg:deb/ubuntu/m17n-lib?arch=source&distro=focalpkg:deb/ubuntu/m17n-lib?arch=source&distro=jammypkg:deb/ubuntu/m17n-lib?arch=source&distro=noblepkg:deb/ubuntu/m17n-lib?arch=source&distro=stonkingpkg:deb/ubuntu/m17n-lib?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in m17n-lib arises from improper handling of an internal input context object during input-method state transitions. Specifically, the library frees this object but later attempts to write to the freed memory, causing a heap use-after-free condition. This can lead to application crashes (denial of service) or potentially arbitrary code execution if exploited. The flaw is triggered by specially crafted text input provided by a user. The affected versions are explicitly enumerated and include several 1.6.x, 1.7.x, and 1.8.x builds.
Potential Impact
Applications relying on the vulnerable versions of m17n-lib may crash due to the heap use-after-free condition, resulting in denial of service. Additionally, there is a potential for arbitrary code execution, which could allow an attacker to execute malicious code within the context of the affected application. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted or specially crafted text input with the affected versions of m17n-lib. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-107167
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad3f4e32cdf04f656656d1f
Added to database: 10/17/2026, 22:21:23 UTC
Last enriched: 10/17/2026, 22:35:28 UTC
Last updated: 10/17/2026, 22:35:28 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.