CVE catalog

CVE-2020-15503

libraw affected and fixed versions

[CVE catalog]

LibRaw before 0.20-RC1 lacks a thumbnail size range check. This affects decoders/unpack_thumb.cpp, postprocessing/mem_image.cpp, and utils/thumb_utils.cpp. For example, malloc(sizeof(libraw_processed_image_t)+T.tlength) occurs without validating T.tlength.

Severity
Medium · CVSS 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
3.67% · 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
Debiantrixielibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debiantrixielibraw0.21.4-2+deb13u1Fixed[CVE-2020-15503]
Debiansidlibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debiansidlibraw0.22.1-1Fixed[CVE-2020-15503]
Debianforkylibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debianforkylibraw0.22.1-1Fixed[CVE-2020-15503]
Debianbookworm-securitylibraw0.20.2-2.1+deb12u2Fixed[CVE-2020-15503]
Debianbookwormlibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debianbookwormlibraw0.20.2-2.1+deb12u1Fixed[CVE-2020-15503]

Showing 9 fix observations. All 27 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlibraw0.20.0-4UnknownSource applicability is not establishedProvider not reported
Debianbookwormlibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debianbookwormlibraw0.20.2-2.1+deb12u1Fixed[CVE-2020-15503]
Debianbookworm-securitylibraw0.20.2-2.1+deb12u2Fixed[CVE-2020-15503]
Debianforkylibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debianforkylibraw0.22.1-1Fixed[CVE-2020-15503]
Debiansidlibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debiansidlibraw0.22.1-1Fixed[CVE-2020-15503]
Debiantrixielibraw0.20.0-4FixedDistribution-reported fixed boundary[CVE-2020-15503]
Debiantrixielibraw0.21.4-2+deb13u1Fixed[CVE-2020-15503]
Opensuseleap 15.1libraw0.18.9-lp151.4.3.1UnknownSource applicability is not established[OPENSUSE-SU-2020:1088-1]
Opensuseleap 15.2libraw0.18.9-lp152.5.3.1UnknownSource applicability is not established[OPENSUSE-SU-2020:1128-1]
Suselinux enterprise software development kit 12 sp5libraw0.15.4-33.1UnknownSource applicability is not established[SUSE-SU-2020:2028-1]
Suselinux enterprise workstation extension 12 sp5libraw0.15.4-33.1UnknownSource applicability is not established[SUSE-SU-2020:2028-1]
Suselinux enterprise workstation extension 15 sp1libraw0.18.9-3.11.1UnknownSource applicability is not established[SUSE-SU-2020:2029-1]
Suselinux enterprise workstation extension 15 sp2libraw0.18.9-3.11.1UnknownSource applicability is not established[SUSE-SU-2020:2029-1]
Ubuntu18.04libraw0.18.2-2UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.5-1UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.7-2UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.8-1UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.8-1ubuntu0.1UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.8-1ubuntu0.2UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.8-1ubuntu0.3UnknownSource applicability is not established[USN-5715-1]
Ubuntu18.04libraw0.18.8-1ubuntu0.4UnknownSource applicability is not established[USN-5715-1]
Ubuntu20.04libraw0.19.5-1UnknownSource applicability is not established[USN-5715-1]
Ubuntu20.04libraw0.19.5-1ubuntu1UnknownSource applicability is not established[USN-5715-1]
Ubuntu20.04libraw0.19.5-1ubuntu1.1UnknownSource applicability is not established[USN-5715-1]
Original provider fields
{
  "package_releases": [
    {
      "name": "libraw",
      "status": "fixed",
      "release": "sid",
      "version": "0.22.1-1"
    },
    {
      "name": "libraw",
      "status": "fixed",
      "release": "forky",
      "version": "0.22.1-1"
    },
    {
      "name": "libraw",
      "status": "fixed",
      "release": "trixie",
      "version": "0.21.4-2+deb13u1"
    },
    {
      "name": "libraw",
      "status": "fixed",
      "release": "bookworm",
      "version": "0.20.2-2.1+deb12u1"
    },
    {
      "name": "libraw",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "0.20.2-2.1+deb12u2"
    }
  ],
  "fixed_versions": [
    {
      "bug": 964747,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "0.20.0-4"
    },
    {
      "bug": 964747,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "0.20.0-4"
    },
    {
      "bug": 964747,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "0.20.0-4"
    },
    {
      "bug": 964747,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "0.20.0-4"
    }
  ],
  "distribution_packages": [
    {
      "name": "libraw",
      "fixed_version": "0.20.0-4",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.18.8-1ubuntu0.4"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "0.18.2-2",
        "0.18.5-1",
        "0.18.7-2",
        "0.18.8-1",
        "0.18.8-1ubuntu0.1",
        "0.18.8-1ubuntu0.2",
        "0.18.8-1ubuntu0.3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-5715-1",
      "fixed_version": "0.18.8-1ubuntu0.4",
      "provider_source": "pypi",
      "provider_record_id": "USN-5715-1",
      "provider_updated_at": "2026-04-27T16:24:53.857784Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.19.5-1ubuntu1.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "0.19.5-1",
        "0.19.5-1ubuntu1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-5715-1",
      "fixed_version": "0.19.5-1ubuntu1.1",
      "provider_source": "pypi",
      "provider_record_id": "USN-5715-1",
      "provider_updated_at": "2026-04-27T16:24:53.857784Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.18.9-lp152.5.3.1"
            }
          ]
        }
      ],
      "release": "leap 15.2",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1128-1",
      "fixed_version": "0.18.9-lp152.5.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1128-1",
      "provider_updated_at": "2026-02-04T04:10:14.296105Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.18.9-3.11.1"
            }
          ]
        }
      ],
      "release": "linux enterprise workstation extension 15 sp1",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2020:2029-1",
      "fixed_version": "0.18.9-3.11.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2020:2029-1",
      "provider_updated_at": "2026-02-04T03:41:42.029546Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.18.9-3.11.1"
            }
          ]
        }
      ],
      "release": "linux enterprise workstation extension 15 sp2",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2020:2029-1",
      "fixed_version": "0.18.9-3.11.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2020:2029-1",
      "provider_updated_at": "2026-02-04T03:41:42.029546Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.18.9-lp151.4.3.1"
            }
          ]
        }
      ],
      "release": "leap 15.1",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2020:1088-1",
      "fixed_version": "0.18.9-lp151.4.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2020:1088-1",
      "provider_updated_at": "2026-02-04T03:08:49.758Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.15.4-33.1"
            }
          ]
        }
      ],
      "release": "linux enterprise software development kit 12 sp5",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2020:2028-1",
      "fixed_version": "0.15.4-33.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2020:2028-1",
      "provider_updated_at": "2026-02-04T02:25:16.284540Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.15.4-33.1"
            }
          ]
        }
      ],
      "release": "linux enterprise workstation extension 12 sp5",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2020:2028-1",
      "fixed_version": "0.15.4-33.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2020:2028-1",
      "provider_updated_at": "2026-02-04T02:25:16.284540Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #964747]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libraw20]Unknown

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

  • [libraw-bin]Unknown

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

  • [libraw-dev]Unknown

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

  • [libraw-doc]Unknown

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · all · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u1 · all · bookworm

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

    • 0.20.2-2.1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · bookworm; dsa · libraw · debian · 12

[Debian 13 (Trixie)]

  • [libraw23t64]Unknown

    Source package: [libraw]

    Details (2)
    • 0.21.4-2 · amd64 · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

    • 0.21.4-2 · arm64 · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

  • [libraw-bin]Unknown

    Source package: [libraw]

    Details (2)
    • 0.21.4-2 · amd64 · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

    • 0.21.4-2 · arm64 · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

  • [libraw-dev]Unknown

    Source package: [libraw]

    Details (2)
    • 0.21.4-2 · amd64 · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

    • 0.21.4-2 · arm64 · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

  • [libraw-doc]Unknown

    Source package: [libraw]

    Details (2)
    • 0.21.4-2 · all · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

    • 0.21.4-2 · all · trixie

      Fixed · Fixed: 0.20.0-4

      dsa · libraw · debian · 13

Observed:

References