---
title: "CVE-2023-0341\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-2023-0341?format=md
keywords: index, follow
---

# CVE-2023-0341

Publication date 30 January 2023

Last updated 23 April 2026

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.8 · High**

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

Toggle side navigation

## Description

A stack buffer overflow exists in the ec\_glob function of
editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily
write to the stack and possibly allows remote code execution.
editorconfig-core-c v0.12.6 resolved this vulnerability by bound checking
all write operations over the p\_pcre buffer.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| editorconfig-core | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Fixed 0.12.5-2.1ubuntu0.1 |
| 22.04 LTS jammy | Fixed 0.12.5-2ubuntu0.1~esm1  Ubuntu Pro |
| 20.04 LTS focal | Fixed 0.12.1-1.1+deb11u1build0.20.04.1 |
| 18.04 LTS bionic | Fixed 0.12.1-1.1ubuntu0.18.04.1~esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 0.12.0-2ubuntu0.1~esm1  Ubuntu Pro |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

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

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

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-5842-1](https://usn.ubuntu.com/USN-5842-1)
+ EditorConfig Core C vulnerability
+ 6 February 2023

+ [USN-7168-1](https://usn.ubuntu.com/USN-7168-1)
+ EditorConfig vulnerabilities
+ 18 December 2024

### Other references

* <https://github.com/editorconfig/editorconfig-core-c/pull/87>
* <https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e>
* <https://www.cve.org/CVERecord?id=CVE-2023-0341>
