editorconfig-core — security advisory
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.
- Products
- editorconfig-core
- Affected versions
- Not specified
- Fixed versions
- 0.12.6-0.1
- CVEs
- CVE-2023-0341
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:35 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2023-0341
editorconfig-core
Fixed versions: 0.12.6-0.1
editorconfig-core
Fixed versions: 0.12.6-0.1
editorconfig-core
Fixed versions: 0.12.6-0.1
Complete source record
{
"id": "fa02e02526c4a112987ef46d25268b181598cd73c81d99f27599881609b6c796",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-0341",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-0341",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2023-0341",
"products": [
{
"name": {
"value": "editorconfig-core",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.12.6-0.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "editorconfig-core",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.12.6-0.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "editorconfig-core",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.12.6-0.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2023-0341",
"aliases": [
"DEBIAN-CVE-2023-0341"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.12.6-0.1"
}
]
}
],
"package": {
"name": "editorconfig-core",
"purl": "pkg:deb/debian/editorconfig-core?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-0341.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.12.6-0.1"
}
]
}
],
"package": {
"name": "editorconfig-core",
"purl": "pkg:deb/debian/editorconfig-core?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-0341.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.12.6-0.1"
}
]
}
],
"package": {
"name": "editorconfig-core",
"purl": "pkg:deb/debian/editorconfig-core?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-0341.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:01:07.053207899Z",
"provider": "osv",
"upstream": [
"CVE-2023-0341"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-0341"
]
},
"related_cves": [
{
"value": "CVE-2023-0341",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 455334,
"published_at": "2023-02-01T00:15:10.343+00:00"
}