{"schemaVersion":3,"id":"CVE-2019-5057","aliases":["ALPINE-CVE-2019-5057","UBUNTU-CVE-2019-5057","DEBIAN-CVE-2019-5057"],"status":"published","duplicateOf":null,"title":null,"description":"An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.","dates":{"published":"2019-07-31T16:48:35.000Z","modified":"2024-08-04T19:47:55.950Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03616,"percentile":0.89368,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03616},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03616,"percentile":0.89368}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03616,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03616,"percentile":0.89368}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"sdl2_image","name":"sdl2_image","label":"sdl2_image","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/sdl2_image","purlType":"apk","versions":[{"text":"< 2.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.5-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"libsdl2-image","name":"libsdl2-image","label":"libsdl2-image","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libsdl2-image","purlType":"deb","versions":[{"text":"< 2.0.5+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.5+dfsg1-1","eol":null,"hubHref":null},{"vendor":"debian","product":"sdl-image1.2","name":"sdl-image1.2","label":"sdl-image1.2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sdl-image1.2","purlType":"deb","versions":[{"text":"< 1.2.12-11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-11","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libsdl2-image","name":"libsdl2-image","label":"libsdl2-image","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libsdl2-image","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.0.5+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.0.5+dfsg1-1","eol":null,"hubHref":null},{"vendor":"libsdl","product":"sdl2_image","name":"sdl2 image","label":"sdl2_image","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.4","eol":null,"hubHref":"/vendor/libsdl/sdl2_image"},{"vendor":"opensuse","product":"backports_sle","name":"backports sle","label":"backports_sle","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null},{"text":"15.0:sp1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0 | 15.0:sp1","eol":null,"hubHref":"/vendor/opensuse/backports_sle"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0 | 15.1","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0841","label":"talosintelligence.com/vulnerability_reports/TALOS-2019-0841","hostname":"talosintelligence.com","tags":["X Refsource MISC","REPORT","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-5057","label":"security.alpinelinux.org/vuln/CVE-2019-5057","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-5057","label":"ubuntu.com/security/CVE-2019-5057","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-5057","label":"www.cve.org/CVERecord?id=CVE-2019-5057","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-5057","label":"security-tracker.debian.org/tracker/CVE-2019-5057","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2019-0364","OPENSUSE-SU-2019:2070-1","OPENSUSE-SU-2019:2071-1","OPENSUSE-SU-2019:2108-1","OPENSUSE-SU-2019:2109-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2070-1","OPENSUSE-SU-2019:2071-1","OPENSUSE-SU-2019:2108-1","OPENSUSE-SU-2019:2109-1"]},"timeline":[{"kind":"published","date":"2019-07-31T16:48:35.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T19:47:55.950Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:10:58.599Z","stale":false,"partial":false}}