Skip to content

CVE-2026-42241 ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width

MediumCVSS 5.3 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

ParquetSharp is a .NET library for reading and writing Apache Parquet files. From version 18.1.0 to before version 23.0.0.1, 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. This issue has been patched in version 23.0.0.1.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
nuget ParquetSharp(NuGet) = 18.1.0; = 19.0.1; = 19.0.1-beta1; = 20.0.0 +7 more 23.0.0.1 Fixed
G-Research ParquetSharp = >= 18.1.0, < 23.0.0.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
G-Research ParquetSharp = >= 18.1.0, < 23.0.0.1 No fix listed
nuget ParquetSharp(NuGet) >= 18.1.0, < 23.0.0.1 23.0.0.1
nuget ParquetSharp(NuGet) = 18.1.0 No fix listed
nuget ParquetSharp(NuGet) = 19.0.1 No fix listed
nuget ParquetSharp(NuGet) = 19.0.1-beta1 No fix listed
nuget ParquetSharp(NuGet) = 20.0.0 No fix listed
nuget ParquetSharp(NuGet) = 20.0.0-beta1 No fix listed
nuget ParquetSharp(NuGet) = 20.0.0-beta2 No fix listed
nuget ParquetSharp(NuGet) = 21.0.0 No fix listed
nuget ParquetSharp(NuGet) = 21.0.0-beta1 No fix listed
nuget ParquetSharp(NuGet) = 23.0.0 No fix listed
nuget ParquetSharp(NuGet) = 23.0.0-beta1 No fix listed

References