QID 355098

Date Published: 2023-05-18

QID 355098: Amazon Linux Security Advisory for gd : ALAS2-2023-2044

** disputed ** 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." (
( CVE-2021-40145)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2044 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355098

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2044 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2044.html