CVE-2026-42241 PUBLISHED

ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width

Assigner: GitHub_M
Reserved: 25.04.2026 Published: 07.05.2026 Updated: 07.05.2026

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.

Metrics

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

Product Status

Vendor G-Research
Product ParquetSharp
Versions
  • Version >= 18.1.0, < 23.0.0.1 is affected

References

Problem Types

  • CWE-789: Memory Allocation with Excessive Size Value CWE