Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-16909

An error related to the "LibRaw::panasonic_load_raw()" function (dcraw_common.cpp) in LibRaw versions prior to 0.18.6 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash via a specially crafted TIFF image.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-16909
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:11 UTC · Revision 1

Source evidence

CVE-2017-16909

core-osv · Original source

Published 7 Dec 2018, 22:29 UTC

An error related to the "LibRaw::panasonic_load_raw()" function (dcraw_common.cpp) in LibRaw versions prior to 0.18.6 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash via a specially crafted TIFF image.

osv:CVE-2017-16909
Complete source record
{
  "id": "27786de64da91996d579a245451f88d2320621093fcd0b3133e41245964658dc",
  "url": "https://osv.dev/vulnerability/CVE-2017-16909",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-16909",
    "summary": "An error related to the \"LibRaw::panasonic_load_raw()\" function (dcraw_common.cpp) in LibRaw versions prior to 0.18.6 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash via a specially crafted TIFF image.",
    "evidence": "osv:CVE-2017-16909",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-16909",
      "aliases": [
        "CVE-2017-16909"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libraw/libraw",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b829580cca716c26e9dc441bb2a64bd56dd3e4c2"
                },
                {
                  "fixed": "f1394822a0152ceed77815eafa5cac4e8baab10a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.18.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f1394822a0152ceed77815eafa5cac4e8baab10a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.18.5",
            "0.18.4",
            "0.18.3",
            "0.18.2",
            "0.18.1",
            "0.18.0",
            "0.17.0",
            "0.16.0",
            "0.15.0",
            "0.14.6",
            "0.14.5",
            "0.14.4",
            "0.14.3",
            "0.14.2",
            "0.14.1",
            "0.14.0",
            "0.13.6",
            "0.13.5",
            "0.13.4",
            "0.13.3",
            "0.13.2",
            "0.13.1",
            "0.13.0",
            "0.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16909.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-16909-15a28e08",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "92598643016869726116496545431955095057",
                    "120939618251062345120474030181267199025",
                    "175446667405057637735720472319857957960",
                    "302434637703157556965875178027127222250",
                    "159726733877091668658868407700114082283",
                    "47396600157287310090621577509096878652",
                    "223381199108772046071832214352090977790",
                    "312535190315978562344322721944551004105",
                    "303224951040866503772588754584229743146",
                    "204119642482237263911818387740019987550",
                    "255937820271983562132317266877551480520",
                    "69397894438155230848606260908398451734",
                    "306518057356109731984525057483905944343",
                    "191839667621282678976513721523612474074",
                    "90351574205308034742503652561293419314"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "dcraw/dcraw.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-20262b75",
                "digest": {
                  "length": 67105,
                  "function_hash": "321872447772065613720363512539899803803"
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "internal/dcraw_common.cpp",
                  "function": "identify"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-27811112",
                "digest": {
                  "length": 788,
                  "function_hash": "161703518076742467936785774804205186967"
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "internal/dcraw_common.cpp",
                  "function": "panasonic_load_raw"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-44d33ca5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "92598643016869726116496545431955095057",
                    "120939618251062345120474030181267199025",
                    "175446667405057637735720472319857957960",
                    "302434637703157556965875178027127222250",
                    "159726733877091668658868407700114082283",
                    "47396600157287310090621577509096878652",
                    "223381199108772046071832214352090977790",
                    "312535190315978562344322721944551004105",
                    "303224951040866503772588754584229743146",
                    "204119642482237263911818387740019987550",
                    "255937820271983562132317266877551480520",
                    "69397894438155230848606260908398451734",
                    "306518057356109731984525057483905944343",
                    "191839667621282678976513721523612474074",
                    "90351574205308034742503652561293419314"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "internal/dcraw_common.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-c879941c",
                "digest": {
                  "length": 3587,
                  "function_hash": "91992552088826294097603272626590769737"
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "internal/dcraw_common.cpp",
                  "function": "parse_fuji"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-d3f822a1",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "216092885707465522902309138874404632414",
                    "265583112738806107122278279198893038748",
                    "86890722005686700908617904553551066285",
                    "158063219566602077671404182076737842235"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "libraw/libraw_const.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-deff72fb",
                "digest": {
                  "length": 67105,
                  "function_hash": "321872447772065613720363512539899803803"
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "dcraw/dcraw.c",
                  "function": "identify"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-e6bbb0f3",
                "digest": {
                  "length": 788,
                  "function_hash": "161703518076742467936785774804205186967"
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "dcraw/dcraw.c",
                  "function": "panasonic_load_raw"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-16909-fe95ad3d",
                "digest": {
                  "length": 3587,
                  "function_hash": "91992552088826294097603272626590769737"
                },
                "source": "https://github.com/libraw/libraw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a",
                "target": {
                  "file": "dcraw/dcraw.c",
                  "function": "parse_fuji"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:17:40Z"
          }
        }
      ],
      "modified": "2026-10-20T13:17:40.059581357Z",
      "provider": "osv",
      "references": [
        "https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt",
        "https://secuniaresearch.flexerasoftware.com/advisories/76000/",
        "https://secuniaresearch.flexerasoftware.com/secunia_research/2017-19/",
        "https://usn.ubuntu.com/3615-1/",
        "https://github.com/LibRaw/LibRaw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-16909",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387466,
  "published_at": "2018-12-07T22:29:00.24+00:00"
}