Paper/Archive/CVE-2026-55209

CVE-2026-55209

equinor resdata — resdata insufficiently validates untrusted GRDECL files

Description · from the CVE record

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

ProductAffectedFixed inSource
resdata< 6.2.9–CNA

Scores by source

GitHub_M (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/equinor/resdata/security/advisories/GHSA-pr85-w493-9w3xrefgithub.com/equinor/resdata/pull/1166refgithub.com/equinor/resdata/commit/9f8fd6db472e0696080b768389914d60a453904frefgithub.com/equinor/resdata/commit/d3f45828e9413506b8e8160a9304f4b7b06dcefcrefgithub.com/equinor/resdata/commit/ee8cc12b026d945df3077bc98e211ee45f80a433refgithub.com/equinor/resdata/releases/tag/6.2.9