CVE catalog

CVE-2017-2887

libsdl2-image: CVE-2017-2887

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.66% · Oct 25, 2026

An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansdl-image1.2sid1.2.12-14fixed
Debiansdl-image1.2forky1.2.12-14fixed
Debiansdl-image1.2trixie1.2.12-14fixed
Debiansdl-image1.2bookworm1.2.12-13fixed
Debianlibsdl2-imagesid2.8.12+dfsg-2fixed
Debianlibsdl2-imageforky2.8.12+dfsg-2fixed
Debianlibsdl2-imagetrixie2.8.8+dfsg-1+deb13u1fixed
Debianlibsdl2-imagebookworm2.6.3+dfsg-1fixed
Alpinesdl2_image3.52.0.1-r2fixed
Alpinesdl2_image3.62.0.1-r2fixed
Ubuntulibsdl2-image14.042.0.0+dfsg-2vulnerable
Ubuntulibsdl2-image14.042.0.0+dfsg-3vulnerable
Ubuntulibsdl2-image14.042.0.0+dfsg-3build2vulnerable
Ubuntulibsdl2-image14.042.0.0+dfsg-3+deb8u1build0.14.04.1fixed
Ubuntusdl-image1.214.041.2.12-4ubuntu1vulnerable
Ubuntusdl-image1.214.041.2.12-5vulnerable
Ubuntusdl-image1.214.041.2.12-5build2vulnerable
Ubuntusdl-image1.214.041.2.12-5+deb9u1build0.14.04.1fixed
Ubuntulibsdl2-image16.042.0.0+dfsg-3build2vulnerable
Ubuntulibsdl2-image16.042.0.1+dfsg-1vulnerable
Ubuntulibsdl2-image16.042.0.1+dfsg-2vulnerable
Ubuntulibsdl2-image16.042.0.1+dfsg-2+deb9u1build0.16.04.1fixed
Ubuntusdl-image1.216.041.2.12-5build2vulnerable
Ubuntusdl-image1.216.041.2.12-5+deb9u1build0.16.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansdl-image1.2sourcesid1.2.12-7not yet assignedNot reported[878267]
Debiansdl-image1.2sourceforky1.2.12-7not yet assignedNot reported[878267]
Debiansdl-image1.2sourcetrixie1.2.12-7not yet assignedNot reported[878267]
Debiansdl-image1.2sourcebookworm1.2.12-7not yet assignedNot reported[878267]
Debianlibsdl2-imagesourcesid2.0.1+dfsg-4not yet assignedNot reported[878266]
Debianlibsdl2-imagesourceforky2.0.1+dfsg-4not yet assignedNot reported[878266]
Debianlibsdl2-imagesourcetrixie2.0.1+dfsg-4not yet assignedNot reported[878266]
Debianlibsdl2-imagesourcebookworm2.0.1+dfsg-4not yet assignedNot reported[878266]
Alpinesdl2_imageapk3.52.0.1-r2Not reportedALPINE-CVE-2017-2887Not reported
Alpinesdl2_imageapk3.62.0.1-r2Not reportedALPINE-CVE-2017-2887Not reported
Ubuntulibsdl2-imagedeb14.042.0.0+dfsg-3+deb8u1build0.14.04.1Not reportedUBUNTU-CVE-2017-2887Not reported
Ubuntusdl-image1.2deb14.041.2.12-5+deb9u1build0.14.04.1Not reportedUBUNTU-CVE-2017-2887Not reported
Ubuntulibsdl2-imagedeb16.042.0.1+dfsg-2+deb9u1build0.16.04.1Not reportedUBUNTU-CVE-2017-2887Not reported
Ubuntusdl-image1.2deb16.041.2.12-5+deb9u1build0.16.04.1Not reportedUBUNTU-CVE-2017-2887Not reported

[Debian bug #878267][Debian bug #878266]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libsdl2-image]

    Details (2)
    • 2.6.3+dfsg-1 · amd64 · bookworm

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12

  • Source package: [libsdl2-image]

    Details (2)
    • 2.6.3+dfsg-1 · amd64 · bookworm

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12

  • Source package: [libsdl2-image]

    Details (2)
    • 2.6.3+dfsg-1 · amd64 · bookworm

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12

  • Source package: [sdl-image1.2]

    Details (2)
    • 1.2.12-13+b2 · amd64 · bookworm

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12

    • 1.2.12-13+b2 · arm64 · bookworm

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12

  • Source package: [sdl-image1.2]

    Details (2)
    • 1.2.12-13+b2 · amd64 · bookworm

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12

    • 1.2.12-13+b2 · arm64 · bookworm

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libsdl2-image]

    Details (2)
    • 2.8.8+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · 13

    • 2.8.8+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · 13

  • Source package: [libsdl2-image]

    Details (2)
    • 2.8.8+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · 13

    • 2.8.8+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · 13

  • Source package: [libsdl2-image]

    Details (2)
    • 2.8.8+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · 13

    • 2.8.8+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.0.1+dfsg-4

      dsa · libsdl2-image · debian · 13

  • Source package: [sdl-image1.2]

    Details (2)
    • 1.2.12-14 · amd64 · trixie

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · 13

    • 1.2.12-14 · arm64 · trixie

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · 13

  • Source package: [sdl-image1.2]

    Details (2)
    • 1.2.12-14 · amd64 · trixie

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · 13

    • 1.2.12-14 · arm64 · trixie

      Fixed · Fixed: 1.2.12-7

      dsa · sdl-image1.2 · debian · 13

Observed:

References