Mruby: Heap-buffer-overflow in udiv
Description
A heap-buffer-overflow vulnerability exists in the udiv function of mruby, as reported by OSS-Fuzz. This vulnerability involves a write overflow of 4 bytes on the heap. Multiple release candidate and stable versions of mruby from 3.2.0-rc through 4.1.0-rc are affected. No CVSS score or detailed impact analysis is provided, and no known exploits in the wild have been reported.
Affected software
pkg:generic/mrubyRun 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 is a heap-buffer-overflow write of 4 bytes occurring in the udiv function within mruby. The issue was identified by OSS-Fuzz and is documented under OSV-2022-679. The crash state includes functions udiv, mrb_bint_mod, and int_mod, indicating the overflow occurs during integer division or modulo operations. Affected versions include multiple release candidates and stable releases from 3.2.0-rc up to 4.1.0-rc. No patch or remediation details are provided in the input data.
Potential Impact
The heap-buffer-overflow may lead to memory corruption, potentially causing crashes or undefined behavior in applications using affected mruby versions. No information about exploitation in the wild or further impact such as code execution is available.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory or OSS-Fuzz report for current remediation guidance. No official fix or patch links are provided in the data. Users should monitor official mruby channels for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- OSV-2022-679
- Osv Schema Version
- 1.3.0
- Ecosystems
- ["OSS-Fuzz"]
Threat ID: 6a9af33facd9273b49e1cb8c
Added to database: 09/04/2026, 16:35:11 UTC
Last enriched: 09/07/2026, 15:23:31 UTC
Last updated: 10/04/2026, 09:15:56 UTC
Views: 132
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.
External Links
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.