g-research/parquetsharp · Security
ParquetSharp: Possible Stack Overflow When Reading a ParquetFile with Large Decimal Type Width
- GHSA ID
- GHSA-rrjr-v56m-ww88
- CVE ID
- CVE-2026-42241
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Description
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.
CWEs
- CWE-789 · Memory Allocation with Excessive Size Value