CVE-2026-118590

nipy nibabel Header volumeutils.py array_from_file memory allocation

Published Oct 29, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in nipy nibabel up to 5.4.2. The affected element is the function array_from_file of the file nibabel/volumeutils.py of the component Header Handler. The manipulation leads to uncontrolled memory allocation. The attack is possible to be carried out remotely. The pull request to fix this issue awaits acceptance.

Analysis

AI-generated

Technical impact

The vulnerability resides in the array_from_file function within nibabel’s volumeutils module. It allows an attacker to supply input that causes the function to allocate memory without bounds, potentially exhausting system resources. The flaw can be exploited remotely through a crafted file provided to the library, and although it does not directly grant arbitrary code execution, the resulting memory exhaustion can lead to application crashes or degraded service availability.

Affected Systems

The affected product is the nibabel Python library, distributable by the nipy project, in all releases up to and including version 5.4.2. No specific sub-versions are listed, so any distribution that includes the vulnerable array_from_file implementation is potentially impacted.

Risk and Exploitability

With a CVSS score of 6.9 the vulnerability is considered moderate. The EPSS score is < 1%, and the issue is not yet listed in the CISA KEV catalog, suggesting that widespread exploitation is not currently documented. Nevertheless, the remote nature of the attack vector and the uncontrolled memory allocation mean that an attacker who can influence the data fed into nibabel can trigger resource exhaustion, making the risk significant for services that rely heavily on this library.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • If you are using nibabel 5.4.2 or earlier, check whether the upstream project has merged the pending PR 1587 and released a patched version. Apply the update as soon as it becomes available.
  • If an immediate update is not possible, avoid processing untrusted or large files with nibabel’s array_from_file; use strict input validation or size limits before passing data to the function.
  • Monitor the nipy project’s issue tracker and release notes for the resolution of this vulnerability, and consider staying on a fixed branch until a release that contains the fix is available.

Generated by OpenCVE AI on November 6, 2026 at 02:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A security vulnerability has been detected in nipy nibabel up to 5.4.2. The affected element is the function array_from_file of the file nibabel/volumeutils.py of the component Header Handler. The manipulation leads to uncontrolled memory allocation. The attack is possible to be carried out remotely. The pull request to fix this issue awaits acceptance.
Title nipy nibabel Header volumeutils.py array_from_file memory allocation
First Time appeared Nipy
Nipy nibabel
Weaknesses CWE-400
CWE-789
CPEs cpe:2.3:a:nipy:nibabel:*:*:*:*:*:*:*:*
Vendors & Products Nipy
Nipy nibabel
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:ND/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 4, 2026, 1:09 AM
Reserved
Oct 28, 2026, 4:19 PM
Status
Deferred
Published
Oct 29, 2026, 1:17 AM
Modified
Nov 4, 2026, 1:17 AM
Severity
Moderate
Public date
Oct 29, 2026, 12:00 AM