{
  "id": "CVE-2026-40489",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40489",
  "published_at": "2026-04-18T01:24:57.278Z",
  "title": "editorconfig-core-c has incomplete fix for CVE-2023-0341",
  "vendor": "editorconfig",
  "product": "editorconfig-core-c",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-30T08:36:11Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 195.3,
    "repo": "saretawa/CVE-2026-40489",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [
    {
      "repo": "saretawa/CVE-2026-40489",
      "url": "https://github.com/saretawa/CVE-2026-40489",
      "created_at": "2026-10-30T08:36:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-07-15T10:10:08Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "editorconfig",
        "product": "editorconfig-core-c",
        "ranges": [
          "\u003c 0.12.11"
        ],
        "fixed_in": [
          "0.12.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade editorconfig-core-c to 0.12.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-97xg-vrcq-254h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/editorconfig/editorconfig-core-c/commit/5159be88ad50641d9843289adda791ba300421ff"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.11"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
