CVE-2026-42241: CWE-789: Memory Allocation with Excessive Size Value in G-Research ParquetSharp
CVE-2026-42241 is a medium severity vulnerability in the ParquetSharp . NET library versions 18.1.0 up to but not including 23.0.0.1. The issue arises from the DecimalConverter. ReadDecimal method performing a stack allocation using a potentially attacker-controlled size value. If an attacker crafts a decimal column with an excessively large width in a Parquet file, this can cause a stack overflow, potentially crashing the service that reads such files.
AI Analysis
Technical Summary
ParquetSharp, a .NET library for Apache Parquet files, contains a vulnerability (CWE-789) in versions from 18.1.0 to before 23.0.0.1 where the DecimalConverter.ReadDecimal method uses stackalloc with a size parameter that can be influenced by an attacker. This can lead to a stack overflow if a maliciously crafted decimal column with an unreasonable width is processed. The vulnerability is relevant when reading untrusted Parquet files in network services, potentially causing service disruption. The issue is fixed in version 23.0.0.1.
Potential Impact
The vulnerability can cause a denial of service by crashing the service that reads maliciously crafted Parquet files due to a stack overflow. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade to ParquetSharp version 23.0.0.1 or later, where this vulnerability is patched. Until upgrading, avoid processing untrusted Parquet files or implement additional input validation to prevent excessively large decimal column widths.
CVE-2026-42241: CWE-789: Memory Allocation with Excessive Size Value in G-Research ParquetSharp
Description
CVE-2026-42241 is a medium severity vulnerability in the ParquetSharp . NET library versions 18.1.0 up to but not including 23.0.0.1. The issue arises from the DecimalConverter. ReadDecimal method performing a stack allocation using a potentially attacker-controlled size value. If an attacker crafts a decimal column with an excessively large width in a Parquet file, this can cause a stack overflow, potentially crashing the service that reads such files.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ParquetSharp, a .NET library for Apache Parquet files, contains a vulnerability (CWE-789) in versions from 18.1.0 to before 23.0.0.1 where the DecimalConverter.ReadDecimal method uses stackalloc with a size parameter that can be influenced by an attacker. This can lead to a stack overflow if a maliciously crafted decimal column with an unreasonable width is processed. The vulnerability is relevant when reading untrusted Parquet files in network services, potentially causing service disruption. The issue is fixed in version 23.0.0.1.
Potential Impact
The vulnerability can cause a denial of service by crashing the service that reads maliciously crafted Parquet files due to a stack overflow. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade to ParquetSharp version 23.0.0.1 or later, where this vulnerability is patched. Until upgrading, avoid processing untrusted Parquet files or implement additional input validation to prevent excessively large decimal column widths.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-25T05:37:12.118Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fce65acbff5d861023a2ea
Added to database: 05/07/2026, 19:22:02 UTC
Last enriched: 05/15/2026, 10:53:13 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 103
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.