Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-35533

In LibRaw, an out-of-bounds read vulnerability exists within the "LibRaw::adobe_copy_pixel()" function (libraw\src\decoders\dng.cpp) when reading data from the image file.

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

Source evidence

CVE-2020-35533

core-osv · Original source

Published 1 Sept 2022, 18:15 UTC

In LibRaw, an out-of-bounds read vulnerability exists within the "LibRaw::adobe_copy_pixel()" function (libraw\src\decoders\dng.cpp) when reading data from the image file.

osv:CVE-2020-35533
Complete source record
{
  "id": "b4ba131433ea67ff0339524c1e2c83bbaf224176615c8df7dadb146b5d8e4d06",
  "url": "https://osv.dev/vulnerability/CVE-2020-35533",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-35533",
    "summary": "In LibRaw, an out-of-bounds read vulnerability exists within the \"LibRaw::adobe_copy_pixel()\" function (libraw\\src\\decoders\\dng.cpp) when reading data from the image file.",
    "evidence": "osv:CVE-2020-35533",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-35533",
      "aliases": [
        "CVE-2020-35533"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/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": "2aee1220d5ecdcb8887b11c3d505a900570852c6"
                },
                {
                  "last_affected": "0209b6a2caec189e6d1a9b21c10e9e49f46e5a92"
                },
                {
                  "fixed": "a6937d4046a7c4742b683a04c8564605fd9be4fb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw:0.20.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.20.0-NA"
                      },
                      {
                        "last_affected": "0.20.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw:0.20.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.20.1"
                      },
                      {
                        "last_affected": "0.20.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw:0.20.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.20.2"
                      },
                      {
                        "last_affected": "0.20.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a6937d4046a7c4742b683a04c8564605fd9be4fb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.20.0-NA",
            "0.20.1",
            "0.20.2",
            "0.20.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35533.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-35533-a8673144",
                "digest": {
                  "length": 2037,
                  "function_hash": "189786397465748804224571890318419266390"
                },
                "source": "https://github.com/libraw/libraw/commit/a6937d4046a7c4742b683a04c8564605fd9be4fb",
                "target": {
                  "file": "src/decoders/decoders_dcraw.cpp",
                  "function": "LibRaw::ljpeg_start"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-35533-bac3dcfc",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "169956838837957557109730059690174096609",
                    "107773701374697699447354895927828660976",
                    "24066560648351270888693131467014129179",
                    "214774432034343772806029105558014034099"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/a6937d4046a7c4742b683a04c8564605fd9be4fb",
                "target": {
                  "file": "src/decoders/decoders_dcraw.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:12:02Z"
          }
        }
      ],
      "modified": "2026-10-20T14:12:02.137358960Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2022/09/msg00024.html",
        "https://github.com/LibRaw/LibRaw/commit/a6937d4046a7c4742b683a04c8564605fd9be4fb",
        "https://github.com/LibRaw/LibRaw/issues/273"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:libraw:libraw:0.20.0:rc2:*:*:*:*:*:*",
              "cpe:2.3:a:libraw:libraw:0.21.0:beta1:*:*:*:*:*:*"
            ],
            "vendor_product": "libraw:libraw",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.20.0-rc2"
                  },
                  {
                    "last_affected": "0.20.0-rc2"
                  },
                  {
                    "introduced": "0.21.0-beta1"
                  },
                  {
                    "last_affected": "0.21.0-beta1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-35533",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388704,
  "published_at": "2022-09-01T18:15:08.92+00:00"
}