CVE-2018-14553

Source
https://cve.org/CVERecord?id=CVE-2018-14553
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14553.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-14553
Downstream
Related
Published
2020-02-11T13:15:11.197Z
Modified
2026-03-15T22:19:17.450837Z
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
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "2.1.1"
        },
        {
            "last_affected": "2.2.5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.1.0-NA"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.1.0-rc2"
        }
    ]
}

Affected versions

gd-2.*
gd-2.1.1
gd-2.2.0
gd-2.2.1
gd-2.2.2
gd-2.2.3
gd-2.2.4
gd-2.2.5

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "32"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "14.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "16.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "18.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "19.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.1"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "src/gd.c"
        },
        "id": "CVE-2018-14553-6de27c33",
        "deprecated": false,
        "source": "https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f",
        "digest": {
            "line_hashes": [
                "101596286683791141158940098408006981970",
                "57027709968180314751806798402433430148",
                "219751563406889302728145834431736606265",
                "269005566747141311857741952118440894727",
                "7920834115374501717266888308718827631",
                "114995183731647994804863226759030143018",
                "137350249030089037543778813862820402485",
                "314141834951349117205344496345660421666",
                "60860856782584586368952408655708045654",
                "22725740368233869882587282633583529125",
                "240501142895742632411135257526459398233",
                "181974805664716321179466111885354045082",
                "73748466374182154486630270515923290986",
                "126852781156425569605314939158155997220"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "src/gd.c",
            "function": "gdImageClone"
        },
        "id": "CVE-2018-14553-c9b36c9d",
        "deprecated": false,
        "source": "https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f",
        "digest": {
            "function_hash": "129339956977801164261072113179957572465",
            "length": 2608.0
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14553.json"