{"id":"CVE-2021-40145","published":"2021-08-26T00:34:17Z","modified":"2024-08-04T02:27:31Z","title":"gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free","vendor":null,"product":null,"tier":"tail","description":{"text":"gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is \"The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02134,"percentile":0.82389,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af","tags":["x_refsource_MISC"]},{"url":"https://github.com/libgd/libgd/pull/713","tags":["x_refsource_MISC"]},{"url":"https://github.com/libgd/libgd/issues/700","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.48}]},"euvd":{"id":"EUVD-2021-27331","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-10167-family-cve-2016-10167","parents":[{"from":"CVE-2016-10167","to":"CVE-2021-40145","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/gd_gd2.c"],"commits":["https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f","https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af"],"basis":"shared function","functions":["BGD_DECLARE"]}]}]}}