Skip to content
Heist/ feed
Back to feed
UnratedFix available

LibRaw: Fix of CVE-2026-5342

Type: advisorySources: OSV

- CVE-2026-5342: fix out-of-bounds read in nikon_load_padded_packed_raw by deriving the row buffer size from the final raw_width instead of the precomputed load_flags, and erroring out on short reads

Products
LibRaw, LibRaw-devel, LibRaw-samples, LibRaw-static
Affected versions
Not specified
Fixed versions
0.21.1-1.el9.tuxcare.els4
CVEs
CVE-2026-5342
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:53 UTC · Revision 1

Source evidence

LibRaw: Fix of CVE-2026-5342

core-osv · Original source

Published 14 Aug 2026, 10:22 UTC

- CVE-2026-5342: fix out-of-bounds read in nikon_load_padded_packed_raw by deriving the row buffer size from the final raw_width instead of the precomputed load_flags, and erroring out on short reads

osv:CLSA-2026-1786702952

LibRaw

Fixed versions: 0.21.1-1.el9.tuxcare.els4

LibRaw-devel

Fixed versions: 0.21.1-1.el9.tuxcare.els4

LibRaw-samples

Fixed versions: 0.21.1-1.el9.tuxcare.els4

LibRaw-static

Fixed versions: 0.21.1-1.el9.tuxcare.els4

Complete source record
{
  "id": "7a30e71e7df07c678e38a7ecb75d6e98a662b7d5a64b2dc9c1d940c16de40bdc",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1786702952",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "LibRaw: Fix of CVE-2026-5342",
    "summary": "- CVE-2026-5342: fix out-of-bounds read in nikon_load_padded_packed_raw by deriving the row buffer size from the final raw_width instead of the precomputed load_flags, and erroring out on short reads",
    "evidence": "osv:CLSA-2026-1786702952",
    "products": [
      {
        "name": {
          "value": "LibRaw",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.21.1-1.el9.tuxcare.els4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "LibRaw-devel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.21.1-1.el9.tuxcare.els4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "LibRaw-samples",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.21.1-1.el9.tuxcare.els4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "LibRaw-static",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.21.1-1.el9.tuxcare.els4",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1786702952",
      "aliases": [
        "CLSA-2026-1786702952"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.21.1-1.el9.tuxcare.els4"
                }
              ]
            }
          ],
          "package": {
            "name": "LibRaw",
            "purl": "pkg:rpm/tuxcare/LibRaw?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1786702952.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.21.1-1.el9.tuxcare.els4"
                }
              ]
            }
          ],
          "package": {
            "name": "LibRaw-devel",
            "purl": "pkg:rpm/tuxcare/LibRaw-devel?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1786702952.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.21.1-1.el9.tuxcare.els4"
                }
              ]
            }
          ],
          "package": {
            "name": "LibRaw-samples",
            "purl": "pkg:rpm/tuxcare/LibRaw-samples?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1786702952.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.21.1-1.el9.tuxcare.els4"
                }
              ]
            }
          ],
          "package": {
            "name": "LibRaw-static",
            "purl": "pkg:rpm/tuxcare/LibRaw-static?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1786702952.json"
          }
        }
      ],
      "modified": "2026-10-26T09:31:28.051952883Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-5342"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1786702952.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-5342"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-5342",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 447686,
  "published_at": "2026-08-14T10:22:41+00:00"
}