CVE-2019-25050

Source
https://cve.org/CVERecord?id=CVE-2019-25050
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-25050.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-25050
Aliases
Downstream
Published
2021-07-20T07:15:07Z
Modified
2026-08-03T14:24:05Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from nc4_get_att_tc and nc_get_att_text) and in uffd_cleanup (called from netCDFDataset::~netCDFDataset and netCDFDataset::~netCDFDataset).

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "2.4.2"
                },
                {
                    "last_affected":  "3.0.4"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "osgeo:gdal"
        },
        {
            "extracted_events":  [
                {
                    "introduced":  "2.4.2"
                },
                {
                    "fixed":  "3.0.4"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/osgeo/gdal

Affected ranges

Type
GIT
Repo
https://github.com/osgeo/gdal
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source":  "REFERENCES"
}

Affected versions

v2.*
v2.3.0beta1
v2.4.0
v3.*
v3.0.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-25050.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "182114019274330504405524429607708237822",
                "260345988463686926761865667168934854869",
                "281242935202487707059003033430704216315",
                "223919040550938216905341524769853078179"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-25050-112c1677",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/osgeo/gdal/commit/27b9bf644bcf1208f7d6594bdd104cc8a8bb0646",
        "target":  {
            "file":  "gdal/ogr/ogrsf_frmts/kml/ogrkmllayer.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "302002118971741846913773595126247519048",
            "length":  387
        },
        "id":  "CVE-2019-25050-883d9465",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/osgeo/gdal/commit/767e3a56144f676ca738ef8f700e0e56035bd05a",
        "target":  {
            "file":  "gdal/frmts/netcdf/netcdfsg.cpp",
            "function":  "attrf"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "35271287751527571686749642692254647707",
            "length":  1654
        },
        "id":  "CVE-2019-25050-bb04300f",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/osgeo/gdal/commit/27b9bf644bcf1208f7d6594bdd104cc8a8bb0646",
        "target":  {
            "file":  "gdal/ogr/ogrsf_frmts/kml/ogrkmllayer.cpp",
            "function":  "OGRKMLLayer::OGRKMLLayer"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "330050799991627139372582363810828850986",
                "43288583624019282758956658056096911854",
                "133106679127093124975071662172322506616",
                "61584344147969714699023128396183080815",
                "29247339718509823662230292100691496337",
                "70259280790122801849175533546147055310",
                "197632885844845454462511212044286891895",
                "219460695381383478241253996762517383813",
                "274345183051428644925453191461116232451",
                "865604286249530944125010970242137511",
                "161961644178719221901322991508777035874",
                "156670885929672163293618591419657972737",
                "213942214105901386467656383532137497463",
                "246811575906086634005411652434159240053",
                "63473041997612762628719516071506648911",
                "209170788878360836903109474419753571184",
                "137639027989884651640185728037995258365"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-25050-df3c9cf9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/osgeo/gdal/commit/767e3a56144f676ca738ef8f700e0e56035bd05a",
        "target":  {
            "file":  "gdal/frmts/netcdf/netcdfsg.cpp"
        }
    }
]
vanir_signatures_modified
"2026-08-03T14:24:05Z"