
CVE catalog
CVE-2018-14337
mruby: CVE-2018-14337
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.35% · Oct 25, 2026
The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mruby | sid | 4.0.0-1 | fixed |
| Debian | mruby | forky | 4.0.0-1 | fixed |
| Debian | mruby | trixie | 3.3.0-1 | fixed |
| Debian | mruby | bookworm | 3.1.0-3 | fixed |
| Ubuntu | mruby | 16.04 | 1.1.0+20150817+gita1731254-1 | vulnerable |
| Ubuntu | mruby | 16.04 | 1.1.0+20150906+git1cbbb7e1-1 | vulnerable |
| Ubuntu | mruby | 16.04 | 1.2.0+20160315+git4f20d58a-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.3.0-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.3.0+20170925+git38185028-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.3.0+20171029+git77edafb0-1 | vulnerable |
| Ubuntu | mruby | 18.04 | 1.4.0-1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmruby-dev]Fixed
Source package: [mruby]
Details (2)
3.1.0-3· amd64 · bookwormFixed · Fixed:
2.0.0-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormFixed · Fixed:
2.0.0-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
- [mruby]Fixed
Details (2)
3.1.0-3· amd64 · bookwormFixed · Fixed:
2.0.0-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormFixed · Fixed:
2.0.0-1dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
[Debian 13 (Trixie)]
- [libmruby-dev]Fixed
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieFixed · Fixed:
2.0.0-1dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieFixed · Fixed:
2.0.0-1dsa · mruby · debian · 13
- [mruby]Fixed
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieFixed · Fixed:
2.0.0-1dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieFixed · Fixed:
2.0.0-1dsa · mruby · debian · 13
Observed: