Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-6889

An integer overflow error within the "foveon_load_camf()" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.

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

Source evidence

CVE-2017-6889

core-osv · Original source

Published 15 May 2017, 18:29 UTC

An integer overflow error within the "foveon_load_camf()" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.

osv:CVE-2017-6889
Complete source record
{
  "id": "5da9a1eede27e3d975e4836b4ec78fb20c48689ba93b5579a64b100c04a2fa75",
  "url": "https://osv.dev/vulnerability/CVE-2017-6889",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-6889",
    "summary": "An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.",
    "evidence": "osv:CVE-2017-6889",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-6889",
      "aliases": [
        "CVE-2017-6889"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libraw/libraw-demosaic-pack-gpl2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ffea825e121e92aa780ae587b65f80fc5847637c"
                },
                {
                  "fixed": "194f592e205990ea8fce72b6c571c14350aca716"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw-demosaic-pack-gpl2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.18.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "194f592e205990ea8fce72b6c571c14350aca716"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.18.1",
            "0.18.0-Beta2",
            "0.18.0-Beta1",
            "0.18.0",
            "0.17.2",
            "0.17.1",
            "0.17.0",
            "0.16.2",
            "0.16.1",
            "0.16.0",
            "0.15.2",
            "0.15.1",
            "0.15.0",
            "0.14.8",
            "0.14.7",
            "0.14.6",
            "0.14.5",
            "0.14.4",
            "0.14.3",
            "0.14.2",
            "0.14.1",
            "0.14.0",
            "0.13.8",
            "0.13.7",
            "0.13.6",
            "0.13.5",
            "0.13.4",
            "0.13.3",
            "0.13.2",
            "0.13.1",
            "0.13.0",
            "0.12.5",
            "0.12.4",
            "0.12.3",
            "0.12.2",
            "0.12.1",
            "0.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6889.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-6889-b76a6567",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "100850317300044172871758774077954143283",
                    "183165565249248235104004237473157430537",
                    "83649381162801328157103007422383945962",
                    "47514154183160630857492948049019842349",
                    "37475012982426722331624000442743187628",
                    "158946633314018727684819495445952872936",
                    "169360082881815744821892637527684042066",
                    "297389860160314791543952754442543041809",
                    "196569000861448789229074069099911561455",
                    "46361378511996670452354581310182194654",
                    "25993550731896664825248406918372402297",
                    "67138032242703886184429388320837250614"
                  ]
                },
                "source": "https://github.com/libraw/libraw-demosaic-pack-gpl2/commit/194f592e205990ea8fce72b6c571c14350aca716",
                "target": {
                  "file": "dcraw_foveon.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6889-d6e82664",
                "digest": {
                  "length": 1267,
                  "function_hash": "91891604155324030583620799763965924127"
                },
                "source": "https://github.com/libraw/libraw-demosaic-pack-gpl2/commit/194f592e205990ea8fce72b6c571c14350aca716",
                "target": {
                  "file": "dcraw_foveon.c",
                  "function": "foveon_load_camf"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6889-e65cd3bb",
                "digest": {
                  "length": 766,
                  "function_hash": "2862206903275483430271369263106098319"
                },
                "source": "https://github.com/libraw/libraw-demosaic-pack-gpl2/commit/194f592e205990ea8fce72b6c571c14350aca716",
                "target": {
                  "file": "dcraw_foveon.c",
                  "function": "foveon_dp_load_raw"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:28:18Z"
          }
        }
      ],
      "modified": "2026-10-20T13:28:18.672035019Z",
      "provider": "osv",
      "references": [
        "https://secuniaresearch.flexerasoftware.com/advisories/75000/",
        "https://github.com/LibRaw/LibRaw-demosaic-pack-GPL2/commit/194f592e205990ea8fce72b6c571c14350aca716"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-6889",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387714,
  "published_at": "2017-05-15T18:29:00.2+00:00"
}