p PatchFirst

CVE-2026-135177

CVE-2026-135177 · LibRaw through 0.22.3 Out-of-Bounds Read via pentax_4shot_load_raw

CVSS 5.7 · Medium · EPSS 0.4%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • librawNo fix published
  • libraw Debian 12No fix published
  • libraw Debian 13No fix published
  • libraw Debian 14No fix published
  • and 20 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libraw"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax_4shot_load_raw() that allows attackers to crash applications by scanning tiff_ifd[] beyond its 10 entries. Attackers can supply a crafted four-frame Pentax DNG with too few IFDs matching the raw dimensions to cause denial of service when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled.

Published
Updated

Stack: system

Affected products and versions

  • libraw

    Versions
    • ≥ 0, ≤ 0.22.3: Affected (semver)

    No fix published

  • libraw Debian 12

    Versions
    • 0.20.2-2.1
    • 0.20.2-2.1+deb12u1
    • 0.20.2-2.1+deb12u2
    • 0.21.1-1
    • 0.21.1-2
    • 0.21.1-3
    All versions (27)
    • 0.21.1-4
    • 0.21.1-5
    • 0.21.1-6
    • 0.21.1-7
    • 0.21.2-1
    • 0.21.2-2
    • 0.21.2-2.1
    • 0.21.2-2.1~exp1
    • 0.21.3-1
    • 0.21.4-1
    • 0.21.4-2
    • 0.21.4-3~exp1
    • 0.21.4-3~exp2
    • 0.21.5b-1
    • 0.22.0-1~exp1
    • 0.22.1-1
    • 0.22.1-1~exp1
    • 0.22.1-1~exp2
    • 0.22.3-1
    • 0.22.3-1exp1
    • 0.22.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libraw Debian 13

    Versions
    • 0.21.4-2
    • 0.21.4-2+deb13u1
    • 0.21.4-3~exp1
    • 0.21.4-3~exp2
    • 0.21.5b-1
    • 0.22.0-1~exp1
    All versions (12)
    • 0.22.1-1
    • 0.22.1-1~exp1
    • 0.22.1-1~exp2
    • 0.22.3-1
    • 0.22.3-1exp1
    • 0.22.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libraw Debian 14

    Versions
    • 0.21.4-2
    • 0.21.4-3~exp1
    • 0.21.4-3~exp2
    • 0.21.5b-1
    • 0.22.0-1~exp1
    • 0.22.1-1
    All versions (11)
    • 0.22.1-1~exp1
    • 0.22.1-1~exp2
    • 0.22.3-1
    • 0.22.3-1exp1
    • 0.22.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libraw Ubuntu Pro 16.04 LTS

    Versions
    • 0.16.2-1
    • 0.17.0-1
    • 0.17.1-1
    • 0.17.1-1ubuntu0.1
    • 0.17.1-1ubuntu0.2
    • 0.17.1-1ubuntu0.3
    All versions (9)
    • 0.17.1-1ubuntu0.4
    • 0.17.1-1ubuntu0.5
    • 0.17.1-1ubuntu0.5+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • darktable Ubuntu 16.04 LTS

    Versions
    • 1.6.8-1
    • 1.6.9-1
    • 2.0.0-1
    • 2.0.1-1
    • 2.0.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dcraw Ubuntu 16.04 LTS

    Versions
    • 9.21-0.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • digikam Ubuntu Pro 16.04 LTS

    Versions
    • 4:4.12.0-0ubuntu5
    • 4:4.12.0-0ubuntu6
    • 4:4.12.0-0ubuntu7
    • 4:4.12.0-0ubuntu7+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • exactimage Ubuntu 16.04 LTS

    Versions
    • 0.9.1-6build1
    • 0.9.1-6ubuntu1
    • 0.9.1-8ubuntu1
    • 0.9.1-9
    • 0.9.1-9build1
    • 0.9.1-10
    All versions (9)
    • 0.9.1-11
    • 0.9.1-12
    • 0.9.1-12ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • kodi Ubuntu 16.04 LTS

    Versions
    • 15.1+dfsg1-3
    • 15.2+dfsg1-1build1
    • 15.2+dfsg1-3
    • 15.2+dfsg1-3ubuntu1
    • 15.2+dfsg1-3ubuntu1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rawtherapee Ubuntu 16.04 LTS

    Versions
    • 4.2-2build1
    • 4.2-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ufraw Ubuntu 16.04 LTS

    Versions
    • 0.20-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libraw Ubuntu Pro 18.04 LTS

    Versions
    • 0.18.2-2
    • 0.18.5-1
    • 0.18.7-2
    • 0.18.8-1
    • 0.18.8-1ubuntu0.1
    • 0.18.8-1ubuntu0.2
    All versions (9)
    • 0.18.8-1ubuntu0.3
    • 0.18.8-1ubuntu0.4
    • 0.18.8-1ubuntu0.4+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • darktable Ubuntu 18.04 LTS

    Versions
    • 2.2.5-2
    • 2.4.0-1
    • 2.4.1-1
    • 2.4.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dcraw Ubuntu 18.04 LTS

    Versions
    • 9.27-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • digikam Ubuntu Pro 18.04 LTS

    Versions
    • 4:5.6.0-0ubuntu2
    • 4:5.6.0-0ubuntu3
    • 4:5.6.0-0ubuntu4
    • 4:5.6.0-0ubuntu7
    • 4:5.6.0-0ubuntu8
    • 4:5.6.0-0ubuntu9
    All versions (8)
    • 4:5.6.0-0ubuntu10
    • 4:5.6.0-0ubuntu10+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • exactimage Ubuntu 18.04 LTS

    Versions
    • 0.9.2-1build1
    • 1.0.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • kodi Ubuntu 18.04 LTS

    Versions
    • 2:17.3+dfsg1-3
    • 2:17.3+dfsg1-3build1
    • 2:17.3+dfsg1-5
    • 2:17.3+dfsg1-5build1
    • 2:17.3+dfsg1-5build2
    • 2:17.6+dfsg1-1
    All versions (8)
    • 2:17.6+dfsg1-1build1
    • 2:17.6+dfsg1-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rawtherapee Ubuntu 18.04 LTS

    Versions
    • 5.2-1
    • 5.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ufraw Ubuntu 18.04 LTS

    Versions
    • 0.22-1.1
    • 0.22-2
    • 0.22-3
    • 0.22-3.1~build0.18.04.1
    • 0.22-3.1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libraw Ubuntu 20.04 LTS

    Versions
    • 0.19.5-1
    • 0.19.5-1ubuntu1
    • 0.19.5-1ubuntu1.1
    • 0.19.5-1ubuntu1.2
    • 0.19.5-1ubuntu1.3
    • 0.19.5-1ubuntu1.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • darktable Ubuntu 20.04 LTS

    Versions
    • 2.6.0-1
    • 2.6.2-3
    • 2.6.3-1
    • 2.6.3-1build1
    • 2.6.3-1build2
    • 3.0.1-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dcraw Ubuntu 20.04 LTS

    Versions
    • 9.28-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • digikam Ubuntu Pro 20.04 LTS

    Versions
    • 4:5.9.0-1ubuntu4
    • 4:6.4.0+dfsg-3
    • 4:6.4.0+dfsg-3build1
    • 4:6.4.0+dfsg-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →