NULL Pointer Dereference Affecting netcdf package, versions <1:4.9.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.19% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-NETCDF-11761532
  • published10 Aug 2025
  • disclosed26 Dec 2019

Introduced: 26 Dec 2019

CVE-2019-20007  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Debian:14 netcdf to version 1:4.9.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream netcdf package and not the netcdf package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

An issue was discovered in ezXML 0.8.2 through 0.8.6. The function ezxml_str2utf8, while parsing a crafted XML file, performs zero-length reallocation in ezxml.c, leading to returning a NULL pointer (in some compilers). After this, the function ezxml_parse_str does not check whether the s variable is not NULL in ezxml.c, leading to a NULL pointer dereference and crash (segmentation fault).

CVSS Base Scores

version 3.1