Skip to main content

resdata EUVDEUVD-2026-77802

| CVE-2026-55209 CRITICAL
Classic Buffer Overflow (CWE-120)
2026-08-18 https://github.com/equinor/resdata GHSA-pr85-w493-9w3x PYSEC-2026-3694
9.8
CVSS 3.1 · Vendor: https://github.com/equinor/resdata
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted GRDECL file to service
  2. Delivery
    Parser reads unvalidated keyword size/index
  3. Exploit
    Overflow fixed buffer or OOB access
  4. Execution
    Corrupt memory in native code
  5. Impact
    Crash, leak, or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application parse an attacker-controlled GRDECL file with resdata prior to 6.2.9; the specific trigger is malformed GRDECL keyword data (unbounded keyword size, or out-of-range corsnum/actnum array indices) that the parser fails to validate. The critical/network severity is contingent on a specific deployment: resdata must be reachable in a networking context such as a webservice that ingests untrusted files. Limiting factors: in the far more common local-library use case an attacker must instead trick a user or pipeline into parsing the malicious file (effectively requiring user interaction/local access), no authentication bypass is involved, and the confirmed impacts (out-of-bounds read, NULL-pointer dereference) lean toward crash/info-leak rather than proven code execution.

Impact

The signals conflict and must be read together. The published CVSS 3.0 vector (AV:N/AC:L/PR:N/UI:N, 9.8 critical) treats this as remote unauthenticated code execution, but the advisory itself qualifies that the network rating only holds 'if resdata is used to parse untrusted files in a networking context such as a webservice' - resdata's normal use is a local library parsing trusted engineering files, which is closer to AV:L/UI:R. So the 9.8 is a worst-case, deployment-dependent rating, not an inherent remote-exploitability claim; verify how your environment exposes the parser. No EPSS score, KEV entry, or SSVC decision data was supplied, and no public exploit identified at time of analysis, so there is no evidence of active or automatable exploitation. The confirmed impact set (OOB read, NULL deref, buffer overflow) reliably yields denial of service and possible information disclosure; full remote code execution is plausible for such an overflow but not demonstrated in the provided data. Net: high priority for anyone exposing resdata to untrusted input, but low real-world urgency for the typical local-tooling deployment.

Exploit ScenarioDerived

An organization runs a web service that accepts uploaded GRDECL reservoir files and uses resdata < 6.2.9 to parse them. An attacker uploads a malformed GRDECL file with oversized keyword data or an out-of-range corsnum/actnum index, corrupting memory in the native parser to crash the service or leak/overwrite memory. No public exploit is identified at time of analysis, and against a purely local, trusted-file workflow the attacker would first need to deliver the malicious file to a victim who parses it.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Memory-corruption in Equinor's resdata library before 6.2.9 lets a crafted GRDECL reservoir-model file trigger a classic buffer overflow, out-of-bounds read, improper array indexing, and NULL-pointer dereference during parsing. Any application that feeds untrusted GRDECL input to resdata - the maintainer explicitly rates the 9.8 severity for a networked webservice that parses attacker-supplied files - is exposed to memory corruption that can lead to crashes, information disclosure, or potentially code execution. No public exploit identified at time of analysis, and the flaw is not on CISA KEV.

RemediationAI

Vendor-released patch: 6.2.9 - upgrade the resdata package to 6.2.9 or later (pip install --upgrade 'resdata>=6.2.9'); see the release at https://github.com/equinor/resdata/releases/tag/6.2.9 and advisory GHSA-pr85-w493-9w3x. If you cannot upgrade immediately, do not parse GRDECL or other reservoir files from untrusted or network-supplied sources with resdata, and specifically remove resdata from any webservice or upload-handling path that accepts attacker-controlled files (the exact scenario the maintainer used to justify the critical rating); the trade-off is loss of automated file ingestion for that service. As additional containment, run the parser in a sandboxed, least-privilege, resource-limited process so an overflow or NULL dereference degrades to an isolated crash rather than host compromise, accepting the added operational overhead of process isolation.

Affected VersionsENISA

resdata < 6.2.9

Affected Packages

pypi resdata fix: 6.2.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

resdata (pip package pkg:pip/resdata, formerly libecl) is Equinor's open-source C/Python library for reading and writing reservoir-simulation data files used in oil-and-gas reservoir engineering, including Eclipse-style GRDECL grid definition files. The root cause is CWE-120 (Classic Buffer Overflow): the GRDECL parser did not validate the size or bounds of keyword data before copying it into fixed buffers. The 6.2.9 changelog confirms the concrete defects - missing size specifiers on sscanf with the %g format, unvalidated grdecl keyword sizes, and unchecked corsnum/actnum arrays - which the GHSA advisory groups as buffer overflow, improper array-index validation, NULL-pointer dereference, and out-of-bounds read. Because parsing happens in native C code, malformed length or index fields in the file drive writes and reads outside allocated bounds.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/equinor/resdata) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Reachable over the network only when wrapped in a file-parsing webservice, but a malicious file must still be supplied to the parser, so UI:R; native memory corruption justifies high C/I/A.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/equinor/resdata).

CVSS VectorVendor: https://github.com/equinor/resdata

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Impact

Prior to version 6.2.9 resdata would not correctly validate input in GRDECL files. The severity rating assumes that resdata is used to parse untrused files in a networking context such as a webservice.

Patches

The bug has been patched starting with version 6.2.9.

Executive ViewAI

Why It Matters

Equinor's resdata library contains a critical memory-corruption vulnerability affecting applications that parse GRDECL reservoir-model files from untrusted sources. Organizations operating networked services that process user-supplied GRDECL data face risks of service disruption, sensitive data exposure, and potential unauthorized code execution. This represents a significant threat to energy and research institutions relying on resdata for production data processing.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Implement: (1) strict input validation on GRDECL files, rejecting malformed or suspicious structures; (2) execution of resdata parsing in isolated, low-privilege sandboxed environments; (3) network segmentation restricting GRDECL parsing services to trusted IP ranges only; (4) enhanced application monitoring for unexpected crashes, memory errors, and anomalous behavior; (5) documentation and risk assessment of whether GRDECL parsing functionality is operationally critical to business continuity.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche oil-and-gas reservoir-engineering library, industry-specific footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy