CVE-2026-55209

resdata insufficiently validates untrusted GRDECL files

Published Sep 14, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

ResData, the library used to read and write Eclipse reservoir simulator result files, prior to version 6.2.9 performs insufficient validation of 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 propagate to the allocation routine rd_grid_alloc_GRDECL_kw__ with inconsistent lengths, and an unbounded floating-point conversion can overflow the intended parser buffer. In a network service that accepts untrusted GRDECL files these conditions can trigger classic buffer overflows, out-of-bounds reads, invalid array accesses, NULL pointer dereferences, memory corruption, or service termination, allowing remote code execution or causing denial of service.

Affected Systems

Equinor’s ResData library, used for reading and writing result files from the Eclipse reservoir simulator, is vulnerable in all releases older than 6.2.9. Hosts that provide a service capable of ingesting GRDECL files from untrusted sources are impacted.

Risk and Exploitability

The CVSS score of 9.8 indicates the vulnerability is of high severity. The EPSS score of < 1% suggests a low probability of exploitation in the current environment, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be remote, as a network service that processes GRDECL files can receive malicious data from external actors, and the failure conditions involve classic memory corruption bugs that can lead to code execution or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ResData to version 6.2.9 or later, which implements proper bounds checks and input validation.
  • Restrict or disable any network services that accept untrusted GRDECL files, or move them behind stricter firewall rules to limit exposure.
  • Apply additional input validation in the application code: ensure numeric values are within expected ranges, check array lengths before allocation, validate index bounds, and verify pointers are non‑null before use.

Generated by OpenCVE AI on September 20, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pr85-w493-9w3x resdata has Classic Buffer Overflow, Improper Validation of Array Index, NULL Pointer Dereference and Out-of-bounds Read
History
Type Values Removed Values Added
First Time appeared Equinor
Equinor resdata
Vendors & Products Equinor
Equinor resdata
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title resdata insufficiently validates untrusted GRDECL files
Weaknesses CWE-120
CWE-125
CWE-129
CWE-476
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-125

    Out-of-bounds Read

  • CWE-129

    Improper Validation of Array Index

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 8:11 PM
Reserved
Jun 16, 2026, 4:16 PM
Status
Deferred
Published
Sep 14, 2026, 8:16 PM
Modified
Sep 30, 2026, 5:51 PM