×ばつ48) decodes decodes (no regression) Important: this is a stopgap The vendored libtiff here is 3.9.4 (2010). It still carries many other pre-4.0 libtiff CVEs beyond this one; a single backport does not make it safe. Strongly recommend upgrading the vendored CxImage libtiff to a current 4.x release (and ideally consolidating with the 4.x copy already present under DesktopEditor/raster/Jp2/openjpeg/.../thirdparty/libtiff). This PR is a minimal, low-risk mitigation for the one reachable heap-write in the meantime. Refs: CVE-2011-0192; upstream libtiff 3.9.5 tif_fax3.h fix.">
Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix CCITT Fax3/Fax4 decoder heap overflow in vendored libtiff (CVE-2011-0192) #1643

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

Open
dkgkdfg65 wants to merge 1 commit into ONLYOFFICE:master
base: master
Choose a base branch
Loading
from dkgkdfg65:fix-libtiff-fax4-cve-2011-0192
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions DesktopEditor/cximage/tiff/tif_fax3.h
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,12 @@ done1d: \
break; \
case S_VL: \
CHECK_b1; \
if (b1 <= (int) (a0 + TabEnt->Param)) { \
if (b1 < (int) (a0 + TabEnt->Param) || pa != thisrun) { \
unexpected("VL", a0); \
goto eol2d; \
} \
} \
SETVALUE(b1 - a0 - TabEnt->Param); \
b1 -= *--pb; \
break; \
Expand Down

AltStyle によって変換されたページ (->オリジナル) /