sdl2_image — security advisory
An exploitable information disclosure vulnerability exists in the PCX image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially crafted PCX image can cause an out-of-bounds read on the heap, resulting in information disclosure . An attacker can display a specially crafted image to trigger this vulnerability.
- Products
- sdl2_image
- Affected versions
- Not specified
- Fixed versions
- 2.0.1-r2, 2.0.2-r1
- CVEs
- CVE-2018-3837
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:16 UTC · Revision 1
Source evidence
An exploitable information disclosure vulnerability exists in the PCX image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially crafted PCX image can cause an out-of-bounds read on the heap, resulting in information disclosure . An attacker can display a specially crafted image to trigger this vulnerability.
osv:ALPINE-CVE-2018-3837
sdl2_image
Fixed versions: 2.0.1-r2
sdl2_image
Fixed versions: 2.0.1-r2
sdl2_image
Fixed versions: 2.0.2-r1
Complete source record
{
"id": "b50f0ad0e3d0472cd61cc7d84e75cdce52dfa587762e53a63a95cde8a877baee",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2018-3837",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2018-3837",
"summary": "An exploitable information disclosure vulnerability exists in the PCX image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially crafted PCX image can cause an out-of-bounds read on the heap, resulting in information disclosure . An attacker can display a specially crafted image to trigger this vulnerability.",
"evidence": "osv:ALPINE-CVE-2018-3837",
"products": [
{
"name": {
"value": "sdl2_image",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.1-r2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sdl2_image",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.1-r2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sdl2_image",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.2-r1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2018-3837",
"aliases": [
"ALPINE-CVE-2018-3837"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1-r2"
}
]
}
],
"package": {
"name": "sdl2_image",
"purl": "pkg:apk/alpine/sdl2_image?arch=source",
"ecosystem": "Alpine:v3.5"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-3837.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1-r2"
}
]
}
],
"package": {
"name": "sdl2_image",
"purl": "pkg:apk/alpine/sdl2_image?arch=source",
"ecosystem": "Alpine:v3.6"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-3837.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.2-r1"
}
]
}
],
"package": {
"name": "sdl2_image",
"purl": "pkg:apk/alpine/sdl2_image?arch=source",
"ecosystem": "Alpine:v3.7"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-3837.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:24:45.018985793Z",
"provider": "osv",
"upstream": [
"CVE-2018-3837"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2018-3837"
]
},
"related_cves": [
{
"value": "CVE-2018-3837",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 416138,
"published_at": "2018-04-10T21:29:00.233+00:00"
}