New issue
Advanced search Search tips

Issue 808442 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Integer-overflow in CJBig2_TRDProc::decode_Arith

Project Member Reported by ClusterFuzz, Feb 2 2018

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=4658193956077568

Fuzzer: libFuzzer_pdf_codec_jbig2_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Integer-overflow
Crash Address: 
Crash State:
  CJBig2_TRDProc::decode_Arith
  CJBig2_Context::parseTextRegion
  CJBig2_Context::parseSegmentData
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=421422:421461

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=4658193956077568

Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md for more information.
 
Project Member

Comment 1 by ClusterFuzz, Feb 2 2018

Components: Internals>Plugins>PDF
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Owner: npm@chromium.org
Status: Unconfirmed (was: Untriaged)
Assigning by similarity to  bug 778961  and  bug 649278 .

Comment 3 by npm@chromium.org, Feb 16 2018

Cc: npm@chromium.org
Owner: dsinclair@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning all my PDF bugs to dsinclair@ for triaging. Will not be working on PDFium for a month.
Project Member

Comment 4 by ClusterFuzz, Apr 24 2018

ClusterFuzz has detected this issue as fixed in range 552911:552920.

Detailed report: https://clusterfuzz.com/testcase?key=4658193956077568

Fuzzer: libFuzzer_pdf_codec_jbig2_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Integer-overflow
Crash Address: 
Crash State:
  CJBig2_TRDProc::decode_Arith
  CJBig2_Context::parseTextRegion
  CJBig2_Context::parseSegmentData
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=421422:421461
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=552911:552920

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=4658193956077568

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 5 by ClusterFuzz, Apr 24 2018

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 4658193956077568 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Owner: thestig@chromium.org
Likely https://pdfium.googlesource.com/pdfium/+/cca452eab645fd6b0e63ab2fd1dd553277df111e stopped the integer overflow by limiting image sizes.

Sign in to add a comment