Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • L libtiff
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 159
    • Issues 159
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libtiff
  • libtiff
  • Issues
  • #316
Closed
Open
Issue created Nov 27, 2021 by Dirk Lemstra@dlemstraContributor

Null-dereference READ in TIFFPrintDirectory

Summary

For custom tags there seems to be a missing null check inside the TIFFPrintDirectory method. The value of raw_data (https://gitlab.com/libtiff/libtiff/-/blob/80b003420d4e657379f7c96a71d421abb68a1087/libtiff/tif_print.c#L576) can be null when _TIFFPrettyPrintField and _TIFFPrintField are being called. And also undefined when fip->field_passcount is not zero.

Version

4.3.0

Steps to reproduce

The issue can be reproduced with this file:

clusterfuzz-testcase-minimized-ping_tiff64_fuzzer-5594621221666816.fuzz (with tag 37382)

Platform

Windows x64 Visual Studio 2019

Edited Nov 27, 2021 by Dirk Lemstra
Assignee
Assign to
Time tracking