
CVE catalog
CVE-2019-5051
sdl-image1.2 affected and fixed versions
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.
- Severity
- High · CVSS 8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.97% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiantrixie | libsdl2-image | 2.8.8+dfsg-1+deb13u1 | Fixed | [CVE-2019-5051] |
| Debiantrixie | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiantrixie | sdl-image1.2 | 1.2.12-14 | Fixed | [CVE-2019-5051] |
| Debiansid | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiansid | libsdl2-image | 2.8.12+dfsg-2 | Fixed | [CVE-2019-5051] |
| Debiansid | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiansid | sdl-image1.2 | 1.2.12-14 | Fixed | [CVE-2019-5051] |
| Debianforky | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debianforky | libsdl2-image | 2.8.12+dfsg-2 | Fixed | [CVE-2019-5051] |
| Debianforky | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debianforky | sdl-image1.2 | 1.2.12-14 | Fixed | [CVE-2019-5051] |
Showing 12 fix observations. All 45 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Alpine3.10 | sdl2_image | 2.0.5-r0 | UnknownSource applicability is not established | [ALPINE-CVE-2019-5051] |
| Alpine3.7 | sdl2_image | 2.0.5-r0 | UnknownSource applicability is not established | [ALPINE-CVE-2019-5051] |
| Alpine3.8 | sdl2_image | 2.0.5-r0 | UnknownSource applicability is not established | [ALPINE-CVE-2019-5051] |
| Alpine3.9 | sdl2_image | 2.0.5-r0 | UnknownSource applicability is not established | [ALPINE-CVE-2019-5051] |
| Debianbookworm | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debianbookworm | libsdl2-image | 2.6.3+dfsg-1 | Fixed | [CVE-2019-5051] |
| Debianbookworm | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debianbookworm | sdl-image1.2 | 1.2.12-13 | Fixed | [CVE-2019-5051] |
| Debianforky | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debianforky | libsdl2-image | 2.8.12+dfsg-2 | Fixed | [CVE-2019-5051] |
| Debianforky | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debianforky | sdl-image1.2 | 1.2.12-14 | Fixed | [CVE-2019-5051] |
| Debiansid | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiansid | libsdl2-image | 2.8.12+dfsg-2 | Fixed | [CVE-2019-5051] |
| Debiansid | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiansid | sdl-image1.2 | 1.2.12-14 | Fixed | [CVE-2019-5051] |
| Debiantrixie | libsdl2-image | 2.0.5+dfsg1-1 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiantrixie | libsdl2-image | 2.8.8+dfsg-1+deb13u1 | Fixed | [CVE-2019-5051] |
| Debiantrixie | sdl-image1.2 | 1.2.12-11 | FixedDistribution-reported fixed boundary | [CVE-2019-5051] |
| Debiantrixie | sdl-image1.2 | 1.2.12-14 | Fixed | [CVE-2019-5051] |
| Ubuntu16.04 | libsdl2-image | 2.0.0+dfsg-3build2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu16.04 | libsdl2-image | 2.0.1+dfsg-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu16.04 | libsdl2-image | 2.0.1+dfsg-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu16.04 | libsdl2-image | 2.0.1+dfsg-2+deb9u1build0.16.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu16.04 | sdl-image1.2 | 1.2.12-5+deb9u1build0.16.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu16.04 | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu16.04 | sdl-image1.2 | 1.2.12-5build2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | libsdl2-image | 2.0.1+dfsg-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | libsdl2-image | 2.0.1+dfsg-4 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | libsdl2-image | 2.0.2+dfsg1-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | libsdl2-image | 2.0.3+dfsg1-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | sdl-image1.2 | 1.2.12-6 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | sdl-image1.2 | 1.2.12-7 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | sdl-image1.2 | 1.2.12-8 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntu18.04 | sdl-image1.2 | 1.2.12-8ubuntu0.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | libsdl2-image | 2.0.0+dfsg-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | libsdl2-image | 2.0.0+dfsg-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | libsdl2-image | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | libsdl2-image | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | libsdl2-image | 2.0.0+dfsg-3build2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | sdl-image1.2 | 1.2.12-4ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | sdl-image1.2 | 1.2.12-5 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | sdl-image1.2 | 1.2.12-5+deb9u1build0.14.04.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
| Ubuntupro | sdl-image1.2 | 1.2.12-5build2 | UnknownSource applicability is not established | [UBUNTU-CVE-2019-5051] |
Original provider fields
{
"package_releases": [
{
"name": "sdl-image1.2",
"status": "fixed",
"release": "sid",
"version": "1.2.12-14"
},
{
"name": "sdl-image1.2",
"status": "fixed",
"release": "forky",
"version": "1.2.12-14"
},
{
"name": "sdl-image1.2",
"status": "fixed",
"release": "trixie",
"version": "1.2.12-14"
},
{
"name": "sdl-image1.2",
"status": "fixed",
"release": "bookworm",
"version": "1.2.12-13"
},
{
"name": "libsdl2-image",
"status": "fixed",
"release": "sid",
"version": "2.8.12+dfsg-2"
},
{
"name": "libsdl2-image",
"status": "fixed",
"release": "forky",
"version": "2.8.12+dfsg-2"
},
{
"name": "libsdl2-image",
"status": "fixed",
"release": "trixie",
"version": "2.8.8+dfsg-1+deb13u1"
},
{
"name": "libsdl2-image",
"status": "fixed",
"release": "bookworm",
"version": "2.6.3+dfsg-1"
}
],
"fixed_versions": [
{
"bug": 932755,
"name": "sdl-image1.2",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.2.12-11"
},
{
"bug": 932755,
"name": "sdl-image1.2",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.2.12-11"
},
{
"bug": 932755,
"name": "sdl-image1.2",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.2.12-11"
},
{
"bug": 932755,
"name": "sdl-image1.2",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1.2.12-11"
},
{
"bug": 932754,
"name": "libsdl2-image",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "2.0.5+dfsg1-1"
},
{
"bug": 932754,
"name": "libsdl2-image",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "2.0.5+dfsg1-1"
},
{
"bug": 932754,
"name": "libsdl2-image",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "2.0.5+dfsg1-1"
},
{
"bug": 932754,
"name": "libsdl2-image",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "2.0.5+dfsg1-1"
}
],
"distribution_packages": [
{
"name": "sdl2_image",
"distro": "alpine",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.5-r0"
}
]
}
],
"release": "3.10",
"versions": [],
"ecosystem": "apk",
"provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2019-5051",
"fixed_version": "2.0.5-r0",
"provider_source": "pypi",
"provider_record_id": "ALPINE-CVE-2019-5051",
"provider_updated_at": "2026-09-21T06:17:52.521830283Z",
"applicability_unknown": true
},
{
"name": "sdl2_image",
"distro": "alpine",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.5-r0"
}
]
}
],
"release": "3.7",
"versions": [],
"ecosystem": "apk",
"provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2019-5051",
"fixed_version": "2.0.5-r0",
"provider_source": "pypi",
"provider_record_id": "ALPINE-CVE-2019-5051",
"provider_updated_at": "2026-09-21T06:17:52.521830283Z",
"applicability_unknown": true
},
{
"name": "sdl2_image",
"distro": "alpine",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.5-r0"
}
]
}
],
"release": "3.8",
"versions": [],
"ecosystem": "apk",
"provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2019-5051",
"fixed_version": "2.0.5-r0",
"provider_source": "pypi",
"provider_record_id": "ALPINE-CVE-2019-5051",
"provider_updated_at": "2026-09-21T06:17:52.521830283Z",
"applicability_unknown": true
},
{
"name": "sdl2_image",
"distro": "alpine",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.5-r0"
}
]
}
],
"release": "3.9",
"versions": [],
"ecosystem": "apk",
"provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2019-5051",
"fixed_version": "2.0.5-r0",
"provider_source": "pypi",
"provider_record_id": "ALPINE-CVE-2019-5051",
"provider_updated_at": "2026-09-21T06:17:52.521830283Z",
"applicability_unknown": true
},
{
"name": "libsdl2-image",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"2.0.0+dfsg-2",
"2.0.0+dfsg-3",
"2.0.0+dfsg-3build2",
"2.0.0+dfsg-3+deb8u1build0.14.04.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051",
"fixed_version": "2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-5051",
"provider_updated_at": "2026-04-22T11:57:55.848401Z",
"applicability_unknown": true
},
{
"name": "sdl-image1.2",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"
}
]
}
],
"release": "pro",
"versions": [
"1.2.12-4ubuntu1",
"1.2.12-5",
"1.2.12-5build2",
"1.2.12-5+deb9u1build0.14.04.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051",
"fixed_version": "1.2.12-5+deb9u1ubuntu0.14.04.1~esm1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-5051",
"provider_updated_at": "2026-04-22T11:57:55.848401Z",
"applicability_unknown": true
},
{
"name": "sdl-image1.2",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.12-5+deb9u1ubuntu0.16.04.1"
}
]
}
],
"release": "16.04",
"versions": [
"1.2.12-5build2",
"1.2.12-5+deb9u1build0.16.04.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051",
"fixed_version": "1.2.12-5+deb9u1ubuntu0.16.04.1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-5051",
"provider_updated_at": "2026-04-22T11:57:55.848401Z",
"applicability_unknown": true
},
{
"name": "libsdl2-image",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "16.04",
"versions": [
"2.0.0+dfsg-3build2",
"2.0.1+dfsg-1",
"2.0.1+dfsg-2",
"2.0.1+dfsg-2+deb9u1build0.16.04.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-5051",
"provider_updated_at": "2026-04-22T11:57:55.848401Z",
"applicability_unknown": true
},
{
"name": "sdl-image1.2",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.12-8ubuntu0.1"
}
]
}
],
"release": "18.04",
"versions": [
"1.2.12-6",
"1.2.12-7",
"1.2.12-8"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051",
"fixed_version": "1.2.12-8ubuntu0.1",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-5051",
"provider_updated_at": "2026-04-22T11:57:55.848401Z",
"applicability_unknown": true
},
{
"name": "libsdl2-image",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "18.04",
"versions": [
"2.0.1+dfsg-3",
"2.0.1+dfsg-4",
"2.0.2+dfsg1-1",
"2.0.3+dfsg1-1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2019-5051",
"provider_updated_at": "2026-04-22T11:57:55.848401Z",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libsdl2-image-2.0-0]Unknown
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-dev]Unknown
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-tests]Unknown
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl-image1.2]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
- [libsdl-image1.2-dev]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
[Debian 13 (Trixie)]
- [libsdl2-image-2.0-0]Unknown
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl2-image-dev]Unknown
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl2-image-tests]Unknown
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl-image1.2]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
- [libsdl-image1.2-dev]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2019_2070-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-5051]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-5051]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-5051]
- [https://security-tracker.debian.org/tracker/CVE-2019-5051]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-5051.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]