Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-5813

An error within the "parse_minolta()" function (dcraw/dcraw.c) in LibRaw versions prior to 0.18.11 can be exploited to trigger an infinite loop via a specially crafted file.

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

Source evidence

CVE-2018-5813

core-osv · Original source

Published 7 Dec 2018, 22:29 UTC

An error within the "parse_minolta()" function (dcraw/dcraw.c) in LibRaw versions prior to 0.18.11 can be exploited to trigger an infinite loop via a specially crafted file.

osv:CVE-2018-5813
Complete source record
{
  "id": "b770bbebf928a36c56d0d2b0dde7ef0799fc40fd769a6ed0a5627246601aa409",
  "url": "https://osv.dev/vulnerability/CVE-2018-5813",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-5813",
    "summary": "An error within the \"parse_minolta()\" function (dcraw/dcraw.c) in LibRaw versions prior to 0.18.11 can be exploited to trigger an infinite loop via a specially crafted file.",
    "evidence": "osv:CVE-2018-5813",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-5813",
      "aliases": [
        "CVE-2018-5813"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libraw/libraw",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b90e0d44e0cfce3bf71861185754d6c67aa7598e"
                },
                {
                  "fixed": "e47384546b43d0fd536e933249047bc397a4d88b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.18.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e47384546b43d0fd536e933249047bc397a4d88b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.18.10",
            "0.18.9",
            "0.18.7",
            "0.18.6",
            "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-2018-5813.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-5813-2f06c7a3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "138481034920068687057640270736735149783",
                    "155008637328667895771217093114123597413",
                    "202468380364842969293143948639227716452",
                    "43362345418300741757744580791995773669",
                    "93498740150145970412707948942946017657",
                    "43849796945480050784384972864088438034",
                    "69979759779499482055485378711069337766",
                    "81314346554430816809408695689807658024",
                    "326138784518238356426912359781180545145"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/e47384546b43d0fd536e933249047bc397a4d88b",
                "target": {
                  "file": "internal/dcraw_common.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-5813-a26917b4",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "138481034920068687057640270736735149783",
                    "155008637328667895771217093114123597413",
                    "202468380364842969293143948639227716452",
                    "43362345418300741757744580791995773669",
                    "93498740150145970412707948942946017657",
                    "43849796945480050784384972864088438034",
                    "69979759779499482055485378711069337766",
                    "81314346554430816809408695689807658024",
                    "326138784518238356426912359781180545145"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/e47384546b43d0fd536e933249047bc397a4d88b",
                "target": {
                  "file": "dcraw/dcraw.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-5813-a456f537",
                "digest": {
                  "length": 3854,
                  "function_hash": "336648434298068837655732362148006286611"
                },
                "source": "https://github.com/libraw/libraw/commit/e47384546b43d0fd536e933249047bc397a4d88b",
                "target": {
                  "file": "internal/dcraw_common.cpp",
                  "function": "parse_minolta"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-5813-df5e2481",
                "digest": {
                  "length": 3854,
                  "function_hash": "336648434298068837655732362148006286611"
                },
                "source": "https://github.com/libraw/libraw/commit/e47384546b43d0fd536e933249047bc397a4d88b",
                "target": {
                  "file": "dcraw/dcraw.c",
                  "function": "parse_minolta"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:30:48Z"
          }
        }
      ],
      "modified": "2026-10-20T13:30:48.776310795Z",
      "provider": "osv",
      "references": [
        "https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt",
        "https://secuniaresearch.flexerasoftware.com/secunia_research/2018-13/",
        "https://usn.ubuntu.com/3838-1/",
        "https://secuniaresearch.flexerasoftware.com/advisories/83050/",
        "https://github.com/LibRaw/LibRaw/commit/e47384546b43d0fd536e933249047bc397a4d88b"
      ],
      "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:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-5813",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387768,
  "published_at": "2018-12-07T22:29:01.52+00:00"
}