CVE-2026-55209
resdata has Classic Buffer Overflow, Improper Validation of Array Index, NULL Pointer Dereference and Out-of-bounds Read
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | resdata | 6.2.9 |
References
- https://github.com/equinor/resdata
- 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/pull/1166
- https://github.com/equinor/resdata/releases/tag/6.2.9
- https://github.com/equinor/resdata/security/advisories/GHSA-pr85-w493-9w3x