UBUNTU-CVE-2025-14935

Source
https://ubuntu.com/security/CVE-2025-14935
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14935.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-14935
Upstream
  • CVE-2025-14935
Published
2025-12-26T00:00:00Z
Modified
2025-12-29T07:59:54.800927Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

NSF Unidata NetCDF-C Dimension Name Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of NSF Unidata NetCDF-C. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of dimension names. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27168.

References

Affected packages

Ubuntu:14.04:LTS

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.1.3-7ubuntu2?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.1.3-6build1
1:4.1.3-7
1:4.1.3-7ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.1.3-7ubuntu2",
            "binary_name": "libcf0"
        },
        {
            "binary_version": "1:4.1.3-7ubuntu2",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.1.3-7ubuntu2",
            "binary_name": "libnetcdfc++4"
        },
        {
            "binary_version": "1:4.1.3-7ubuntu2",
            "binary_name": "libnetcdfc7"
        },
        {
            "binary_version": "1:4.1.3-7ubuntu2",
            "binary_name": "libnetcdff5"
        },
        {
            "binary_version": "1:4.1.3-7ubuntu2",
            "binary_name": "netcdf-bin"
        }
    ]
}

Ubuntu:16.04:LTS

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.4.0-2?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.4.0~rc2-1build1
1:4.4.0~rc3-1
1:4.4.0-1
1:4.4.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.4.0-2",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.4.0-2",
            "binary_name": "libnetcdf11"
        },
        {
            "binary_version": "1:4.4.0-2",
            "binary_name": "netcdf-bin"
        }
    ]
}

Ubuntu:18.04:LTS

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.6.0-2build1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.4.1.1-2ubuntu1
1:4.5.0-1
1:4.5.0-2
1:4.6.0-2
1:4.6.0-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.6.0-2build1",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.6.0-2build1",
            "binary_name": "libnetcdf13"
        },
        {
            "binary_version": "1:4.6.0-2build1",
            "binary_name": "netcdf-bin"
        }
    ]
}

Ubuntu:20.04:LTS

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.7.3-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.6.2-1build1
1:4.7.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.7.3-1",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.7.3-1",
            "binary_name": "libnetcdf15"
        },
        {
            "binary_version": "1:4.7.3-1",
            "binary_name": "netcdf-bin"
        }
    ]
}

netcdf-parallel

Package

Name
netcdf-parallel
Purl
pkg:deb/ubuntu/netcdf-parallel@1:4.6.2-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.6.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.6.2-1",
            "binary_name": "libnetcdf-mpi-13"
        },
        {
            "binary_version": "1:4.6.2-1",
            "binary_name": "libnetcdf-mpi-dev"
        },
        {
            "binary_version": "1:4.6.2-1",
            "binary_name": "libnetcdf-pnetcdf-13"
        },
        {
            "binary_version": "1:4.6.2-1",
            "binary_name": "libnetcdf-pnetcdf-dev"
        }
    ]
}

Ubuntu:22.04:LTS

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.8.1-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.7.4-1build1
1:4.8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.8.1-1",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.8.1-1",
            "binary_name": "libnetcdf19"
        },
        {
            "binary_version": "1:4.8.1-1",
            "binary_name": "netcdf-bin"
        }
    ]
}

netcdf-parallel

Package

Name
netcdf-parallel
Purl
pkg:deb/ubuntu/netcdf-parallel@1:4.8.1-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.7.4-1
1:4.8.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.8.1-2",
            "binary_name": "libnetcdf-mpi-19"
        },
        {
            "binary_version": "1:4.8.1-2",
            "binary_name": "libnetcdf-mpi-dev"
        },
        {
            "binary_version": "1:4.8.1-2",
            "binary_name": "libnetcdf-pnetcdf-19"
        },
        {
            "binary_version": "1:4.8.1-2",
            "binary_name": "libnetcdf-pnetcdf-dev"
        }
    ]
}

Ubuntu:24.04:LTS

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.9.2-5ubuntu4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.9.2-2ubuntu1
1:4.9.2-3ubuntu1
1:4.9.2-5ubuntu3
1:4.9.2-5ubuntu4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.9.2-5ubuntu4",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.9.2-5ubuntu4",
            "binary_name": "libnetcdf19t64"
        },
        {
            "binary_version": "1:4.9.2-5ubuntu4",
            "binary_name": "netcdf-bin"
        }
    ]
}

netcdf-parallel

Package

Name
netcdf-parallel
Purl
pkg:deb/ubuntu/netcdf-parallel@1:4.9.0-1ubuntu4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.9.0-1ubuntu1
1:4.9.0-1ubuntu3
1:4.9.0-1ubuntu4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.9.0-1ubuntu4",
            "binary_name": "libnetcdf-mpi-19"
        },
        {
            "binary_version": "1:4.9.0-1ubuntu4",
            "binary_name": "libnetcdf-mpi-dev"
        },
        {
            "binary_version": "1:4.9.0-1ubuntu4",
            "binary_name": "libnetcdf-pnetcdf-19"
        },
        {
            "binary_version": "1:4.9.0-1ubuntu4",
            "binary_name": "libnetcdf-pnetcdf-dev"
        }
    ]
}

Ubuntu:25.04

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.9.3-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.9.2-6ubuntu1
1:4.9.2-6ubuntu2
1:4.9.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.9.3-1",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.9.3-1",
            "binary_name": "libnetcdf22"
        },
        {
            "binary_version": "1:4.9.3-1",
            "binary_name": "netcdf-bin"
        }
    ]
}

netcdf-parallel

Package

Name
netcdf-parallel
Purl
pkg:deb/ubuntu/netcdf-parallel@1:4.9.0-6build1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.9.0-4
1:4.9.0-6
1:4.9.0-6build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.9.0-6build1",
            "binary_name": "libnetcdf-mpi-19"
        },
        {
            "binary_version": "1:4.9.0-6build1",
            "binary_name": "libnetcdf-mpi-dev"
        },
        {
            "binary_version": "1:4.9.0-6build1",
            "binary_name": "libnetcdf-pnetcdf-19"
        },
        {
            "binary_version": "1:4.9.0-6build1",
            "binary_name": "libnetcdf-pnetcdf-dev"
        }
    ]
}

Ubuntu:25.10

netcdf

Package

Name
netcdf
Purl
pkg:deb/ubuntu/netcdf@1:4.9.3-1build1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.9.3-1
1:4.9.3-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.9.3-1build1",
            "binary_name": "libnetcdf-dev"
        },
        {
            "binary_version": "1:4.9.3-1build1",
            "binary_name": "libnetcdf22"
        },
        {
            "binary_version": "1:4.9.3-1build1",
            "binary_name": "netcdf-bin"
        }
    ]
}

netcdf-parallel

Package

Name
netcdf-parallel
Purl
pkg:deb/ubuntu/netcdf-parallel@1:4.9.3-2build1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.9.0-6build1
1:4.9.3-2
1:4.9.3-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:4.9.3-2build1",
            "binary_name": "libnetcdf-mpi-22"
        },
        {
            "binary_version": "1:4.9.3-2build1",
            "binary_name": "libnetcdf-mpi-dev"
        },
        {
            "binary_version": "1:4.9.3-2build1",
            "binary_name": "libnetcdf-pnetcdf-22"
        },
        {
            "binary_version": "1:4.9.3-2build1",
            "binary_name": "libnetcdf-pnetcdf-dev"
        }
    ]
}