CVE-2023-26485 Vulnerability Analysis & Exploit Details

CVE-2023-26485
Vulnerability Scoring

5.3
/10
Significant Risk

Security assessments indicate that CVE-2023-26485 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-26485 Details

Status: Modified

Last updated: 🕢 21 Nov 2024, 07:51 UTC
Originally published on: 🕚 31 Mar 2023, 23:15 UTC

Time between publication and last update: 600 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVE-2023-26485 Vulnerability Summary

CVE-2023-26485: cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. This CVE covers quadratic complexity issues when parsing text which leads with either large numbers of `_` characters. This issue has been addressed in version 0.29.0.gfm.10. Users are advised to upgrade. Users unable to upgrade should validate that their input comes from trusted sources. ### Impact A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. ### Proof of concept ``` $ ~/cmark-gfm$ python3 -c 'pad = "_" * 100000; print(pad + "." + pad, end="")' | time ./build/src/cmark-gfm --to plaintext ``` Increasing the number 10000 in the above commands causes the running time to increase quadratically. ### Patches This vulnerability have been patched in 0.29.0.gfm.10. ### Note on cmark and cmark-gfm XXX: TBD [cmark-gfm](https://github.com/github/cmark-gfm) is a fork of [cmark](https://github.com/commonmark/cmark) that adds the GitHub Flavored Markdown extensions. The two codebases have diverged over time, but share a common core. These bugs affect both `cmark` and `cmark-gfm`. ### Credit We would like to thank @gravypod for reporting this vulnerability. ### References https://en.wikipedia.org/wiki/Time_complexity ### For more information If you have any questions or comments about this advisory: * Open an issue in [github/cmark-gfm](https://github.com/github/cmark-gfm)

Assessing the Risk of CVE-2023-26485

Access Complexity Graph

The exploitability of CVE-2023-26485 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-26485

With low attack complexity and no required privileges, CVE-2023-26485 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-26485, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-26485, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2023-26485 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2023-26485 poses no threat to data integrity.
  • Availability: Low
    CVE-2023-26485 may slightly degrade system performance without fully affecting service availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.094% (probability of exploit)

EPSS Percentile: 42.1% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 57.9% of others.

CVE-2023-26485 References

External References

CWE Common Weakness Enumeration

CWE-407

Vulnerable Configurations

  • cpe:2.3:a:github:cmark-gfm:-:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:-:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.0:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.0:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.1:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.1:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.2:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.2:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.3:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.3:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.4:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.27.1.gfm.4:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.5:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.5:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.6:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.6:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.7:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.7:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.8:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.8:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.9:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.9:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.10:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.10:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.11:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.0.gfm.11:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.12:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.12:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.13:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.13:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.14:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.14:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.15:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.15:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.16:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.16:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.17:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.17:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.18:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.18:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.19:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.19:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.20:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.20:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.21:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.28.3.gfm.21:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.0:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.0:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.1:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.1:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.2:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.2:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.3:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.3:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.4:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.4:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.5:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.5:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.6:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.6:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.7:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.7:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.8:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.8:*:*:*:*:*:*:*
  • cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.9:*:*:*:*:*:*:*
    cpe:2.3:a:github:cmark-gfm:0.29.0.gfm.9:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-26485: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-26205 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in mainpositionTV in ltable.c. NOTE: this is dispute...
  • CVE-2025-26204 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in equalkey in ltable.c. NOTE: this is disputed beca...
  • CVE-2025-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...