resdata insufficiently validates untrusted GRDECL files
cve-program · CVE-2026-55209
Publishedresdata 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-55209 · CVE overview and exploitation status
cve-program · CVE-2026-55209
- https://github.com/equinor/resdata/security/advisories/GHSA-pr85-w493-9w3x
- https://github.com/equinor/resdata/pull/1166
- https://github.com/equinor/resdata/commit/9f8fd6db472e0696080b768389914d60a453904f
- https://github.com/equinor/resdata/commit/d3f45828e9413506b8e8160a9304f4b7b06dcefc
- https://github.com/equinor/resdata/commit/ee8cc12b026d945df3077bc98e211ee45f80a433
- https://github.com/equinor/resdata/releases/tag/6.2.9
Related changes
Linked by CVE identifierNo related changes are available here.