All reports
Medium

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

Affected versions

Affected versions
>= 18.1.0, < 23.0.0.1
Fixed version
23.0.0.1

Exploitation

CVE-2026-42241

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • adamreeve
  • CurtHagenlocher
  • marcin-krystianc