Skip to main content

surfio EUVDEUVD-2026-78671

| CVE-2026-55211 CRITICAL
Out-of-bounds Read (CWE-125)
2026-08-18 https://github.com/equinor/surfio GHSA-rcr2-hggw-43wm PYSEC-2026-3701
9.8
CVSS 3.0 · Vendor: https://github.com/equinor/surfio
View

Attack ChainAIDerived

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

  1. Access
    Craft .irap file with oversized ncol/nrow header
  2. Delivery
    Submit file to surfio-backed service
  3. Exploit
    Parser trusts size field without bounds check
  4. Execution
    Out-of-bounds read / huge allocation
  5. Impact
    Memory disclosure or worker crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Requires that the target application uses surfio (< 0.0.19) to parse an Irap surface file whose contents the attacker controls or can influence - specifically an .irap file (ASCII or binary) whose header ncol/nrow size fields declare more values than the file body actually holds. The vendor's Critical/network rating explicitly assumes surfio is deployed to parse untrusted files in a networking context such as a web service; that deployment model is the real precondition. Limiting factors: exploitation is gated on the consuming application accepting and auto-parsing externally supplied Irap files, so a tool that only opens locally trusted geoscience files is effectively local-vector and far lower risk; the realized impact is memory over-read (information disclosure) and over-allocation/crash (DoS), not code execution.

Impact

The published CVSS 3.0 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H, 9.8 Critical) reflects a worst-case assumption stated by the vendor itself: that surfio parses untrusted files in a networked web service. That assumption drives the score - the underlying defect is an out-of-bounds READ (CWE-125, tagged Information Disclosure), so the I:H (integrity) rating is hard to justify and A:H is realized mainly as crash/over-allocation denial of service rather than full compromise. There is no EPSS score, no CISA KEV listing, and no public proof-of-concept in the provided data, so exploitation signals are weak. Net assessment: a genuine parser-hardening fix worth applying wherever surfio ingests third-party files, but the 9.8 headline overstates real-world risk for the typical deployment (a local geoscience tooling library, not an internet-facing service). Treat the network vector and integrity impact as conditional on how the consuming application exposes surfio - verify before prioritizing this as if it were remote RCE.

Exploit ScenarioDerived

An application - for example a web service that lets users upload subsurface surface files - passes an uploaded .irap file to surfio for parsing. The attacker crafts a file whose header declares far more columns and rows than the file actually contains; surfio reads past the buffer and/or attempts to allocate tens of megabytes, leaking adjacent process memory or crashing the worker. No public proof-of-concept is available, but the patch's regression tests demonstrate the trigger (a one-value surface with a header declaring ~2**24 values ~64MB).

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

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

Alert me

AnalysisAIv1 – Aug 18, 2026

Out-of-bounds read with unbounded memory allocation in the surfio Python/C++ library affects all versions prior to 0.0.19, where the Irap ASCII and binary surface-file parsers trust attacker-controllable ncol/nrow size fields in the header without validating them against the actual input length. A remote attacker who can supply a crafted .irap file to an application that parses it - the vendor explicitly rates severity assuming surfio runs in a networked service - can trigger a memory over-read and force allocation of tens of megabytes from a single tiny value, causing information disclosure or denial of service. No public exploit identified at time of analysis; the issue is fixed in 0.0.19.

RemediationAI

Vendor-released patch: 0.0.19 - upgrade surfio to 0.0.19 or later (pip install --upgrade 'surfio>=0.0.19'); the fix is delivered via https://github.com/equinor/surfio/pull/86 and commit 1619750bce28e39c4f378d2fb6d28b72380a12aa, released at https://github.com/equinor/surfio/releases/tag/0.0.19. If you cannot upgrade immediately, do not feed untrusted or attacker-reachable .irap files to surfio: restrict parsing to files from trusted sources, and where surfio sits behind a service that accepts uploads, validate/normalize header ncol and nrow against actual file size before handing bytes to surfio (side effect: legitimate but unusually large surfaces may be rejected by an overly tight limit). Running the parser in a resource-capped, sandboxed worker (memory/CPU cgroup limits) contains the over-allocation and out-of-bounds read to a disposable process at the cost of added latency and operational complexity. See advisory GHSA-rcr2-hggw-43wm for details.

Affected VersionsENISA

surfio < 0.0.19

Affected Packages

pypi surfio fix: 0.0.19

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

surfio (PyPI package 'surfio', maintained by Equinor) is a Python-bound C++ library for reading and writing Irap/RMS surface grid files used in subsurface/geoscience workflows. The vulnerable routines are get_values() in src/lib/irap_import_ascii.cpp and get_values_binary() in src/lib/irap_import_binary.cpp, which computed the number of grid values (nvalues = ncol * nrow) from header-declared dimensions and read/allocated based on that figure without confirming the buffer between start and end actually contains that many 4-byte floats. This is CWE-125 (Out-of-bounds Read): the declared size field drives a read past the real end of the input. The patch changes ncol/nrow from int to size_t and adds a bound check - 'if (static_cast<size_t>(end - start) / 4 < nvalues) throw std::length_error' - rejecting headers whose declared dimensions exceed the input length, which also closes the excessive-allocation vector (regression-tested with a memray 10 MB limit against a header declaring ~2**24 values from a one-value surface).

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/surfio) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

Adopts the vendor's networked-parser assumption (AV:N/PR:N/UI:N/AC:L); an out-of-bounds READ yields memory disclosure (C:H) and DoS via over-read/over-allocation (A:H) but no integrity impact (I:N).

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

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

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

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 0.0.19, surfio would not correctly validate size fields in irap files, leading to a buffer overflow . The severity rating assumes that surfio is used to parse untrused files in a networking context such as a web service.

Patches

The bug has been patched in version 0.0.19

Executive ViewAI

Why It Matters

The surfio Python/C++ library (all versions before 0.0.19) contains a critical remote vulnerability enabling memory exhaustion and information disclosure via crafted .irap surface files. Organizations running surfio in networked services that parse untrusted file input face immediate risk of data leakage and service disruption. Urgent patching to version 0.0.19 is required across all production systems.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Rare
niche Equinor geoscience library for Irap subsurface surface files
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.5%
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

50
Low Medium High Critical
KEV: 0
EPSS: +1
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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