ubuntu-cve-2026-35444
Vulnerability from osv_ubuntu
Published
2026-04-06 22:16
Modified
2026-05-20 15:27
Summary
Details
SDL_image is a library to load images of various formats as SDL surfaces. In do_layer_surface() in src/IMG_xcf.c, pixel index values from decoded XCF tile data are used directly as colormap indices without validating them against the colormap size (cm_num). A crafted .xcf file with a small colormap and out-of-range pixel indices causes heap out-of-bounds reads of up to 762 bytes past the colormap allocation. Both IMAGE_INDEXED code paths are affected (bpp=1 and bpp=2). The leaked heap bytes are written into the output surface pixel data, making them potentially observable in the rendered image. This vulnerability is fixed with commit 996bf12888925932daace576e09c3053410896f8.
Severity
7.1 (High)
6.1 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"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",
"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-5+deb9u1ubuntu0.14.04.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-4ubuntu1",
"1.2.12-5",
"1.2.12-5build2",
"1.2.12-5+deb9u1build0.14.04.1",
"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.0.1+dfsg-2+deb9u1build0.16.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.0.1+dfsg-2+deb9u1build0.16.04.1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"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_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-5+deb9u1ubuntu0.16.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-5+deb9u1ubuntu0.16.04.1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-5build2",
"1.2.12-5+deb9u1build0.16.04.1",
"1.2.12-5+deb9u1ubuntu0.16.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.0.3+dfsg1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.0.3+dfsg1-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.1+dfsg-3",
"2.0.1+dfsg-4",
"2.0.2+dfsg1-1",
"2.0.3+dfsg1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-8ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-8ubuntu0.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-6",
"1.2.12-7",
"1.2.12-8",
"1.2.12-8ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.0.5+dfsg1-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.0.5+dfsg1-2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.5+dfsg1-1",
"2.0.5+dfsg1-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-12"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-12?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-12"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.0.5+dfsg1-3build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.0.5+dfsg1-3build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.5+dfsg1-2",
"2.0.5+dfsg1-3",
"2.0.5+dfsg1-3build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-13build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-13build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-12",
"1.2.12-13",
"1.2.12-13build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.8.2+dfsg-1build2"
},
{
"binary_name": "libsdl2-image-tests",
"binary_version": "2.8.2+dfsg-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.8.2+dfsg-1build2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6.3+dfsg-2",
"2.8.0+dfsg-1",
"2.8.1+dfsg-1",
"2.8.2+dfsg-1",
"2.8.2+dfsg-1build1",
"2.8.2+dfsg-1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-13build4"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-13build4?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-13build2",
"1.2.12-13build3",
"1.2.12-13build4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.8.8+dfsg-1"
},
{
"binary_name": "libsdl2-image-tests",
"binary_version": "2.8.8+dfsg-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.8.8+dfsg-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.8.8+dfsg-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl3-image-tests",
"binary_version": "3.2.4+ds-1"
},
{
"binary_name": "libsdl3-image0",
"binary_version": "3.2.4+ds-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "libsdl3-image",
"purl": "pkg:deb/ubuntu/libsdl3-image@3.2.4+ds-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.4+ds-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-14"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-14?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-14"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl2-image-2.0-0",
"binary_version": "2.8.8+dfsg-2"
},
{
"binary_name": "libsdl2-image-tests",
"binary_version": "2.8.8+dfsg-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libsdl2-image",
"purl": "pkg:deb/ubuntu/libsdl2-image@2.8.8+dfsg-2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.8.8+dfsg-1",
"2.8.8+dfsg-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl3-image-tests",
"binary_version": "3.4.0+ds-1"
},
{
"binary_name": "libsdl3-image0",
"binary_version": "3.4.0+ds-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libsdl3-image",
"purl": "pkg:deb/ubuntu/libsdl3-image@3.4.0+ds-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.4+ds-1",
"3.4.0+ds-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libsdl-image1.2",
"binary_version": "1.2.12-14build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "sdl-image1.2",
"purl": "pkg:deb/ubuntu/sdl-image1.2@1.2.12-14build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.12-14",
"1.2.12-14build1"
]
}
],
"aliases": [],
"details": "SDL_image is a library to load images of various formats as SDL surfaces. In do_layer_surface() in src/IMG_xcf.c, pixel index values from decoded XCF tile data are used directly as colormap indices without validating them against the colormap size (cm_num). A crafted .xcf file with a small colormap and out-of-range pixel indices causes heap out-of-bounds reads of up to 762 bytes past the colormap allocation. Both IMAGE_INDEXED code paths are affected (bpp=1 and bpp=2). The leaked heap bytes are written into the output surface pixel data, making them potentially observable in the rendered image. This vulnerability is fixed with commit 996bf12888925932daace576e09c3053410896f8.",
"id": "UBUNTU-CVE-2026-35444",
"modified": "2026-05-20T15:27:25Z",
"published": "2026-04-06T22:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-35444"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-35444"
},
{
"type": "REPORT",
"url": "https://github.com/libsdl-org/SDL_image/security/advisories/GHSA-gq8w-x74c-h6p7"
},
{
"type": "REPORT",
"url": "https://github.com/libsdl-org/SDL_image/commit/996bf12888925932daace576e09c3053410896f8"
},
{
"type": "REPORT",
"url": "https://github.com/libsdl-org/SDL_image/commit/a1a06276a51ca7e6e63908b200df8a278d8c5039"
},
{
"type": "REPORT",
"url": "https://github.com/libsdl-org/SDL_image/commit/678ac6a4c6021853485050926f45db08ba6aec48"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-35444"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…