CVE catalog

CVE-2019-5051

sdl-image1.2 affected and fixed versions

[CVE catalog]

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.8CVSS: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 / releasePackageVersionStatusSource
Debiantrixielibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiantrixielibsdl2-image2.8.8+dfsg-1+deb13u1Fixed[CVE-2019-5051]
Debiantrixiesdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiantrixiesdl-image1.21.2.12-14Fixed[CVE-2019-5051]
Debiansidlibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiansidlibsdl2-image2.8.12+dfsg-2Fixed[CVE-2019-5051]
Debiansidsdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiansidsdl-image1.21.2.12-14Fixed[CVE-2019-5051]
Debianforkylibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debianforkylibsdl2-image2.8.12+dfsg-2Fixed[CVE-2019-5051]
Debianforkysdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debianforkysdl-image1.21.2.12-14Fixed[CVE-2019-5051]

Showing 12 fix observations. All 45 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Alpine3.10sdl2_image2.0.5-r0UnknownSource applicability is not established[ALPINE-CVE-2019-5051]
Alpine3.7sdl2_image2.0.5-r0UnknownSource applicability is not established[ALPINE-CVE-2019-5051]
Alpine3.8sdl2_image2.0.5-r0UnknownSource applicability is not established[ALPINE-CVE-2019-5051]
Alpine3.9sdl2_image2.0.5-r0UnknownSource applicability is not established[ALPINE-CVE-2019-5051]
Debianbookwormlibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debianbookwormlibsdl2-image2.6.3+dfsg-1Fixed[CVE-2019-5051]
Debianbookwormsdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debianbookwormsdl-image1.21.2.12-13Fixed[CVE-2019-5051]
Debianforkylibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debianforkylibsdl2-image2.8.12+dfsg-2Fixed[CVE-2019-5051]
Debianforkysdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debianforkysdl-image1.21.2.12-14Fixed[CVE-2019-5051]
Debiansidlibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiansidlibsdl2-image2.8.12+dfsg-2Fixed[CVE-2019-5051]
Debiansidsdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiansidsdl-image1.21.2.12-14Fixed[CVE-2019-5051]
Debiantrixielibsdl2-image2.0.5+dfsg1-1FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiantrixielibsdl2-image2.8.8+dfsg-1+deb13u1Fixed[CVE-2019-5051]
Debiantrixiesdl-image1.21.2.12-11FixedDistribution-reported fixed boundary[CVE-2019-5051]
Debiantrixiesdl-image1.21.2.12-14Fixed[CVE-2019-5051]
Ubuntu16.04libsdl2-image2.0.0+dfsg-3build2UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu16.04libsdl2-image2.0.1+dfsg-1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu16.04libsdl2-image2.0.1+dfsg-2UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu16.04libsdl2-image2.0.1+dfsg-2+deb9u1build0.16.04.1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu16.04sdl-image1.21.2.12-5+deb9u1build0.16.04.1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu16.04sdl-image1.21.2.12-5+deb9u1ubuntu0.16.04.1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu16.04sdl-image1.21.2.12-5build2UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04libsdl2-image2.0.1+dfsg-3UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04libsdl2-image2.0.1+dfsg-4UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04libsdl2-image2.0.2+dfsg1-1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04libsdl2-image2.0.3+dfsg1-1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04sdl-image1.21.2.12-6UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04sdl-image1.21.2.12-7UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04sdl-image1.21.2.12-8UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntu18.04sdl-image1.21.2.12-8ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprolibsdl2-image2.0.0+dfsg-2UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprolibsdl2-image2.0.0+dfsg-3UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprolibsdl2-image2.0.0+dfsg-3+deb8u1build0.14.04.1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprolibsdl2-image2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprolibsdl2-image2.0.0+dfsg-3build2UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprosdl-image1.21.2.12-4ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprosdl-image1.21.2.12-5UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprosdl-image1.21.2.12-5+deb9u1build0.14.04.1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprosdl-image1.21.2.12-5+deb9u1ubuntu0.14.04.1~esm1UnknownSource applicability is not established[UBUNTU-CVE-2019-5051]
Ubuntuprosdl-image1.21.2.12-5build2UnknownSource 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
    }
  ]
}

[Debian bug #932755][Debian bug #932754]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [libsdl2-image]

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

      Fixed · Fixed: 2.0.5+dfsg1-1

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

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.5+dfsg1-1

      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.5+dfsg1-1

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

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.5+dfsg1-1

      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.5+dfsg1-1

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

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.5+dfsg1-1

      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-11

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

    • 1.2.12-13+b2 · arm64 · bookworm

      Fixed · Fixed: 1.2.12-11

      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-11

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

    • 1.2.12-13+b2 · arm64 · bookworm

      Fixed · Fixed: 1.2.12-11

      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.5+dfsg1-1

      dsa · libsdl2-image · debian · 13

    • 2.8.8+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.0.5+dfsg1-1

      dsa · libsdl2-image · debian · 13

  • Source package: [libsdl2-image]

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

      Fixed · Fixed: 2.0.5+dfsg1-1

      dsa · libsdl2-image · debian · 13

    • 2.8.8+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.0.5+dfsg1-1

      dsa · libsdl2-image · debian · 13

  • Source package: [libsdl2-image]

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

      Fixed · Fixed: 2.0.5+dfsg1-1

      dsa · libsdl2-image · debian · 13

    • 2.8.8+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 2.0.5+dfsg1-1

      dsa · libsdl2-image · debian · 13

  • Source package: [sdl-image1.2]

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

      Fixed · Fixed: 1.2.12-11

      dsa · sdl-image1.2 · debian · 13

    • 1.2.12-14 · arm64 · trixie

      Fixed · Fixed: 1.2.12-11

      dsa · sdl-image1.2 · debian · 13

  • Source package: [sdl-image1.2]

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

      Fixed · Fixed: 1.2.12-11

      dsa · sdl-image1.2 · debian · 13

    • 1.2.12-14 · arm64 · trixie

      Fixed · Fixed: 1.2.12-11

      dsa · sdl-image1.2 · debian · 13

Observed:

References