CVE-2026-42241
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rrjr-v56m-ww88

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.

Affected

Product or packageVersionsReported by
G-Research ParquetSharp>= 18.1.0, < 23.0.0.1CVE List
ParquetSharp (NuGet)from 18.1.0 before 23.0.0.1GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-789

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

ParquetSharp es una biblioteca .NET para leer y escribir archivos Apache Parquet. Desde la versión 18.1.0 hasta antes de la versión 23.0.0.1, DecimalConverter.ReadDecimal realiza un stackalloc utilizando lo que podría ser un valor proporcionado por un atacante. Si un atacante declara una columna decimal con un ancho irrazonable, esto podría llevar a un desbordamiento de pila. En un entorno de servicio, esto podría potencialmente derribar un servicio. Esto afecta a las aplicaciones que utilizan ParquetSharp para leer archivos Parquet no confiables en un servicio de red. Este problema ha sido parcheado en la versión 23.0.0.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42241 changed 2026-05-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-rrjr-v56m-ww88 changed 2026-05-11CC-BY-4.0
NVDCVE-2026-42241 changed 2026-10-26Public domain