CVE catalog

CVE-2018-14337

mruby: CVE-2018-14337

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianmrubysid4.0.0-1fixed
Debianmrubyforky4.0.0-1fixed
Debianmrubytrixie3.3.0-1fixed
Debianmrubybookworm3.1.0-3fixed
Ubuntumruby16.041.1.0+20150817+gita1731254-1vulnerable
Ubuntumruby16.041.1.0+20150906+git1cbbb7e1-1vulnerable
Ubuntumruby16.041.2.0+20160315+git4f20d58a-1vulnerable
Ubuntumruby18.041.3.0-1vulnerable
Ubuntumruby18.041.3.0+20170925+git38185028-1vulnerable
Ubuntumruby18.041.3.0+20171029+git77edafb0-1vulnerable
Ubuntumruby18.041.4.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmrubysourcesid2.0.0-1lowNot reported[903985]
Debianmrubysourceforky2.0.0-1lowNot reported[903985]
Debianmrubysourcetrixie2.0.0-1lowNot reported[903985]
Debianmrubysourcebookworm2.0.0-1lowNot reported[903985]

[Debian bug #903985]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [mruby]

    Details (2)
    • 3.1.0-3 · amd64 · bookworm

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

    • 3.1.0-3 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

  • [mruby]Fixed
    Details (2)
    • 3.1.0-3 · amd64 · bookworm

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

    • 3.1.0-3 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

[Debian 13 (Trixie)]

  • Source package: [mruby]

    Details (2)
    • 3.3.0-1 · amd64 · trixie

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · 13

  • [mruby]Fixed

    Source package: [mruby]

    Details (2)
    • 3.3.0-1 · amd64 · trixie

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Fixed · Fixed: 2.0.0-1

      dsa · mruby · debian · 13

Observed:

References