CVE-2017-5509
Status: ModifiedHigh (7.8)—
coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Base score: 7.8
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 1.67%
- Percentile among all scored CVEs: 76
- Score date: 10/9/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-787
References
- http://www.openwall.com/lists/oss-security/2017/01/16/6
- http://www.openwall.com/lists/oss-security/2017/01/17/5
- http://www.securityfocus.com/bid/95751
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377
- https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af
- https://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab
- https://github.com/ImageMagick/ImageMagick/issues/350
- https://security.gentoo.org/glsa/201702-09
- http://www.openwall.com/lists/oss-security/2017/01/16/6
- http://www.openwall.com/lists/oss-security/2017/01/17/5
- http://www.securityfocus.com/bid/95751
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377
- https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af
- https://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab
- https://github.com/ImageMagick/ImageMagick/issues/350
- https://security.gentoo.org/glsa/201702-09
Raw JSON (NVD)
Show
{
"id": "CVE-2017-5509",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.8,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "security@debian.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2017-03-24T15:59:01.123",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2017/01/16/6",
"tags": [
"Mailing List",
"Patch",
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2017/01/17/5",
"tags": [
"Mailing List",
"Patch",
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "http://www.securityfocus.com/bid/95751",
"tags": [
"Broken Link",
"Third Party Advisory",
"VDB Entry"
],
"source": "security@debian.org"
},
{
"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "https://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "https://github.com/ImageMagick/ImageMagick/issues/350",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "https://security.gentoo.org/glsa/201702-09",
"tags": [
"Third Party Advisory"
],
"source": "security@debian.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2017/01/16/6",
"tags": [
"Mailing List",
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2017/01/17/5",
"tags": [
"Mailing List",
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/95751",
"tags": [
"Broken Link",
"Third Party Advisory",
"VDB Entry"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851377",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/ImageMagick/ImageMagick/commit/37a1710e2dab6ed91128ea648d654a22fbe2a6af",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/ImageMagick/ImageMagick/commit/d4ec73f866a7c42a2e7f301fcd696e5cb7a7d3ab",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/ImageMagick/ImageMagick/issues/350",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://security.gentoo.org/glsa/201702-09",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "coders/psd.c in ImageMagick allows remote attackers to have unspecified impact via a crafted PSD file, which triggers an out-of-bounds write."
},
{
"lang": "es",
"value": "Coders/psd.c en ImageMagick permite a los atacantes remotos tener un impacto no especificado a través de un archivo PSD manipulado, lo que desencadena una escritura fuera de los límites."
}
],
"lastModified": "2026-06-17T01:20:38.700",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5656B565-C8B4-43A8-94D4-EA0144FEACE6",
"versionEndExcluding": "6.9.7-4"
},
{
"criteria": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "800DAD3F-CB8C-40F8-8DE6-A1354E72F75D",
"versionEndExcluding": "7.0.4-4",
"versionStartIncluding": "7.0.0-0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security@debian.org"
}