Skip to content

Fix bounds check issue in PDF parser#988

Merged
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2339-pdf_nextobject-bytes-remaining
Aug 10, 2023
Merged

Fix bounds check issue in PDF parser#988
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2339-pdf_nextobject-bytes-remaining

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Aug 7, 2023

The bytes_remaining variable may be set negative by mistake, when really we just want to decrement it.
This issue may result in a 1-byte over read but does not cause any crash.

We determined that this issue is not a vulnerability.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58475

The bytes_remaining variable may be set negative by mistake, when really
we just want to decrement it.
This issue may result in a 1-byte over read but does not cause any
crash.

We determined that this issue is not a vulnerability.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58475
@val-ms val-ms merged commit ba49cbf into Cisco-Talos:main Aug 10, 2023
@val-ms val-ms deleted the CLAM-2339-pdf_nextobject-bytes-remaining branch August 10, 2023 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants