UBUNTU-CVE-2021-40145

Advisory lineage Upstream: 1 Downstream: 1
Upstream
Downstream
Published: 26 Aug 2021, 01:15
Last modified:22 Apr 2026, 12:59

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

26 Aug 2021, 01:15
Published
Vulnerability first disclosed
22 Apr 2026, 12:59
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Systems

  • ubuntulibgd2

    < 2.1.0-3ubuntu0.11+esm2 | < 2.1.1-4ubuntu0.16.04.12+esm1 | < 2.2.5-4ubuntu0.5 | < 2.2.5-5.2ubuntu2.1 | < 2.3.0-2ubuntu1

References (6)