CVE-2026-42241: ParquetSharp Possible Stack Overflow When Reading Vulnerability

MODERATE
Advisory Identifier: GHSA-rrjr-v56m-ww88
CVSS 5.3
CWE-789
Published
Advisory Summary

CVE-2026-42241 is a MODERATE (CVSS 5.3) possible stack overflow when reading vulnerability (CWE-789: Memory Allocation with Excessive Size Value) affecting ParquetSharp libraries in the NuGet ecosystem. The issue involves possible stack overflow when reading a parquetfile with large decimal type width. Remediation is available by upgrading affected packages to version 23.0.0.1.

CVE-2026-42241 at a Glance

CVE Identifier CVE-2026-42241
GHSA Identifier GHSA-rrjr-v56m-ww88
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-789: Memory Allocation with Excessive Size Value
Affected Product ParquetSharp
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-42241

To remediate this vulnerability, upgrade all affected ParquetSharp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ParquetSharp fixed: 23.0.0.1
Upgrade ParquetSharp to 23.0.0.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for ParquetSharp

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-42241, inspect your project dependencies for ParquetSharp:

inspect dependencies for ParquetSharp

Analyze the terminal output to locate any version of ParquetSharp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 23.0.0.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-789: Memory Allocation with Excessive Size Value, where the product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. In ParquetSharp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

`DecimalConverter.ReadDecimal` makes a stackalloc using what might be an attacker-supplied value. If an attacker declares a decimal column with some unreasonable width, this could lead to a stack overflow. In a service environment, this would potentially take down a service. This affects applications using ParquetSharp to read untrusted Parquet files in a network service.

CVE-2026-42241 Affected ParquetSharp Versions

1 component(s)
Fixed Versions:
23.0.0.1
Product / Package Ecosystem Affected Versions Fixed Version
ParquetSharp
NuGet
≥ 18.1.0
< 23.0.0.1
23.0.0.1

References

Frequently Asked Questions

What is CVE-2026-42241?
CVE-2026-42241 is a security vulnerability in ParquetSharp involving Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width under CWE-789: Memory Allocation with Excessive Size Value.
Which ParquetSharp versions are affected?
Affected versions include releases prior to 23.0.0.1 across affected packages: ParquetSharp.
What version fixes CVE-2026-42241?
Upgrading to 23.0.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ParquetSharp affected?
Yes, ParquetSharp is affected in releases prior to 23.0.0.1. Upgrade your dependency to 23.0.0.1 or later.
What is the CVSS score of CVE-2026-42241?
CVE-2026-42241 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-42241?
CVE-2026-42241 is classified under CWE-789: Memory Allocation with Excessive Size Value (The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.).
How can I check NuGet dependencies for CVE-2026-42241?
Run the dependency tree command: 'inspect dependencies for ParquetSharp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rrjr-v56m-ww88",
  "modified" : "2026-05-11T13:29:39Z",
  "published" : "2026-04-24T16:39:55Z",
  "aliases" : [ "CVE-2026-42241" ],
  "summary" : "ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width",
  "details" : "`DecimalConverter.ReadDecimal` makes a stackalloc using what might be an attacker-supplied value. If an attacker declares a decimal column with some unreasonable width, this could lead to a stack overflow. In a service environment, this would potentially take down a service.\n\nThis affects applications using ParquetSharp to read untrusted Parquet files in a network service.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "ParquetSharp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "18.1.0"
      }, {
        "fixed" : "23.0.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/G-Research/ParquetSharp/security/advisories/GHSA-rrjr-v56m-ww88"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42241"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/G-Research/ParquetSharp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/G-Research/ParquetSharp/releases/tag/23.0.0.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-789" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-24T16:39:55Z",
    "nvd_published_at" : "2026-05-07T20:16:44Z"
  }
}