CVE-2019-6978

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-6978
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-6978.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-6978
Related
Published
2019-01-28T08:29:00Z
Modified
2024-10-12T05:22:38.011012Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gdgifout.c, gdjpeg.c, and gdwbmp.c. NOTE: PHP is unaffected.

References

Affected packages

Alpine:v3.10 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.11 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.12 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.13 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.14 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.15 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.16 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.17 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.18 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.19 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.20 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.6 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.7 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.8 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Alpine:v3.9 / gd

Package

Name
gd
Purl
pkg:apk/alpine/gd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-r2

Affected versions

2.*

2.0.35-r0
2.0.35-r1
2.0.35-r2
2.0.36_rc1-r0
2.0.36_rc1-r1
2.0.36_rc1-r2
2.0.36_rc1-r3
2.0.36_rc1-r4
2.0.36_rc1-r5
2.0.36_rc1-r6
2.0.36_rc1-r7
2.0.36_rc1-r8
2.0.36_rc1-r9
2.1.0-r0
2.1.0-r1
2.1.1-r0
2.2.1-r0
2.2.3-r0
2.2.3-r1
2.2.4-r0
2.2.4-r1
2.2.4-r2
2.2.5-r0
2.2.5-r1

Debian:11 / libgd2

Package

Name
libgd2
Purl
pkg:deb/debian/libgd2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-5.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libgd2

Package

Name
libgd2
Purl
pkg:deb/debian/libgd2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-5.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libgd2

Package

Name
libgd2
Purl
pkg:deb/debian/libgd2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.5-5.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/libgd/libgd

Affected ranges

Type
GIT
Repo
https://github.com/libgd/libgd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

GD_1_3_0
GD_1_4_0
GD_1_5_0
GD_1_6_0
GD_1_6_1
GD_1_6_2
GD_1_6_3
GD_1_7_0
GD_1_7_1
GD_1_7_2
GD_1_7_3
GD_1_8_0
GD_1_8_1
GD_1_8_3
GD_1_8_4
GD_2_0_0
GD_2_0_1
GD_2_0_10
GD_2_0_11
GD_2_0_12
GD_2_0_13
GD_2_0_14
GD_2_0_15
GD_2_0_17
GD_2_0_18
GD_2_0_19
GD_2_0_2
GD_2_0_20
GD_2_0_21
GD_2_0_22
GD_2_0_23
GD_2_0_24
GD_2_0_25
GD_2_0_26
GD_2_0_27
GD_2_0_28
GD_2_0_29
GD_2_0_3
GD_2_0_30
GD_2_0_31
GD_2_0_32
GD_2_0_33
GD_2_0_34RC1
GD_2_0_4
GD_2_0_5
GD_2_0_6
GD_2_0_7
GD_2_0_8
GD_2_0_9
NEWS
NEWS-cvs2svn
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_NATIVE_TLS_MERGE
POST_PHP7_EREG_MYSQL_REMOVALS
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_NATIVE_TLS_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
PRE_PHPNG_MERGE

gd-2.*

gd-2.1.0
gd-2.1.0-alpha1
gd-2.1.0-rc1
gd-2.1.0-rc2
gd-2.1.1
gd-2.2.0
gd-2.2.1

php-5.*

php-5.3.23RC1
php-5.3.29
php-5.3.29RC1
php-5.4.30RC1
php-5.4.32RC1
php-5.4.4RC2
php-5.5.24RC1
php-5.6.18RC1
php-5.6.19RC1
php-5.6.22RC1
php-5.6.23RC1
php-5.6.24RC1

php-7.*

php-7.0.11RC1
php-7.0.12RC1
php-7.0.13RC1
php-7.0.3RC1
php-7.0.4RC1
php-7.0.5RC1
php-7.0.7RC1
php-7.0.8RC1
php-7.0.9RC1
php-7.1.0alpha2