Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integer overflow causes out-of-bounds read in CiffDirectory::readDirectory() #843

Closed
kevinbackhouse opened this issue May 13, 2019 · 2 comments
Labels

Comments

@kevinbackhouse
Copy link
Collaborator

kevinbackhouse commented May 13, 2019

The problem is that the calculation of o+2 can overflow at crwimage_int.cpp:284.

issue_843_poc

Reproducible on the 0.27-maintenance branch (f4a37c6):

exiv2 issue_843_poc.jpg
@kevinbackhouse
Copy link
Collaborator Author

This bug is also reproducible in v0.25, but not in v0.26, so I have created #874 to back-port the fix to v0.25.

@kevinbackhouse
Copy link
Collaborator Author

This has been assigned CVE-2019-13110.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants