p PatchFirst

CVE-2021-40145

CVE-2021-40145

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 2.1% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • libgd2 Debian:12

    Affected ranges
    • ECOSYSTEM: < 2.3.3-1

    Update to 2.3.3-1

  • libgd2 Debian:13

    Affected ranges
    • ECOSYSTEM: < 2.3.3-1

    Update to 2.3.3-1

  • libgd2 Debian:14

    Affected ranges
    • ECOSYSTEM: < 2.3.3-1

    Update to 2.3.3-1

  • libgd2 Ubuntu:Pro:14.04:LTS

    Versions
    • 2.1.0-2
    • 2.1.0-3
    • 2.1.0-3ubuntu0.1
    • 2.1.0-3ubuntu0.2
    • 2.1.0-3ubuntu0.3
    • 2.1.0-3ubuntu0.5
    • 2.1.0-3ubuntu0.6
    • 2.1.0-3ubuntu0.7
    • 2.1.0-3ubuntu0.8
    • 2.1.0-3ubuntu0.10
    • 2.1.0-3ubuntu0.11
    • 2.1.0-3ubuntu0.11+esm1
    Affected ranges
    • ECOSYSTEM: < 2.1.0-3ubuntu0.11+esm2

    Update to 2.1.0-3ubuntu0.11+esm2

  • libgd2 Ubuntu:Pro:16.04:LTS

    Versions
    • 2.1.1-4build1
    • 2.1.1-4build2
    • 2.1.1-4ubuntu0.16.04.1
    • 2.1.1-4ubuntu0.16.04.2
    • 2.1.1-4ubuntu0.16.04.3
    • 2.1.1-4ubuntu0.16.04.5
    • 2.1.1-4ubuntu0.16.04.6
    • 2.1.1-4ubuntu0.16.04.7
    • 2.1.1-4ubuntu0.16.04.8
    • 2.1.1-4ubuntu0.16.04.10
    • 2.1.1-4ubuntu0.16.04.11
    • 2.1.1-4ubuntu0.16.04.12
    Affected ranges
    • ECOSYSTEM: < 2.1.1-4ubuntu0.16.04.12+esm1

    Update to 2.1.1-4ubuntu0.16.04.12+esm1

  • libgd2 Ubuntu:18.04:LTS

    Versions
    • 2.2.5-3
    • 2.2.5-4
    • 2.2.5-4ubuntu0.2
    • 2.2.5-4ubuntu0.3
    • 2.2.5-4ubuntu0.4
    Affected ranges
    • ECOSYSTEM: < 2.2.5-4ubuntu0.5

    Update to 2.2.5-4ubuntu0.5

  • libgd2 Ubuntu:20.04:LTS

    Versions
    • 2.2.5-5.2
    • 2.2.5-5.2ubuntu2
    Affected ranges
    • ECOSYSTEM: < 2.2.5-5.2ubuntu2.1

    Update to 2.2.5-5.2ubuntu2.1

  • libgd2 Ubuntu:22.04:LTS

    Affected ranges
    • ECOSYSTEM: < 2.3.0-2ubuntu1

    Update to 2.3.0-2ubuntu1

Original sources

Check your server →