CVE-2018-14553

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-14553
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-14553.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-14553
Downstream
Related
Published
2020-02-11T13:15:11Z
Modified
2025-09-30T02:24:45.137972Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

gdImageClone in gd.c in libgd 2.1.0-rc2 through 2.2.5 has a NULL pointer dereference allowing attackers to crash an application via a specific function call sequence. Only affects PHP when linked with an external libgd (not bundled).

References

Affected packages

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

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

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

Database specific

{
    "vanir_signatures": [
        {
            "deprecated": false,
            "source": "https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f",
            "target": {
                "file": "src/gd.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "101596286683791141158940098408006981970",
                    "57027709968180314751806798402433430148",
                    "219751563406889302728145834431736606265",
                    "269005566747141311857741952118440894727",
                    "7920834115374501717266888308718827631",
                    "114995183731647994804863226759030143018",
                    "137350249030089037543778813862820402485",
                    "314141834951349117205344496345660421666",
                    "60860856782584586368952408655708045654",
                    "22725740368233869882587282633583529125",
                    "240501142895742632411135257526459398233",
                    "181974805664716321179466111885354045082",
                    "73748466374182154486630270515923290986",
                    "126852781156425569605314939158155997220"
                ]
            },
            "id": "CVE-2018-14553-6de27c33",
            "signature_version": "v1",
            "signature_type": "Line"
        },
        {
            "deprecated": false,
            "source": "https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f",
            "target": {
                "function": "gdImageClone",
                "file": "src/gd.c"
            },
            "digest": {
                "function_hash": "129339956977801164261072113179957572465",
                "length": 2608.0
            },
            "id": "CVE-2018-14553-c9b36c9d",
            "signature_version": "v1",
            "signature_type": "Function"
        }
    ]
}