CVE catalog

CVE-2017-6886

libraw affected and fixed versions

[CVE catalog]

An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to corrupt memory.

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

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

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlibraw0.18.2-2UnknownSource applicability is not establishedProvider not reported
Alpine3.3libraw0.17.2-r1UnknownSource applicability is not established[ALPINE-CVE-2017-6886]
Alpine3.4libraw0.17.2-r1UnknownSource applicability is not established[ALPINE-CVE-2017-6886]
Alpine3.5libraw0.17.2-r1UnknownSource applicability is not established[ALPINE-CVE-2017-6886]
Alpine3.6libraw0.17.2-r1UnknownSource applicability is not established[ALPINE-CVE-2017-6886]
Debianbookwormlibraw0.18.2-2FixedDistribution-reported fixed boundary[CVE-2017-6886]
Debianbookwormlibraw0.20.2-2.1+deb12u1Fixed[CVE-2017-6886]
Debianbookworm-securitylibraw0.20.2-2.1+deb12u2Fixed[CVE-2017-6886]
Debianforkylibraw0.18.2-2FixedDistribution-reported fixed boundary[CVE-2017-6886]
Debianforkylibraw0.22.1-1Fixed[CVE-2017-6886]
Debiansidlibraw0.18.2-2FixedDistribution-reported fixed boundary[CVE-2017-6886]
Debiansidlibraw0.22.1-1Fixed[CVE-2017-6886]
Debiantrixielibraw0.18.2-2FixedDistribution-reported fixed boundary[CVE-2017-6886]
Debiantrixielibraw0.21.4-2+deb13u1Fixed[CVE-2017-6886]
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": 864183,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "0.18.2-2"
    },
    {
      "bug": 864183,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "0.18.2-2"
    },
    {
      "bug": 864183,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "0.18.2-2"
    },
    {
      "bug": 864183,
      "name": "libraw",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "0.18.2-2"
    }
  ],
  "distribution_packages": [
    {
      "name": "libraw",
      "fixed_version": "0.18.2-2",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.17.2-r1"
            }
          ]
        }
      ],
      "release": "3.3",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2017-6886",
      "fixed_version": "0.17.2-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2017-6886",
      "provider_updated_at": "2026-06-15T18:24:49.790999442Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.17.2-r1"
            }
          ]
        }
      ],
      "release": "3.4",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2017-6886",
      "fixed_version": "0.17.2-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2017-6886",
      "provider_updated_at": "2026-06-15T18:24:49.790999442Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.17.2-r1"
            }
          ]
        }
      ],
      "release": "3.5",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2017-6886",
      "fixed_version": "0.17.2-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2017-6886",
      "provider_updated_at": "2026-06-15T18:24:49.790999442Z",
      "applicability_unknown": true
    },
    {
      "name": "libraw",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.17.2-r1"
            }
          ]
        }
      ],
      "release": "3.6",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2017-6886",
      "fixed_version": "0.17.2-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2017-6886",
      "provider_updated_at": "2026-06-15T18:24:49.790999442Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #864183]

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.18.2-2

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

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

      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.18.2-2

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

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

      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.18.2-2

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

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

      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.18.2-2

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

    • 0.20.2-2.1+deb12u1 · all · bookworm

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

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

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

      Fixed · Fixed: 0.18.2-2

      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.18.2-2

      dsa · libraw · debian · 13

    • 0.21.4-2 · arm64 · trixie

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

  • [libraw-bin]Unknown

    Source package: [libraw]

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

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

    • 0.21.4-2 · arm64 · trixie

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

  • [libraw-dev]Unknown

    Source package: [libraw]

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

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

    • 0.21.4-2 · arm64 · trixie

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

  • [libraw-doc]Unknown

    Source package: [libraw]

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

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

    • 0.21.4-2 · all · trixie

      Fixed · Fixed: 0.18.2-2

      dsa · libraw · debian · 13

Observed:

References