Skip to main content

Mruby: Use-of-uninitialized-value in udiv

0
Medium
Published: 07/29/2022 (07/29/2022, 00:02:04 UTC)
Source: GCVE Database
Product: mruby

Description

A use-of-uninitialized-value vulnerability has been reported in the mruby project, specifically in the udiv function. The issue was identified by OSS-Fuzz and involves uninitialized memory usage during integer division operations. Multiple release candidate and stable versions of mruby are affected. No CVSS score or vendor patch information is currently available.

Affected software

OSS-Fuzzmore threats →ghsa
mruby
pkg:generic/mruby
Affected versions
>=547d465340b5358502483a97729a95661bcd754d=3.2.0-rc=3.2.0-rc2=3.2.0-rc3=3.2.0-rc4=3.2.0=3.3.0-rc=3.3.0-rc2=3.3.0=3.4.0-rc=3.4.0=3.4.0-rc2=4.0.0-rc=4.0.0-rc2=4.0.0-rc3=4.0.0-rc4=4.0.0=4.1.0-rc

Run 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

AILast updated: 09/07/2026, 15:23:24 UTC

Technical Analysis

The vulnerability in mruby involves a use-of-uninitialized-value error detected in the udiv function, which is part of the integer division implementation. This issue was discovered through OSS-Fuzz testing and results in the use of uninitialized memory values during execution. The affected versions include various release candidates and stable releases from 3.2.0-rc through 4.1.0-rc. There is no detailed vendor advisory or patch information provided, and no known exploits have been reported in the wild.

Potential Impact

The use-of-uninitialized-value vulnerability may lead to undefined behavior, including potential crashes or incorrect computations within mruby. However, no specific impact details such as code execution or data leakage are described in the available information. There are no reports of active exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should monitor mruby project communications and OSS-Fuzz reports for updates. Avoid using affected versions in sensitive environments if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
OSV-2022-652
Osv Schema Version
1.2.0
Ecosystems
["OSS-Fuzz"]

Threat ID: 6a9af33facd9273b49e1cb92

Added to database: 09/04/2026, 16:35:11 UTC

Last enriched: 09/07/2026, 15:23:24 UTC

Last updated: 10/04/2026, 06:25:15 UTC

Views: 133

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses