{"schemaVersion":3,"id":"CVE-2019-5051","aliases":["ALPINE-CVE-2019-5051","UBUNTU-CVE-2019-5051","DEBIAN-CVE-2019-5051"],"status":"published","duplicateOf":null,"title":null,"description":"An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.","dates":{"published":"2019-07-03T18:43:48.000Z","modified":"2024-08-04T19:47:55.830Z","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.03969,"percentile":0.90351,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.03300000000000039,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03936},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03969,"percentile":0.90351}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03936,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03969,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03969,"percentile":0.90351}]},"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":[{"id":"REF_D412CE1CE121308F","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0820","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-390","name":"Detection of Error Condition Without Action","description":"The product detects a specific error, but takes no actions to handle the error.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/390.html"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions","description":"The product does not handle or incorrectly handles an exceptional condition.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/755.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":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"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":"< 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sdl-image1.2","name":"sdl-image1.2","label":"sdl-image1.2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sdl-image1.2","purlType":"deb","versions":[{"text":"< 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.12-5+deb9u1ubuntu0.16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.12-8ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | < 1.2.12-5+deb9u1ubuntu0.16.04.1 | < 1.2.12-8ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"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":10,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00026.html","label":"lists.debian.org/debian-lts-announce/2019/07/msg00026.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"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/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://usn.ubuntu.com/4238-1/","label":"usn.ubuntu.com/4238-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0820","label":"talosintelligence.com/vulnerability_reports/TALOS-2019-0820","hostname":"talosintelligence.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-5051","label":"security.alpinelinux.org/vuln/CVE-2019-5051","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-5051","label":"ubuntu.com/security/CVE-2019-5051","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4238-1","label":"ubuntu.com/security/notices/USN-4238-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-5051","label":"www.cve.org/CVERecord?id=CVE-2019-5051","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-5051","label":"security-tracker.debian.org/tracker/CVE-2019-5051","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1861-1","DLA-1865-1","MGASA-2019-0364","OPENSUSE-SU-2019:2070-1","OPENSUSE-SU-2019:2108-1","USN-4238-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2070-1","OPENSUSE-SU-2019:2108-1","USN-4238-1"]},"timeline":[{"kind":"published","date":"2019-07-03T18:43:48.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T19:47:55.830Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:38:26.520Z","stale":false,"partial":false}}