idx
int64
project
string
commit_id
string
project_url
string
commit_url
string
commit_message
string
target
int64
func
string
func_hash
float64
file_name
string
file_hash
float64
cwe
list
cve
string
cve_desc
string
nvd_url
string
504,365
server
01b39b7b0730102b88d8ea43ec719a75e9316a1e
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e
mysqltest: don't eat new lines in --exec pass them through as is
0
int do_modify_var(struct st_command *command, enum enum_operator op) { const char *p= command->first_argument; VAR* v; if (!*p) die("Missing argument to %.*s", command->first_word_len, command->query); if (*p != '$') die("The argument to %.*s must be a variable (start with $)",...
233,662,173,337,954,400,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2017-3600
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis...
https://nvd.nist.gov/vuln/detail/CVE-2017-3600
504,366
server
01b39b7b0730102b88d8ea43ec719a75e9316a1e
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e
mysqltest: don't eat new lines in --exec pass them through as is
0
void replace_strings_append(REPLACE *rep, DYNAMIC_STRING* ds, const char *str, int len __attribute__((unused))) { reg1 REPLACE *rep_pos; reg2 REPLACE_STRING *rep_str; const char *start, *from; DBUG_ENTER("replace_strings_append"); start= from= str; re...
27,210,269,575,547,355,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2017-3600
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis...
https://nvd.nist.gov/vuln/detail/CVE-2017-3600
504,367
server
01b39b7b0730102b88d8ea43ec719a75e9316a1e
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e
mysqltest: don't eat new lines in --exec pass them through as is
0
bool open_and_set_current(const char *name) { FILE *opened= fopen(name, "rb"); if (!opened) return false; cur_file++; cur_file->file= opened; cur_file->file_name= my_strdup(name, MYF(MY_FAE)); cur_file->lineno=1; return true; }
9,529,959,348,569,563,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2017-3600
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis...
https://nvd.nist.gov/vuln/detail/CVE-2017-3600
504,368
server
01b39b7b0730102b88d8ea43ec719a75e9316a1e
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e
mysqltest: don't eat new lines in --exec pass them through as is
0
size_t print_file_stack(char *s, const char *end) { char *start= s; struct st_test_file* err_file= cur_file; if (err_file == file_stack) return 0; for (;;) { err_file--; s+= my_snprintf(s, end - s, "included from %s at line %d:\n", err_file->file_name, err_file->lineno); ...
77,731,186,866,208,770,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2017-3600
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis...
https://nvd.nist.gov/vuln/detail/CVE-2017-3600
504,369
server
01b39b7b0730102b88d8ea43ec719a75e9316a1e
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e
mysqltest: don't eat new lines in --exec pass them through as is
0
void handle_command_error(struct st_command *command, uint error, int sys_errno) { DBUG_ENTER("handle_command_error"); DBUG_PRINT("enter", ("error: %d", error)); var_set_int("$sys_errno",sys_errno); var_set_int("$errno",error); if (error != 0) { int i; if (command->abort_o...
242,279,580,444,390,900,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2017-3600
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis...
https://nvd.nist.gov/vuln/detail/CVE-2017-3600
504,403
core
000030feb7a30f193197f1aab8a7b04a26b42735
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch
auth: Do not double-expand key in passdb dict when authenticating Broken by 79042f8c
0
bool db_dict_value_iter_next(struct db_dict_value_iter *iter, const char **key_r, const char **value_r) { static struct var_expand_func_table var_funcs_table[] = { { "dict", db_dict_field_find }, { NULL, NULL } }; const struct db_dict_field *field; const char *error; if (iter->field_idx == array_count...
155,860,029,566,215,540,000,000,000,000,000,000,000
None
null
[ "CWE-284" ]
CVE-2017-2669
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage c...
https://nvd.nist.gov/vuln/detail/CVE-2017-2669
504,404
core
000030feb7a30f193197f1aab8a7b04a26b42735
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch
auth: Do not double-expand key in passdb dict when authenticating Broken by 79042f8c
0
db_dict_field_find(const char *data, void *context, const char **value_r, const char **error_r ATTR_UNUSED) { struct db_dict_value_iter *iter = context; struct db_dict_iter_key *key; const char *name, *value, *dotname = strchr(data, '.'); string_t *tmpstr; *value_r = NULL; if (dotname != NULL) data ...
143,396,046,174,816,860,000,000,000,000,000,000,000
None
null
[ "CWE-284" ]
CVE-2017-2669
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage c...
https://nvd.nist.gov/vuln/detail/CVE-2017-2669
504,405
core
000030feb7a30f193197f1aab8a7b04a26b42735
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch
auth: Do not double-expand key in passdb dict when authenticating Broken by 79042f8c
0
struct dict_connection *db_dict_init(const char *config_path) { struct dict_settings dict_set; struct dict_settings_parser_ctx ctx; struct dict_connection *conn; const char *error; pool_t pool; conn = dict_conn_find(config_path); if (conn != NULL) { conn->refcount++; return conn; } if (*config_path == '\...
217,218,315,011,019,700,000,000,000,000,000,000,000
None
null
[ "CWE-284" ]
CVE-2017-2669
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage c...
https://nvd.nist.gov/vuln/detail/CVE-2017-2669
504,406
core
000030feb7a30f193197f1aab8a7b04a26b42735
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch
auth: Do not double-expand key in passdb dict when authenticating Broken by 79042f8c
0
static int db_dict_iter_lookup_key_values(struct db_dict_value_iter *iter) { struct db_dict_iter_key *key; string_t *path; const char *error; int ret; /* sort the keys so that we'll first lookup the keys without default value. if their lookup fails, the user doesn't exist. */ array_sort(&iter->keys, db_dict_...
237,433,190,094,419,900,000,000,000,000,000,000,000
None
null
[ "CWE-284" ]
CVE-2017-2669
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage c...
https://nvd.nist.gov/vuln/detail/CVE-2017-2669
504,407
core
000030feb7a30f193197f1aab8a7b04a26b42735
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch
auth: Do not double-expand key in passdb dict when authenticating Broken by 79042f8c
0
int db_dict_value_iter_init(struct dict_connection *conn, struct auth_request *auth_request, const ARRAY_TYPE(db_dict_field) *fields, const ARRAY_TYPE(db_dict_key_p) *objects, struct db_dict_value_iter **iter_r) { struct db_dict_value_iter *iter; struct db_dict_iter_key *iterkey; const st...
257,908,338,686,215,360,000,000,000,000,000,000,000
None
null
[ "CWE-284" ]
CVE-2017-2669
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage c...
https://nvd.nist.gov/vuln/detail/CVE-2017-2669
504,408
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
TIFFReadRGBATileExt(TIFF* tif, uint32 col, uint32 row, uint32 * raster, int stop_on_error ) { char emsg[1024] = ""; TIFFRGBAImage img; int ok; uint32 tile_xsize, tile_ysize; uint32 read_xsize, read_ysize; uint32 i_row; /* * Verify that our request is legal - on a tile file, and on a ...
234,225,368,535,374,200,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,409
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLARESepPutFunc(putRGBUAseparate16bittile) { uint16 *wr = (uint16*) r; uint16 *wg = (uint16*) g; uint16 *wb = (uint16*) b; uint16 *wa = (uint16*) a; (void) img; (void) y; while (h-- > 0) { uint32 r2,g2,b2,a2; uint8* m; for (x = w; x-- > 0;) { a2 = img->Bitdepth16To8[*wa++]; m = img->UaToAa+((size_t)...
97,792,428,541,461,370,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,410
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLAREContigPutFunc(putagreytile) { int samplesperpixel = img->samplesperpixel; uint32** BWmap = img->BWmap; (void) y; while (h-- > 0) { for (x = w; x-- > 0;) { *cp++ = BWmap[*pp][0] & ((uint32)*(pp+1) << 24 | ~A1); pp += samplesperpixel; } cp += toskew; pp +...
165,423,150,374,571,270,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,411
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLAREContigPutFunc(putRGBUAcontig16bittile) { int samplesperpixel = img->samplesperpixel; uint16 *wp = (uint16 *)pp; (void) y; fromskew *= samplesperpixel; while (h-- > 0) { uint32 r,g,b,a; uint8* m; for (x = w; x-- > 0;) { a = img->Bitdepth16To8[wp[3]]; m = img->UaToAa+((size_t) a<<8); r = m[img-...
49,748,009,036,258,450,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,412
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLAREContigPutFunc(putcontig8bitYCbCr42tile) { uint32* cp1 = cp+w+toskew; int32 incr = 2*toskew+w; (void) y; fromskew = (fromskew * 10) / 4; if ((w & 3) == 0 && (h & 1) == 0) { for (; h >= 2; h -= 2) { x = w>>2; do { int32 Cb = pp[8]; ...
50,953,603,220,580,190,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,413
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) { TIFF* tif = img->tif; tileContigRoutine put = img->put.contig; uint32 row, y, nrow, nrowsub, rowstoread; tmsize_t pos; unsigned char* buf; uint32 rowsperstrip; uint16 subsamplinghor,subsamplingver; uint32 imagewidth = img->width; tmsize_t ...
155,077,438,589,704,630,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,414
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLAREContigPutFunc(putRGBUAcontig8bittile) { int samplesperpixel = img->samplesperpixel; (void) y; fromskew *= samplesperpixel; while (h-- > 0) { uint32 r, g, b, a; uint8* m; for (x = w; x-- > 0;) { a = pp[3]; m = img->UaToAa+((size_t) a<<8); r = m[pp[0]]; g = m[pp[1]]; b = m[pp[2]]; *cp++...
91,205,634,216,847,440,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,415
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
TIFFRGBAImageOK(TIFF* tif, char emsg[1024]) { TIFFDirectory* td = &tif->tif_dir; uint16 photometric; int colorchannels; if (!tif->tif_decodestatus) { sprintf(emsg, "Sorry, requested compression method is not configured"); return (0); } switch (td->td_bitspersample) { case 1: case 2: case 4: case 8: ...
262,495,397,852,275,300,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,416
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
gtTileContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) { TIFF* tif = img->tif; tileContigRoutine put = img->put.contig; uint32 col, row, y, rowstoread; tmsize_t pos; uint32 tw, th; unsigned char* buf; int32 fromskew, toskew; uint32 nrow; int ret = 1, flip; uint32 th...
15,618,982,114,601,974,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,417
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
gtStripSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) { TIFF* tif = img->tif; tileSeparateRoutine put = img->put.separate; unsigned char *buf; unsigned char *p0, *p1, *p2, *pa; uint32 row, y, nrow, rowstoread; tmsize_t pos; tmsize_t scanline; uint32 rowsperstrip, offset_row; uint32 imagewidth...
211,616,475,340,017,600,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,418
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop, char emsg[1024]) { uint16* sampleinfo; uint16 extrasamples; uint16 planarconfig; uint16 compress; int colorchannels; uint16 *red_orig, *green_orig, *blue_orig; int n_color; if( !TIFFRGBAImageOK(tif, emsg) ) return 0; /* Initialize to normal value...
244,638,398,436,718,700,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,419
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLAREContigPutFunc(putcontig8bitYCbCr44tile) { uint32* cp1 = cp+w+toskew; uint32* cp2 = cp1+w+toskew; uint32* cp3 = cp2+w+toskew; int32 incr = 3*w+4*toskew; (void) y; /* adjust fromskew */ fromskew = (fromskew * 18) / 4; if ((h & 3) == 0 && (w & 3) == 0) { for (; h...
101,094,605,744,542,470,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,420
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
gtTileSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) { TIFF* tif = img->tif; tileSeparateRoutine put = img->put.separate; uint32 col, row, y, rowstoread; tmsize_t pos; uint32 tw, th; unsigned char* buf; unsigned char* p0; unsigned char* p1; unsigned char* p2; unsigned char* pa; tmsize_t til...
327,825,224,886,954,700,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,421
libtiff
48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/48780b4fcc425cddc4ef8ffdf536f96a0d1b313b
* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to avoid UndefinedBehaviorSanitizer warning. Patch by Nicolás Peña. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
0
DECLARESepPutFunc(putRGBUAseparate8bittile) { (void) img; (void) y; while (h-- > 0) { uint32 rv, gv, bv, av; uint8* m; for (x = w; x-- > 0;) { av = *a++; m = img->UaToAa+((size_t) av<<8); rv = m[*r++]; gv = m[*g++]; bv = m[*b++]; *cp++ = PACK4(rv,gv,bv,av); } SKEW4(r, g, b, a, fromskew); ...
194,745,984,082,173,070,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2017-7592
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7592
504,422
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
TIFFFdOpen(int fd, const char* name, const char* mode) { TIFF* tif; fd_as_handle_union_t fdh; fdh.fd = fd; tif = TIFFClientOpen(name, mode, fdh.h, _tiffReadProc, _tiffWriteProc, _tiffSeekProc, _tiffCloseProc, _tiffSizeProc, _tiffMapProc, _tiffUnmapProc); if (tif) tif->tif_fd = fd; return (t...
128,980,615,769,997,050,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,423
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
TIFFFdOpen(int ifd, const char* name, const char* mode) { TIFF* tif; int fSuppressMap; int m; fSuppressMap=0; for (m=0; mode[m]!=0; m++) { if (mode[m]=='u') { fSuppressMap=1; break; } } tif = TIFFClientOpen(name, mode, (thandle_t)ifd, /* FIXME: WIN64 cast to pointer warning */ _tiffReadProc, _tif...
291,152,251,933,566,080,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,424
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffSeekProc(thandle_t fd, uint64 off, int whence) { fd_as_handle_union_t fdh; _TIFF_off_t off_io = (_TIFF_off_t) off; if ((uint64) off_io != off) { errno=EINVAL; return (uint64) -1; /* this is really gross */ } fdh.h = fd; return((uint64)_TIFF_lseek_f(fdh.fd,off_io,whence)); }
69,766,989,188,240,970,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,425
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffSizeProc(thandle_t fd) { _TIFF_stat_s sb; return (toff_t) (_TIFF_fstat_f((int) fd, &sb) < 0 ? 0 : sb.st_size); }
273,607,415,908,562,060,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,426
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffReadProc(thandle_t fd, void* buf, tmsize_t size) { fd_as_handle_union_t fdh; const size_t bytes_total = (size_t) size; size_t bytes_read; tmsize_t count = -1; if ((tmsize_t) bytes_total != size) { errno=EINVAL; return (tmsize_t) -1; } fdh.h = fd; for (bytes_read=0; bytes_re...
168,275,782,066,898,000,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,427
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
TIFFOpen(const char* name, const char* mode) { static const char module[] = "TIFFOpen"; thandle_t fd; int m; DWORD dwMode; TIFF* tif; m = _TIFFgetMode(mode, module); switch(m) { case O_RDONLY: dwMode = OPEN_EXISTING; break; case O_RDWR: dwMode = OPEN_ALWAYS; break; case O_RDWR|O_CREAT: dwMode = OP...
57,215,360,228,449,150,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,428
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffWriteProc(thandle_t fd, void* buf, tmsize_t size) { fd_as_handle_union_t fdh; const size_t bytes_total = (size_t) size; size_t bytes_written; tmsize_t count = -1; if ((tmsize_t) bytes_total != size) { errno=EINVAL; return (tmsize_t) -1; } fdh.h = fd; for (bytes_written=0; bytes_wr...
306,118,872,125,992,780,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,429
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffMapProc(thandle_t fd, void** pbase, toff_t* psize) { uint64 size64 = _tiffSizeProc(fd); tmsize_t sizem = (tmsize_t)size64; if ((uint64)sizem==size64) { fd_as_handle_union_t fdh; fdh.h = fd; *pbase = (void*) mmap(0, (size_t)sizem, PROT_READ, MAP_SHARED, fdh.fd, 0); if (*pbase != (void*) -1) { *p...
102,472,133,601,660,340,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,430
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffSizeProc(thandle_t fd) { _TIFF_stat_s sb; fd_as_handle_union_t fdh; fdh.h = fd; if (_TIFF_fstat_f(fdh.fd,&sb)<0) return(0); else return((uint64)sb.st_size); }
7,593,385,817,620,951,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,431
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffCloseProc(thandle_t fd) { fd_as_handle_union_t fdh; fdh.h = fd; return(close(fdh.fd)); }
226,565,312,127,139,870,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,432
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
TIFFOpenW(const wchar_t* name, const char* mode) { static const char module[] = "TIFFOpenW"; thandle_t fd; int m; DWORD dwMode; int mbsize; char *mbname; TIFF *tif; m = _TIFFgetMode(mode, module); switch(m) { case O_RDONLY: dwMode = OPEN_EXISTING; break; case O_RDWR: dwMode = OPEN_ALWAYS; break; ...
59,847,962,726,803,545,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,433
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
TIFFOpenW(const wchar_t* name, const char* mode) { static const char module[] = "TIFFOpenW"; int m, fd; int mbsize; char *mbname; TIFF* tif; m = _TIFFgetMode(mode, module); if (m == -1) return ((TIFF*)0); /* for cygwin and mingw */ #ifdef O_BINARY m |= O_BINARY; #endif fd = _wopen(name, m, 0666); if (fd ...
109,048,155,532,682,290,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,434
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
_tiffSeekProc(thandle_t fd, toff_t off, int whence) { return ((toff_t) _TIFF_lseek_f((int) fd, (_TIFF_off_t) off, whence)); }
151,980,780,507,977,670,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,435
libtiff
d60332057b9575ada4f264489582b13e30137be1
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1
* libtiff/tiffiop.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc() * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero initialize tif_rawdata. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
0
void* _TIFFcalloc(tmsize_t nmemb, tmsize_t siz) { if( nmemb == 0 || siz == 0 ) return ((void *) NULL); return calloc((size_t) nmemb, (size_t)siz); }
304,491,613,418,428,450,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2017-7593
tif_read.c in LibTIFF 4.0.7 does not ensure that tif_rawdata is properly initialized, which might allow remote attackers to obtain sensitive information from process memory via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7593
504,436
libtiff
2ea32f7372b65c24b2816f11c04bf59b5090d05b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/2ea32f7372b65c24b2816f11c04bf59b5090d05b
* libtiff/tif_ojpeg.c: fix leak in OJPEGReadHeaderInfoSecTablesQTable, OJPEGReadHeaderInfoSecTablesDcTable and OJPEGReadHeaderInfoSecTablesAcTable
0
OJPEGReadHeaderInfoSecTablesAcTable(TIFF* tif) { static const char module[]="OJPEGReadHeaderInfoSecTablesAcTable"; OJPEGState* sp=(OJPEGState*)tif->tif_data; uint8 m; uint8 n; uint8 o[16]; uint32 p; uint32 q; uint32 ra; uint8* rb; if (sp->actable_offset[0]==0) { TIFFErrorExt(tif->tif_clientdata,module,"Mis...
331,581,636,064,679,130,000,000,000,000,000,000,000
None
null
[ "CWE-772" ]
CVE-2017-7594
The OJPEGReadHeaderInfoSecTablesDcTable function in tif_ojpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (memory leak) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7594
504,437
libtiff
2ea32f7372b65c24b2816f11c04bf59b5090d05b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/2ea32f7372b65c24b2816f11c04bf59b5090d05b
* libtiff/tif_ojpeg.c: fix leak in OJPEGReadHeaderInfoSecTablesQTable, OJPEGReadHeaderInfoSecTablesDcTable and OJPEGReadHeaderInfoSecTablesAcTable
0
OJPEGReadHeaderInfoSecTablesQTable(TIFF* tif) { static const char module[]="OJPEGReadHeaderInfoSecTablesQTable"; OJPEGState* sp=(OJPEGState*)tif->tif_data; uint8 m; uint8 n; uint32 oa; uint8* ob; uint32 p; if (sp->qtable_offset[0]==0) { TIFFErrorExt(tif->tif_clientdata,module,"Missing JPEG tables"); return...
155,697,331,201,044,340,000,000,000,000,000,000,000
None
null
[ "CWE-772" ]
CVE-2017-7594
The OJPEGReadHeaderInfoSecTablesDcTable function in tif_ojpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (memory leak) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7594
504,438
libtiff
2ea32f7372b65c24b2816f11c04bf59b5090d05b
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/2ea32f7372b65c24b2816f11c04bf59b5090d05b
* libtiff/tif_ojpeg.c: fix leak in OJPEGReadHeaderInfoSecTablesQTable, OJPEGReadHeaderInfoSecTablesDcTable and OJPEGReadHeaderInfoSecTablesAcTable
0
OJPEGReadHeaderInfoSecTablesDcTable(TIFF* tif) { static const char module[]="OJPEGReadHeaderInfoSecTablesDcTable"; OJPEGState* sp=(OJPEGState*)tif->tif_data; uint8 m; uint8 n; uint8 o[16]; uint32 p; uint32 q; uint32 ra; uint8* rb; if (sp->dctable_offset[0]==0) { TIFFErrorExt(tif->tif_clientdata,module,"Mis...
43,072,082,659,704,500,000,000,000,000,000,000,000
None
null
[ "CWE-772" ]
CVE-2017-7594
The OJPEGReadHeaderInfoSecTablesDcTable function in tif_ojpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (memory leak) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7594
504,439
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_start_decompress(JPEGState* sp) { return CALLVJPEG(sp, jpeg_start_decompress(&sp->cinfo.d)); }
81,904,097,799,961,240,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,440
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_destroy(JPEGState* sp) { return CALLVJPEG(sp, jpeg_destroy(&sp->cinfo.comm)); }
29,113,885,596,227,823,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,441
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGPostEncode(TIFF* tif) { JPEGState *sp = JState(tif); if (sp->scancount > 0) { /* * Need to emit a partial bufferload of downsampled data. * Pad the data vertically. */ int ci, ypos, n; jpeg_component_info* compptr; for (ci = 0, compptr = sp->cinfo.c.comp_info; ci < sp->cinfo.c.num_compon...
135,656,743,746,485,480,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,442
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { JPEGState* sp = (JPEGState*) cinfo; if (num_bytes > 0) { if ((size_t)num_bytes > sp->src.bytes_in_buffer) { /* oops, buffer overrun */ (void) std_fill_input_buffer(cinfo); } else { sp->src.next_input_byte += (size_t) num_bytes; sp->src.byt...
169,036,099,476,230,170,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,443
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_fill_input_buffer(j_decompress_ptr cinfo) { JPEGState* sp = (JPEGState* ) cinfo; static const JOCTET dummy_EOI[2] = { 0xFF, JPEG_EOI }; #ifdef IPPJ_HUFF /* * The Intel IPP performance library does not necessarily read the whole * input buffer in one pass, so it is possible to get here w...
47,355,588,737,695,400,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,444
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGFixupTags(TIFF* tif) { #ifdef CHECK_JPEG_YCBCR_SUBSAMPLING if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& (tif->tif_dir.td_planarconfig==PLANARCONFIG_CONTIG)&& (tif->tif_dir.td_samplesperpixel==3)) JPEGFixupTagsSubsampling(tif); #endif return(1); }
274,606,965,713,903,960,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,445
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) { JPEGState* sp = JState(tif); TIFFDirectory *td = &tif->tif_dir; (*sp->deftparent)(tif, tw, th); *tw = TIFFroundup_32(*tw, td->td_ycbcrsubsampling[0] * DCTSIZE); *th = TIFFroundup_32(*th, td->td_ycbcrsubsampling[1] * DCTSIZE); }
131,299,777,514,847,200,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,446
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_create_decompress(JPEGState* sp) { /* initialize JPEG error handling */ sp->cinfo.d.err = jpeg_std_error(&sp->err); sp->err.error_exit = TIFFjpeg_error_exit; sp->err.output_message = TIFFjpeg_output_message; /* set client_data to avoid UMR warning from tools like Purify */ sp->cinfo.d.client_data = NULL...
231,293,787,290,075,730,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,447
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) { JPEGState *sp = JState(tif); tmsize_t nrows; (void) s; /* ** Update available information, buffer may have been refilled ** between decode requests */ sp->src.next_input_byte = (const JOCTET*) tif->tif_rawcp; sp->src.bytes_...
244,653,642,937,878,020,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,448
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_finish_decompress(JPEGState* sp) { return CALLJPEG(sp, -1, (int) jpeg_finish_decompress(&sp->cinfo.d)); }
140,354,335,971,121,430,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,449
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_set_quality(JPEGState* sp, int quality, boolean force_baseline) { return CALLVJPEG(sp, jpeg_set_quality(&sp->cinfo.c, quality, force_baseline)); }
221,504,488,594,195,750,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,450
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_set_colorspace(JPEGState* sp, J_COLOR_SPACE colorspace) { return CALLVJPEG(sp, jpeg_set_colorspace(&sp->cinfo.c, colorspace)); }
326,658,250,815,430,800,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,451
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
unsuppress_huff_table (JPEGState* sp, int tblno) { JHUFF_TBL* htbl; if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) htbl->sent_table = FALSE; if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) htbl->sent_table = FALSE; }
72,985,175,599,827,605,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,452
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_create_compress(JPEGState* sp) { /* initialize JPEG error handling */ sp->cinfo.c.err = jpeg_std_error(&sp->err); sp->err.error_exit = TIFFjpeg_error_exit; sp->err.output_message = TIFFjpeg_output_message; /* set client_data to avoid UMR warning from tools like Purify */ sp->cinfo.c.client_data = NULL; ...
271,227,499,351,109,800,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,453
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_term_source(j_decompress_ptr cinfo) { /* No work necessary here */ (void) cinfo; }
129,769,839,584,317,240,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,454
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
tables_init_source(j_decompress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; sp->src.next_input_byte = (const JOCTET*) sp->jpegtables; sp->src.bytes_in_buffer = (size_t) sp->jpegtables_length; }
109,267,800,018,825,040,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,455
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGFixupTagsSubsamplingReadWord(struct JPEGFixupTagsSubsamplingData* data, uint16* result) { uint8 ma; uint8 mb; if (!JPEGFixupTagsSubsamplingReadByte(data,&ma)) return(0); if (!JPEGFixupTagsSubsamplingReadByte(data,&mb)) return(0); *result=(ma<<8)|mb; return(1); }
297,983,830,551,338,230,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,456
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGDefaultStripSize(TIFF* tif, uint32 s) { JPEGState* sp = JState(tif); TIFFDirectory *td = &tif->tif_dir; s = (*sp->defsparent)(tif, s); if (s < td->td_imagelength) s = TIFFroundup_32(s, td->td_ycbcrsubsampling[1] * DCTSIZE); return (s); }
217,545,813,981,469,330,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,457
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
suppress_huff_table (JPEGState* sp, int tblno) { JHUFF_TBL* htbl; if ((htbl = sp->cinfo.c.dc_huff_tbl_ptrs[tblno]) != NULL) htbl->sent_table = TRUE; if ((htbl = sp->cinfo.c.ac_huff_tbl_ptrs[tblno]) != NULL) htbl->sent_table = TRUE; }
309,303,102,132,771,100,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,458
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_data_dest(JPEGState* sp, TIFF* tif) { (void) tif; sp->cinfo.c.dest = &sp->dest; sp->dest.init_destination = std_init_destination; sp->dest.empty_output_buffer = std_empty_output_buffer; sp->dest.term_destination = std_term_destination; }
78,132,638,837,357,220,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,459
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_alloc_sarray(JPEGState* sp, int pool_id, JDIMENSION samplesperrow, JDIMENSION numrows) { return CALLJPEG(sp, (JSAMPARRAY) NULL, (*sp->cinfo.comm.mem->alloc_sarray) (&sp->cinfo.comm, pool_id, samplesperrow, numrows)); }
66,863,181,051,765,500,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,460
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
unsuppress_quant_table (JPEGState* sp, int tblno) { JQUANT_TBL* qtbl; if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) qtbl->sent_table = FALSE; }
95,190,038,537,048,150,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,461
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
DecodeRowError(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) { (void) buf; (void) cc; (void) s; TIFFErrorExt(tif->tif_clientdata, "TIFFReadScanline", "scanline oriented access is not supported for downsampled JPEG compressed images, consider enabling TIFF_JPEGCOLORMODE as JPEGCOLORMOD...
192,220,573,573,283,700,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,462
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) { JPEGState *sp = JState(tif); JSAMPLE* inptr; JSAMPLE* outptr; tmsize_t nrows; JDIMENSION clumps_per_line, nclump; int clumpoffset, ci, xpos, ypos; jpeg_component_info* compptr; int samples_per_clump = sp->samplesperclump; tmsize_t bytesperclumpline;...
56,549,967,222,505,400,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,463
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
static int JPEGInitializeLibJPEG( TIFF * tif, int decompress ) { JPEGState* sp = JState(tif); if(sp->cinfo_initialized) { if( !decompress && sp->cinfo.comm.is_decompressor ) TIFFjpeg_destroy( sp ); else if( decompress && !sp->cinfo.comm.is_decompressor ) TIFFjpeg_des...
125,805,234,573,311,900,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,464
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
tables_init_destination(j_compress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; /* while building, jpegtables_length is allocated buffer size */ sp->dest.next_output_byte = (JOCTET*) sp->jpegtables; sp->dest.free_in_buffer = (size_t) sp->jpegtables_length; }
239,183,395,955,387,000,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,465
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_set_defaults(JPEGState* sp) { return CALLVJPEG(sp, jpeg_set_defaults(&sp->cinfo.c)); }
335,457,244,906,049,250,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,466
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGPrintDir(TIFF* tif, FILE* fd, long flags) { JPEGState* sp = JState(tif); assert(sp != NULL); (void) flags; if( sp != NULL ) { if (TIFFFieldSet(tif,FIELD_JPEGTABLES)) fprintf(fd, " JPEG Tables: (%lu bytes)\n", (unsigned long) sp->jpegtables_length); if (sp->printdir) (*sp->printdir)(tif, ...
1,756,422,433,296,942,600,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,467
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_suppress_tables(JPEGState* sp, boolean suppress) { return CALLVJPEG(sp, jpeg_suppress_tables(&sp->cinfo.c, suppress)); }
304,159,703,056,509,300,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,468
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGFixupTagsSubsamplingReadByte(struct JPEGFixupTagsSubsamplingData* data, uint8* result) { if (data->bufferbytesleft==0) { uint32 m; if (data->filebytesleft==0) return(0); if (!data->filepositioned) { TIFFSeekFile(data->tif,data->fileoffset,SEEK_SET); data->filepositioned=1; } m=data->buffersiz...
279,082,987,555,352,750,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,469
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGPreEncode(TIFF* tif, uint16 s) { JPEGState *sp = JState(tif); TIFFDirectory *td = &tif->tif_dir; static const char module[] = "JPEGPreEncode"; uint32 segment_width, segment_height; int downsampled_input; assert(sp != NULL); if (sp->cinfo.comm.is_decompressor == 1) { tif->tif_setupencode( tif ); } ...
165,172,795,558,500,400,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,470
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_read_header(JPEGState* sp, boolean require_image) { return CALLJPEG(sp, -1, jpeg_read_header(&sp->cinfo.d, require_image)); }
8,170,137,736,639,537,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,471
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
alloc_downsampled_buffers(TIFF* tif, jpeg_component_info* comp_info, int num_components) { JPEGState* sp = JState(tif); int ci; jpeg_component_info* compptr; JSAMPARRAY buf; int samples_per_clump = 0; for (ci = 0, compptr = comp_info; ci < num_components; ci++, compptr++) { samples_per_clump += comp...
100,798,337,166,998,900,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,472
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFInitJPEG(TIFF* tif, int scheme) { JPEGState* sp; assert(scheme == COMPRESSION_JPEG); /* * Merge codec-specific tag information. */ if (!_TIFFMergeFields(tif, jpegFields, TIFFArrayCount(jpegFields))) { TIFFErrorExt(tif->tif_clientdata, "TIFFInitJPEG", "Merging JPEG codec-specific tags fai...
161,050,785,105,274,060,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,473
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) { JPEGState *sp = JState(tif); tmsize_t nrows; (void) s; /* data is expected to be read in multiples of a scanline */ if ( (nrows = sp->cinfo.d.image_height) != 0 ) { /* Cb,Cr both have sampling factors 1, so this is correct */ JDIMENSION clumps_per...
237,578,563,662,985,140,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,474
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_term_destination(j_compress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; TIFF* tif = sp->tif; tif->tif_rawcp = (uint8*) sp->dest.next_output_byte; tif->tif_rawcc = tif->tif_rawdatasize - (tmsize_t) sp->dest.free_in_buffer; /* NB: libtiff does the final buffer flush */ }
117,894,631,158,232,170,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,475
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGVSetField(TIFF* tif, uint32 tag, va_list ap) { JPEGState* sp = JState(tif); const TIFFField* fip; uint32 v32; assert(sp != NULL); switch (tag) { case TIFFTAG_JPEGTABLES: v32 = (uint32) va_arg(ap, uint32); if (v32 == 0) { /* XXX */ return (0); } _TIFFsetByteArray(&sp->jpegtables, va_arg(ap, voi...
139,773,063,473,801,440,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,476
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
suppress_quant_table (JPEGState* sp, int tblno) { JQUANT_TBL* qtbl; if ((qtbl = sp->cinfo.c.quant_tbl_ptrs[tblno]) != NULL) qtbl->sent_table = TRUE; }
224,027,988,212,579,230,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,477
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_finish_compress(JPEGState* sp) { return CALLVJPEG(sp, jpeg_finish_compress(&sp->cinfo.c)); }
104,647,482,846,615,000,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,478
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_start_compress(JPEGState* sp, boolean write_all_tables) { return CALLVJPEG(sp, jpeg_start_compress(&sp->cinfo.c, write_all_tables)); }
123,752,787,375,383,630,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,479
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGCleanup(TIFF* tif) { JPEGState *sp = JState(tif); assert(sp != 0); tif->tif_tagmethods.vgetfield = sp->vgetparent; tif->tif_tagmethods.vsetfield = sp->vsetparent; tif->tif_tagmethods.printdir = sp->printdir; if( sp->cinfo_initialized ) TIFFjpeg_destroy(sp); /* release libjpeg resourc...
174,408,491,132,759,060,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,480
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_init_destination(j_compress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; TIFF* tif = sp->tif; sp->dest.next_output_byte = (JOCTET*) tif->tif_rawdata; sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; }
74,418,412,537,716,820,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,481
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_output_message(j_common_ptr cinfo) { char buffer[JMSG_LENGTH_MAX]; (*cinfo->err->format_message) (cinfo, buffer); TIFFWarningExt(((JPEGState *) cinfo)->tif->tif_clientdata, "JPEGLib", "%s", buffer); }
236,318,887,473,754,330,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,482
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_data_src(JPEGState* sp, TIFF* tif) { (void) tif; sp->cinfo.d.src = &sp->src; sp->src.init_source = std_init_source; sp->src.fill_input_buffer = std_fill_input_buffer; sp->src.skip_input_data = std_skip_input_data; sp->src.resync_to_restart = jpeg_resync_to_restart; sp->src.term_source = std_term_source;...
128,763,011,331,386,490,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,483
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_init_source(j_decompress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; TIFF* tif = sp->tif; sp->src.next_input_byte = (const JOCTET*) tif->tif_rawdata; sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; }
174,917,510,464,939,400,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,484
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGFixupTagsSubsamplingSec(struct JPEGFixupTagsSubsamplingData* data) { static const char module[] = "JPEGFixupTagsSubsamplingSec"; uint8 m; while (1) { while (1) { if (!JPEGFixupTagsSubsamplingReadByte(data,&m)) return(0); if (m==255) break; } while (1) { if (!JPEGFixupTagsSubsamplingRe...
183,376,225,080,412,900,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,485
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_abort(JPEGState* sp) { return CALLVJPEG(sp, jpeg_abort(&sp->cinfo.comm)); }
206,510,642,131,671,060,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,486
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
prepare_JPEGTables(TIFF* tif) { JPEGState* sp = JState(tif); /* Initialize quant tables for current quality setting */ if (!TIFFjpeg_set_quality(sp, sp->jpegquality, FALSE)) return (0); /* Mark only the tables we want for output */ /* NB: chrominance tables are currently used only with YCbCr */ if (!TIFFjpeg_s...
133,638,105,565,730,800,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,487
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGVGetField(TIFF* tif, uint32 tag, va_list ap) { JPEGState* sp = JState(tif); assert(sp != NULL); switch (tag) { case TIFFTAG_JPEGTABLES: *va_arg(ap, uint32*) = sp->jpegtables_length; *va_arg(ap, void**) = sp->jpegtables; break; case TIFFTAG_JPEGQUALITY: *va_arg(ap, int*) = sp->jpegquality; br...
297,127,813,360,575,500,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,488
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_write_raw_data(JPEGState* sp, JSAMPIMAGE data, int num_lines) { return CALLJPEG(sp, -1, (int) jpeg_write_raw_data(&sp->cinfo.c, data, (JDIMENSION) num_lines)); }
195,969,344,429,044,800,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,489
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
tables_term_destination(j_compress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; /* set tables length to number of bytes actually emitted */ sp->jpegtables_length -= (uint32) sp->dest.free_in_buffer; }
234,433,573,430,126,640,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,490
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_read_scanlines(JPEGState* sp, JSAMPARRAY scanlines, int max_lines) { return CALLJPEG(sp, -1, (int) jpeg_read_scanlines(&sp->cinfo.d, scanlines, (JDIMENSION) max_lines)); }
126,964,712,715,928,220,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,491
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_tables_src(JPEGState* sp, TIFF* tif) { TIFFjpeg_data_src(sp, tif); sp->src.init_source = tables_init_source; }
234,723,284,431,615,200,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,492
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) { JPEGState *sp = JState(tif); tmsize_t nrows; JSAMPROW bufptr[1]; short *line16 = NULL; int line16_count = 0; (void) s; assert(sp != NULL); /* data is expected to be supplied in multiples of a scanline */ nrows = cc / sp->bytesperline;...
44,580,949,687,770,300,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,493
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
std_empty_output_buffer(j_compress_ptr cinfo) { JPEGState* sp = (JPEGState*) cinfo; TIFF* tif = sp->tif; /* the entire buffer has been filled */ tif->tif_rawcc = tif->tif_rawdatasize; #ifdef IPPJ_HUFF /* * The Intel IPP performance library does not necessarily fill up * the whole output buf...
268,826,629,468,318,130,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,494
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
TIFFjpeg_write_tables(JPEGState* sp) { return CALLVJPEG(sp, jpeg_write_tables(&sp->cinfo.c)); }
127,835,092,847,258,160,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,495
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGSetupDecode(TIFF* tif) { JPEGState* sp = JState(tif); TIFFDirectory *td = &tif->tif_dir; #if defined(JPEG_DUAL_MODE_8_12) && !defined(TIFFInitJPEG) if( tif->tif_dir.td_bitspersample == 12 ) return TIFFReInitJPEG_12( tif, COMPRESSION_JPEG, 0 ); #endif JPEGInitializeLibJPEG( tif, TRUE ); as...
234,769,669,933,834,120,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,496
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGResetUpsampled( TIFF* tif ) { JPEGState* sp = JState(tif); TIFFDirectory* td = &tif->tif_dir; /* * Mark whether returned data is up-sampled or not so TIFFStripSize * and TIFFTileSize return values that reflect the true amount of * data. */ tif->tif_flags &= ~TIFF_UPSAMPLED; if (td->td_planarconfig == ...
14,679,884,826,428,777,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595
504,497
libtiff
47f2fb61a3a64667bce1a8398a8fcb1b348ff122
https://github.com/vadz/libtiff
https://github.com/vadz/libtiff/commit/47f2fb61a3a64667bce1a8398a8fcb1b348ff122
* libtiff/tif_jpeg.c: avoid integer division by zero in JPEGSetupEncode() when horizontal or vertical sampling is set to 0. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
0
JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) { JPEGState *sp = JState(tif); tmsize_t nrows; (void) s; /* ** Update available information, buffer may have been refilled ** between decode requests */ sp->src.next_input_byte = (const JOCTET*) tif->tif_rawcp; sp->src.bytes_...
145,320,597,218,049,660,000,000,000,000,000,000,000
None
null
[ "CWE-369" ]
CVE-2017-7595
The JPEGSetupEncode function in tiff_jpeg.c in LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted image.
https://nvd.nist.gov/vuln/detail/CVE-2017-7595