Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-55209 EUVD-2026-77802GHSA-pr85-w493-9w3xPYSEC-2026-3694

resdata insufficiently validates untrusted GRDECL files

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by GitHub_M

Description

resdata is software for reading and writing result files from the Eclipse reservoir simulator. Prior to 6.2.9, resdata insufficiently validates numeric fields, grid dimensions, keyword sizes, and array indexes while parsing untrusted GRDECL files in lib/resdata/rd_kw_grdecl.cpp and lib/resdata/rd_grid.cpp. Malformed COORD, ZCORN, CORSNUM, ACTNUM, or MAPAXES data can reach rd_grid_alloc_GRDECL_kw__ with inconsistent lengths, while unbounded floating-point conversion can exceed the intended parser buffer. In a network service that accepts untrusted GRDECL files, these conditions can cause a classic buffer overflow, out-of-bounds reads, invalid array access, NULL pointer dereference, memory corruption, or service termination. This issue is fixed in version 6.2.9.

Affected products

VendorProductAffectedFixed
equinor resdata < 6.2.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI resdata < 6.2.9 6.2.9 GHSA-pr85-w493-9w3x

References