resdata insufficiently validates untrusted GRDECL files (equinor resdata)
En bref
- Source
- NVD
- EPSS
- EPSS 0.78 % · centile 56 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Deferred
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.
Faiblesses (CWE)
- CWE-120 — Copie de tampon sans vérification de taille (débordement classique)
- CWE-125 — Lecture hors limites
- CWE-129 — Validation incorrecte d'un indice de tableau
- CWE-476 — Déréférencement de pointeur nul
Références
- https://github.com/equinor/resdata/security/advisories/GHSA-pr85-w493-9w3x
- https://github.com/equinor/resdata/pull/1166
- 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/releases/tag/6.2.9
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-pr85-w493-9w3x — resdata has Classic Buffer Overflow, Improper Validation of Array Index, NULL Pointer Dereference and Out-of-bounds Read
- PYSEC-2026-3694 — resdata has Classic Buffer Overflow, Improper Validation of Array Index, NULL Pointer Dereference and Out-of-bounds Read
Références européennes
- ENISA EUVD · EUVD-2026-77802
- GCVE · GCVE-0-2026-55209
Produits affectés
| Produit | Versions |
|---|---|
| equinor · resdata | affected < 6.2.9 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |