Alpine: libeditorconfig, multiple editorconfig packages: security update to 0.12.11-r0

high Tenable Cloud Security Plugin ID 482857

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- editorconfig-core-c is an EditorConfig core library for use by plugins supporting EditorConfig parsing.
Versions up to and including 0.12.10 have a stack-based buffer overflow in ec_glob() that allows an
attacker to crash any application using libeditorconfig by providing a specially crafted directory
structure and .editorconfig file. This is an incomplete fix for CVE-2023-0341. The pcre_str buffer was
protected in 0.12.6 but the adjacent l_pattern[8194] stack buffer received no equivalent protection. On
Ubuntu 24.04, FORTIFY_SOURCE converts the overflow to SIGABRT (DoS). Version 0.12.11 contains an updated
fix. (CVE-2026-40489)

Solution

Update the editorconfig library and its related packages to version 0.12.11-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-40489

Plugin Details

Severity: High

ID: 482857

Version: Revision 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2026-40489

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 4/18/2026

Reference Information

CVE: CVE-2026-40489