---
title: "CVE-2022-1276\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-1276?format=md
keywords: index, follow
---

# CVE-2022-1276

Publication date 10 April 2022

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.4 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-1276?format=md#impact-score)

Toggle side navigation

## Description

Out-of-bounds Read in mrb\_get\_args in GitHub repository mruby/mruby prior
to 3.2. Possible arbitrary code execution if being exploited.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mruby | 26.04 LTS resolute | Vulnerable |
| 25.10 questing | Ignored end of life, was needed |
| 25.04 plucky | Ignored end of life, was needed |
| 24.10 oracular | Ignored end of life, was needed |
| 24.04 LTS noble | Vulnerable |
| 23.10 mantic | Ignored end of life, was needed |
| 23.04 lunar | Ignored end of life, was needed |
| 22.10 kinetic | Ignored end of life, was needed |
| 22.04 LTS jammy | Vulnerable |
| 21.10 impish | Ignored end of life |
| 20.04 LTS focal | Vulnerable |
| 18.04 LTS bionic | Vulnerable |
| 16.04 LTS xenial | Vulnerable |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-1276?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| mruby | * Upstream:   [c8c083c](https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.4 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.4 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1276)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-1276)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-1276)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-1276)

### Other references

* <https://huntr.dev/bounties/6ea041d1-e2aa-472c-bf3e-da5fa8726c25>
* <https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6>
* <https://www.cve.org/CVERecord?id=CVE-2022-1276>
