CVE catalog

CVE-2019-11038

libgd2: CVE-2019-11038

[CVE catalog]

Severity
Medium · CVSS 4CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
4.33% · Oct 25, 2026

When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibgd2sid2.3.3-14fixed
Debianlibgd2forky2.3.3-14fixed
Debianlibgd2trixie2.3.3-14~deb13u1fixed
Debianlibgd2trixie-security2.3.3-14~deb13u1fixed
Debianlibgd2bookworm2.3.3-9fixed
Debianlibgd2bookworm-security2.3.3-9+deb12u1fixed
Alpinegd3.102.2.5-r3fixed
Alpinegd3.112.2.5-r3fixed
Alpinegd3.122.3.0-r0fixed
Alpinegd3.132.3.0-r0fixed
Alpinegd3.142.3.0-r0fixed
Alpinegd3.152.3.0-r0fixed
Alpinegd3.162.3.0-r0fixed
Alpinegd3.172.3.0-r0fixed
Alpinegd3.182.3.0-r0fixed
Alpinegd3.192.3.0-r0fixed
Alpinegd3.202.3.0-r0fixed
Alpinegd3.212.3.0-r0fixed
Alpinegd3.222.3.0-r0fixed
Alpinegd3.232.3.0-r0fixed
Alpinegd3.242.3.0-r0fixed
Alpinegd3.82.2.5-r3fixed
Alpinegd3.92.2.5-r3fixed
Ubuntulibgd2pro2.1.0-2vulnerable
Ubuntulibgd2pro2.1.0-3vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.1vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.2vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.3vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.5vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.6vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.7vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.8vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.10vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.11vulnerable
Ubuntulibgd2pro2.1.0-3ubuntu0.11+esm1fixed
Ubuntulibgd216.042.1.1-4build1vulnerable
Ubuntulibgd216.042.1.1-4build2vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.1vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.2vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.3vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.5vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.6vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.7vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.8vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.10vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.11vulnerable
Ubuntulibgd216.042.1.1-4ubuntu0.16.04.12fixed
Ubuntulibgd218.042.2.5-3vulnerable
Ubuntulibgd218.042.2.5-4vulnerable
Ubuntulibgd218.042.2.5-4ubuntu0.2vulnerable
Ubuntulibgd218.042.2.5-4ubuntu0.3vulnerable
Ubuntulibgd218.042.2.5-4ubuntu0.4fixed
Susephp53linux enterprise point of sale 11 sp35.3.17-112.71.1fixed
Susephp53linux enterprise server 11 sp4-ltss5.3.17-112.71.1fixed
Susephp7linux enterprise module for web and scripting 127.0.7-50.85.1fixed
Susephp7linux enterprise software development kit 12 sp47.0.7-50.85.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibgd2sourcesid2.2.5-5.2lowNot reported[929821]
Debianlibgd2sourceforky2.2.5-5.2lowNot reported[929821]
Debianlibgd2sourcetrixie2.2.5-5.2lowNot reported[929821]
Debianlibgd2sourcebookworm2.2.5-5.2lowNot reported[929821]
Alpinegdapk3.102.2.5-r3Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.112.2.5-r3Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.122.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.132.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.142.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.152.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.162.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.172.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.182.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.192.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.202.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.212.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.222.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.232.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.242.3.0-r0Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.82.2.5-r3Not reportedALPINE-CVE-2019-11038Not reported
Alpinegdapk3.92.2.5-r3Not reportedALPINE-CVE-2019-11038Not reported
Ubuntulibgd2debpro2.1.0-3ubuntu0.11+esm1Not reportedUBUNTU-CVE-2019-11038Not reported
Ubuntulibgd2deb16.042.1.1-4ubuntu0.16.04.12Not reportedUBUNTU-CVE-2019-11038Not reported
Ubuntulibgd2deb18.042.2.5-4ubuntu0.4Not reportedUBUNTU-CVE-2019-11038Not reported
Susephp53rpmlinux enterprise point of sale 11 sp35.3.17-112.71.1Not reportedSUSE-SU-2019:14158-1Not reported
Susephp53rpmlinux enterprise server 11 sp4-ltss5.3.17-112.71.1Not reportedSUSE-SU-2019:14158-1Not reported
Susephp7rpmlinux enterprise module for web and scripting 127.0.7-50.85.1Not reportedSUSE-SU-2019:2243-1Not reported
Susephp7rpmlinux enterprise software development kit 12 sp47.0.7-50.85.1Not reportedSUSE-SU-2019:2243-1Not reported

[Debian bug #929821]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libgd3]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-9 · amd64 · bookworm

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

  • [libgd-dev]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-9 · amd64 · bookworm

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

  • [libgd-tools]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-9 · amd64 · bookworm

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9 · arm64 · bookworm

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

    • 2.3.3-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · bookworm; dsa · libgd2 · debian · 12

[Debian 13 (Trixie)]

  • [libgd3]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-13 · amd64 · trixie

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

  • [libgd-dev]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-13 · amd64 · trixie

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

  • [libgd-tools]Unknown

    Source package: [libgd2]

    Details (4)
    • 2.3.3-13 · amd64 · trixie

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-13 · arm64 · trixie

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

    • 2.3.3-14~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.2.5-5.2

      dsa · libgd2 · debian · 13

Observed:

References