CVE-2026-42241: ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width
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.
Published Apr 24, 2026 · Updated May 11, 2026
Affected packages
ParquetSharp
- Ecosystem
- NuGet
- Affected
- >= 18.1.0, < 23.0.0.1
- Fixed in
- 23.0.0.1
- Check
dotnet list package --include-transitive
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to adamreeve, CurtHagenlocher, marcin-krystianc.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
