CVE-2018-5711

MEDIUMNVD 5.55.5
EchelonGraph scoreMEDIUM confidence

Score 5.5 from GitHub Security Advisory published 2022-05-13. NVD baseline CVSS 5.5; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Elevated
5.5
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 13%CVSS: 5.5Exploit: NoneExposed: 0

A fix is available — apply it.

gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.

CVSS v3
5.5
EG Score
5.5(medium)
EPSS
95.9%
KEV
Not listed

Published

January 16, 2018

Last Modified

November 21, 2024

Patch Availability(3)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulibgd3 (2.1.1-4ubuntu0.16.04.10) @ xenial2026-05-28ubuntu
redhatrh-php71-php-0:7.1.30-1.el72019-08-19redhat
redhatrh-php70-php-0:7.0.27-1.el72018-05-03redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(3)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Publicly available exploits

(1 reference)

Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoChuzhenghui/Test-7-2-0-PHP-CVE-2018-5711
    First seen Feb 1, 2018
    Open source ↗

Frequently asked(5)

What is CVE-2018-5711?
CVE-2018-5711 is a medium vulnerability published on January 16, 2018. gdgifin.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or…
When was CVE-2018-5711 disclosed?
CVE-2018-5711 was first published in the National Vulnerability Database on January 16, 2018, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2018-5711 actively exploited?
CVE-2018-5711 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 95.9% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2018-5711?
CVE-2018-5711 has a CVSS v3 base score of 5.5 (NVD).
How do I remediate CVE-2018-5711?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2018-5711, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2018-5711

Explore →

Is Your Infrastructure Affected by CVE-2018-5711?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.