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
516,915
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_write_output (xd3_stream* stream, main_file *ofile) { int ret; if (option_no_output) { return 0; } if (stream->avail_out > 0 && (ret = main_file_write (ofile, stream->next_out, stream->avail_out, "write failed"))) { return ret; } return 0; }
276,016,029,886,637,230,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,916
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_cleanup (main_file *xfile) { XD3_ASSERT (xfile != NULL); if (main_file_isopen (xfile)) { main_file_close (xfile); } if (xfile->snprintf_buf != NULL) { main_free(xfile->snprintf_buf); xfile->snprintf_buf = NULL; } if (xfile->filename_copy != NULL) { main_f...
274,622,119,574,010,830,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,917
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_help (void) { main_version(); /* Note: update wiki when command-line features change */ XPR(NTR "usage: xdelta3 [command/options] [input [output]]\n"); XPR(NTR "make patch:\n"); XPR(NTR "\n"); XPR(NTR " xdelta3.exe -e -s old_file new_file delta_file\n"); XPR(NTR "\n"); XPR(NTR "apply patch:\n"); ...
1,389,220,790,803,087,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,918
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_copy_to (const char *from, const char *to) { char buf[TESTBUFSIZE]; int ret; snprintf_func (buf, TESTBUFSIZE, "cp -f %s %s", from, to); if ((ret = system (buf)) != 0) { return XD3_INTERNAL; } return 0; }
276,196,675,379,842,500,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,919
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_print_vcdiff_file (main_file *xfile, main_file *file, const char *type) { int ret; /* Used by above macros */ if (file->filename) { VC(UT "XDELTA filename (%s): %s\n", type, file->filename)VE; } if (file->compressor) { VC(UT "XDELTA ext comp (%s): %s\n", type, file->compr...
66,025,865,747,237,190,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,920
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_recode_command2 (xd3_stream *stream, int has_source, int variant, int change) { int has_adler32 = (variant & 0x1) != 0; int has_apphead = (variant & 0x2) != 0; int has_secondary = (variant & 0x4) != 0; int change_adler32 = (change & 0x1) != 0; int change_apphead = (change & 0x2) != 0; int chan...
90,983,689,768,701,040,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,921
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
mt_exp_rand (uint32_t mean, uint32_t max_value) { double mean_d = mean; double erand = log (1.0 / (mt_random (&static_mtrand) / (double)UINT32_MAX)); uint32_t x = (uint32_t) (mean_d * erand + 0.5); return min (x, max_value); }
81,534,489,432,746,750,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,922
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_recompress_output (main_file *ofile) { pid_t recomp_id; /* One subproc. */ int pipefd[2]; /* One pipe. */ int output_fd = -1; int ret; const main_extcomp *recomp = ofile->compressor; pipefd[0] = pipefd[1] = -1; if (pipe (pipefd)) { XPR(NT "pipe failed: %s\n", xd3_mainerror (ret = ...
282,305,841,100,730,900,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,923
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_read_integer_error (xd3_stream *stream, usize_t trunto, const char *msg) { uint64_t eval = 1ULL << 34; uint32_t rval; xd3_output *buf = NULL; const uint8_t *max; const uint8_t *inp; int ret; buf = xd3_alloc_output (stream, buf); if ((ret = xd3_emit_uint64_t (stream, & buf, eval))) { got...
175,376,952,583,833,130,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,924
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_write (main_file *ofile, uint8_t *buf, usize_t size, const char *msg) { int ret = 0; #if XD3_STDIO usize_t result; result = fwrite (buf, 1, size, ofile->file); if (result != size) { ret = get_errno (); } #elif XD3_POSIX ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL);...
185,594,459,331,634,120,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,925
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
static int do_fail (xd3_stream *stream, const char *buf) { int ret; ret = system (buf); if (! WIFEXITED (ret) || WEXITSTATUS (ret) != 1) { stream->msg = "command should have not succeeded"; XPR(NT "command was %s\n", buf); return XD3_INTERNAL; } return 0; }
6,461,937,697,992,161,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,926
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_address_cache (xd3_stream *stream, int unused) { int ret; usize_t i; usize_t offset; usize_t *addrs; uint8_t *big_buf, *buf_max; const uint8_t *buf; xd3_output *outp; uint8_t *modes; int mode_counts[16]; stream->acache.s_near = stream->code_table_desc->near_modes; stream->acache.s_same = str...
132,396,214,358,612,030,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,927
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_open (main_file *xfile, const char* name, int mode) { int ret = 0; xfile->mode = mode; XD3_ASSERT (name != NULL); XD3_ASSERT (! main_file_isopen (xfile)); if (name[0] == 0) { XPR(NT "invalid file name: empty string\n"); return XD3_INVALID; } #if XD3_STDIO xfile->file = fopen...
36,848,660,878,149,956,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,928
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_waitpid_check(pid_t pid) { int status; int ret = 0; if (waitpid (pid, & status, 0) < 0) { ret = get_errno (); XPR(NT "external compression [pid %d] wait: %s\n", pid, xd3_mainerror (ret)); } else if (! WIFEXITED (status)) { // SIGPIPE will be delivered to the child process ...
192,868,113,410,940,370,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,929
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
setup_environment (int argc, char **argv, int *argc_out, char ***argv_out, char ***argv_free, char **env_free) { int n, i, i0; char *p, *v = getenv("XDELTA"); if (v == NULL) { (*argc_out) = argc; (*argv_out) = argv; (*argv_free) = NULL; (*env_free) = NULL; return; } ...
172,769,254,820,112,400,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,930
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_compress_text (xd3_stream *stream, uint8_t *encoded, usize_t *encoded_size) { int ret; xd3_config cfg; int oflags = stream->flags; int flags = stream->flags | XD3_FLUSH; xd3_free_stream (stream); xd3_init_config (& cfg, flags); /* This configuration is fixed so that the "expect...
18,940,991,406,134,035,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,931
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func2 (xd3_stream *stream, xd3_output *data) { int i, ret; for (i = 0; i < ALPHABET_SIZE; i += 1) { if ((ret = xd3_emit_byte (stream, & data, i%(ALPHABET_SIZE/2)))) { return ret; } } return 0; }
257,890,408,588,671,760,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,932
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func10 (xd3_stream *stream, xd3_output *data) { int i, j, ret; for (i = 0; i < ALPHABET_SIZE; i += 1) { for (j = 0; j <= (i*i); j += 1) { if ((ret = xd3_emit_byte (stream, & data, i))) { return ret; } } } return 0; }
41,437,690,118,440,606,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,933
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_streaming (xd3_stream *in_stream, uint8_t *encbuf, uint8_t *decbuf, uint8_t *delbuf, usize_t megs) { xd3_stream estream, dstream; int ret; usize_t i, delsize, decsize; xd3_config cfg; xd3_init_config (& cfg, in_stream->flags); cfg.flags |= XD3_COMPLEVEL_6; if ((ret = xd3_config_stream (& estream, & ...
78,411,457,106,847,350,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,934
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func7 (xd3_stream *stream, xd3_output *data) { int i, ret, x; for (i = 0; i < ALPHABET_SIZE*200; i += 1) { x = mt_random (&static_mtrand) % ALPHABET_SIZE; if ((ret = xd3_emit_byte (stream, & data, x))) { return ret; } } return 0; }
102,245,982,645,889,140,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,935
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
get_millisecs_now (void) { #ifndef _WIN32 struct timeval tv; gettimeofday (& tv, NULL); return (tv.tv_sec) * 1000L + (tv.tv_usec) / 1000; #else SYSTEMTIME st; FILETIME ft; __int64 *pi = (__int64*)&ft; GetLocalTime(&st); SystemTimeToFileTime(&st, &ft); return (long)((*pi) / 10000); #endif }
200,252,448,157,854,700,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,936
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_init (main_file *xfile) { memset (xfile, 0, sizeof (*xfile)); #if XD3_POSIX xfile->file = -1; #endif #if XD3_WIN32 xfile->file = INVALID_HANDLE_VALUE; #endif }
48,079,387,115,745,150,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,937
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_cleanup (void) { #if 1 test_unlink (TEST_TARGET_FILE); test_unlink (TEST_SOURCE_FILE); test_unlink (TEST_DELTA_FILE); test_unlink (TEST_RECON_FILE); test_unlink (TEST_RECON2_FILE); test_unlink (TEST_COPY_FILE); test_unlink (TEST_NOPERM_FILE); #endif }
323,436,410,397,317,040,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,938
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func1 (xd3_stream *stream, xd3_output *data) { int i, ret; for (i = 0; i < 100; i += 1) { if ((ret = xd3_emit_byte (stream, & data, 13))) { return ret; } } return 0; }
242,330,471,433,938,500,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,939
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_print_window (xd3_stream* stream, main_file *xfile) { int ret; usize_t size = 0; VC(UT " Offset Code Type1 Size1 @Addr1 + Type2 Size2 @Addr2\n")VE; while (stream->inst_sect.buf < stream->inst_sect.buf_max) { usize_t code = stream->inst_sect.buf[0]; const uint8_t *addr_before = stream->a...
45,246,276,689,798,560,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,940
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_pipe_copier (uint8_t *pipe_buf, usize_t pipe_bufsize, size_t nread, main_file *ifile, int outfd) { int ret; xoff_t skipped = 0; /* Prevent SIGPIPE signals, allow EPIPE return values instead. This * is safe to comment-out, except that the -F flag will not work ...
186,162,178,199,993,780,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,941
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_atoux (const char* arg, xoff_t *xo, xoff_t low, xoff_t high, char which) { xoff_t x; int ret; if ((ret = main_strtoxoff (arg, & x, which))) { return ret; } if (x < low) { XPR(NT "-%c: minimum value: %"Q"u\n", which, low); return EXIT_FAILURE; } if (high != 0 && x > high) { ...
65,435,911,202,520,020,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,942
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_read_primary_input (main_file *file, uint8_t *buf, size_t size, size_t *nread) { #if EXTERNAL_COMPRESSION if (option_decompress_inputs && file->flags & RD_FIRST) { file->flags &= ~RD_FIRST; return main_secondary_decompress_check (file, buf, size, nread); } #endif ...
119,166,317,224,577,640,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,943
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_usize_t_overflow (xd3_stream *stream, int unused) { if (USIZE_T_OVERFLOW (USIZE_T_MAX, 0)) { goto fail; } if (USIZE_T_OVERFLOW (0, USIZE_T_MAX)) { goto fail; } if (USIZE_T_OVERFLOW (USIZE_T_MAX / 2, USIZE_T_MAX / 2)) { goto fail; } if (USIZE_T_OVERFLOW (USIZE_T_MAX / 2, USIZE_T_MAX / 2 + 1)) { goto fail; }...
186,100,901,581,535,200,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,944
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_file_size (const char* file, xoff_t *size) { struct stat sbuf; int ret; (*size) = 0; if (stat (file, & sbuf) < 0) { ret = get_errno (); XPR(NT "stat failed: %s: %s\n", file, strerror (ret)); return ret; } if (! S_ISREG (sbuf.st_mode)) { ret = XD3_INTERNAL; XPR(...
126,329,347,247,312,390,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,945
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_compressed_stream_overflow (xd3_stream *stream, int ignore) { int ret; int i; uint8_t *buf; if ((buf = (uint8_t*) malloc (TWO_MEGS_AND_DELTA)) == NULL) { return ENOMEM; } memset (buf, 0, TWO_MEGS_AND_DELTA); for (i = 0; i < (2 << 20); i += 256) { int j; int off = mt_random(& static_mt...
288,953,438,447,019,500,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,946
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_exists (main_file *xfile) { struct stat sbuf; return stat (xfile->filename, & sbuf) == 0 && S_ISREG (sbuf.st_mode); }
29,815,253,116,000,840,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,947
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_appheader (xd3_stream *stream, int ignore) { int i; int ret; char buf[TESTBUFSIZE]; char bogus[TESTBUFSIZE]; xoff_t ssize, tsize; test_setup (); if ((ret = test_make_inputs (stream, &ssize, &tsize))) { return ret; } snprintf_func (buf, TESTBUFSIZE, "%s -q -f -e -s %s %s %s", program_name, TEST...
122,780,165,450,327,270,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,948
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
static void DOT (void) { XPR(NTR "."); }
300,324,602,342,278,000,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,949
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_malloc (size_t size) { void *r = main_malloc1 (size); if (r) { IF_DEBUG (main_mallocs += 1); } return r; }
165,618,561,137,097,630,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,950
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_make_inputs (xd3_stream *stream, xoff_t *ss_out, xoff_t *ts_out) { usize_t ts = (mt_random (&static_mtrand) % TEST_FILE_MEAN) + TEST_FILE_MEAN / 2; usize_t ss = (mt_random (&static_mtrand) % TEST_FILE_MEAN) + TEST_FILE_MEAN / 2; uint8_t *buf = (uint8_t*) malloc (ts + ss), *sbuf = buf, *tbuf = buf + s...
179,824,679,424,329,020,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,951
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_print_func (xd3_stream* stream, main_file *xfile) { int ret; if (option_no_output) { return 0; } if (xfile->snprintf_buf == NULL) { if ((xfile->snprintf_buf = (uint8_t*)main_malloc(SNPRINTF_BUFSIZE)) == NULL) { return ENOMEM; } } if (stream->dec_winstart == 0) { ...
17,772,427,938,982,420,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,952
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func8 (xd3_stream *stream, xd3_output *data) { int i, ret; for (i = 0; i < ALPHABET_SIZE*5; i += 1) { if ((ret = xd3_emit_byte (stream, & data, 0))) { return ret; } if ((ret = xd3_emit_byte (stream, & data, 64))) { return ret; } if ((ret = xd3_emit_byte (stream, & data, 128))) { retur...
47,076,680,953,940,010,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,953
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_read (main_file *ifile, uint8_t *buf, size_t size, size_t *nread, const char *msg) { int ret = 0; #if XD3_STDIO size_t result; result = fread (buf, 1, size, ifile->file); if (result < size && ferror (ifile->file)) { ret = get_errno (); } else { *nread ...
43,540,203,778,744,460,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,954
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_in_memory (xd3_stream *stream, int ignore) { // test_text is 256 bytes uint8_t ibuf[sizeof(test_text)]; uint8_t dbuf[sizeof(test_text)]; uint8_t obuf[sizeof(test_text)]; usize_t size = sizeof(test_text); usize_t dsize, osize; int r1, r2; int eflags = SECONDARY_DJW ? XD3_SEC_DJW : 0; memcpy(ibuf,...
152,790,158,112,178,300,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,955
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_save_copy (const char *origname) { return test_copy_to(origname, TEST_COPY_FILE); }
91,983,274,466,152,300,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,956
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
xd3_win32_io (HANDLE file, uint8_t *buf, size_t size, int is_read, size_t *nread) { int ret = 0; size_t nproc = 0; while (nproc < size) { DWORD nproc2 = 0; /* hmm */ DWORD nremain = size - nproc; if ((is_read ? ReadFile (file, buf + nproc, nremain, &nproc2, NULL) : WriteFile (f...
9,322,644,256,405,067,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,957
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_recode_func (xd3_stream* stream, main_file *ofile) { int ret; xd3_source decode_source; XD3_ASSERT(stream->dec_state == DEC_FINISH); XD3_ASSERT(recode_stream->enc_state == ENC_INIT || recode_stream->enc_state == ENC_INPUT); // Copy partial decoder output to partial encoder inputs if ((ret = mai...
276,380,639,528,874,200,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,958
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_input (xd3_cmd cmd, main_file *ifile, main_file *ofile, main_file *sfile) { int ret; xd3_stream stream; size_t nread = 0; usize_t winsize; int stream_flags = 0; xd3_config config; xd3_source source; xoff_t last_total_in = 0; xoff_t last_total_...
62,135,395,433,580,410,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,959
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
get_millisecs_since (void) { static long last = 0; long now = get_millisecs_now(); long diff = now - last; last = now; return diff; }
72,850,270,146,261,020,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,960
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_encode_decode_uint64_t (xd3_stream *stream, int unused) { TEST_ENCODE_DECODE_INTEGER(uint64_t,1ULL,UINT64_MAX); }
45,516,096,756,962,460,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,961
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_version (void) { /* $Format: " XPR(NTR \"Xdelta version $Xdelta3Version$, Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, Joshua MacDonald\\n\");" $ */ XPR(NTR "Xdelta version 3.0.8, Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Joshua MacDonald\n"); XPR(NTR "Xdelta comes with ABSOLUTELY NO...
8,051,613,076,323,044,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,962
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_recode_copy (xd3_stream* stream, xd3_output* output, xd3_desect* input) { int ret; XD3_ASSERT(output != NULL); XD3_ASSERT(output->next_page == NULL); if ((ret = xd3_decode_allocate (recode_stream, input->size, &output->base, &output->avail))) { XPR(NT XD3_LIB_ERRMSG (s...
3,530,697,138,688,412,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,963
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_decode_integer_overflow (xd3_stream *stream, int unused) { return test_read_integer_error (stream, 0, "overflow in read_intger"); }
317,827,375,991,657,340,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,964
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_identical_behavior (xd3_stream *stream, int ignore) { #define IDB_TGTSZ 10000 /* Not a power of two b/c of hard-coded expectations below. */ #define IDB_BLKSZ 512 #define IDB_WINSZ 1000 #define IDB_DELSZ 1000 #define IDB_WINCNT (IDB_TGTSZ / IDB_WINSZ) int ret, i; uint8_t buf[IDB_TGTSZ]; uint8_t del[IDB_DEL...
9,121,050,038,617,847,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,965
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_decode_integer_end_of_input (xd3_stream *stream, int unused) { return test_read_integer_error (stream, 1, "end-of-input in read_integer"); }
49,858,154,285,526,170,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,966
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_random_numbers (xd3_stream *stream, int ignore) { usize_t i; usize_t sum = 0; usize_t mean = 50; usize_t n_rounds = 1000000; double average, error; double allowed_error = 0.1; mt_init (& static_mtrand, 0x9f73f7fe); for (i = 0; i < n_rounds; i += 1) { sum += mt_exp_rand (mean, USIZE_T_MA...
312,095,172,816,697,280,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,967
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
int main (int argc, char **argv) #endif { static const char *flags = "0123456789cdefhnqvDFJNORTVs:m:B:C:E:I:L:O:M:P:W:A::S::"; xd3_cmd cmd; main_file ifile; main_file ofile; main_file sfile; main_merge_list merge_order; main_merge *merge; int my_optind; const char *my_optarg; const char *my_opts...
254,525,279,013,500,880,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,968
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_cleanup (void) { if (appheader_used != NULL && appheader_used != option_appheader) { main_free (appheader_used); appheader_used = NULL; } main_buffree (main_bdata); main_bdata = NULL; main_bsize = 0; main_lru_cleanup(); if (recode_stream != NULL) { xd3_free_stream...
99,982,921,571,662,800,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,969
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_decompress_text (xd3_stream *stream, uint8_t *enc, usize_t enc_size, usize_t test_desize) { xd3_config cfg; char decoded[sizeof (test_text)]; uint8_t *apphead; usize_t apphead_size; usize_t decoded_size; const char *msg; int ret; usize_t pos = 0; int flags = stream->flags; usize_t take; inpu...
322,011,331,297,524,840,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,970
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_recode_command (xd3_stream *stream, int ignore) { /* Things to test: * - with and without a source file (recode does not change) * * (recode may or may not change -- 8 variations) * - with and without adler32 * - with and without app header * - with and without secondary */ int has_source;...
77,544,581,801,087,520,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,971
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_set_secondary_flags (xd3_config *config) { int ret; if (option_use_secondary) { /* The default secondary compressor is DJW, if it's compiled. */ if (option_secondary == NULL) { if (SECONDARY_DJW) { config->flags |= XD3_SEC_DJW; } } else { if (strcmp (option_secon...
266,773,242,019,800,400,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,972
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_secondary_decompress_check (main_file *file, uint8_t *input_buf, size_t input_size, size_t *nread) { int ret; usize_t i; usize_t try_read = min (input_size, XD3_ALLOCSIZE); size_t check_nread = 0; uint8_t check_buf[XD3_ALLOCSIZE]; /* TODO: stack limit */ const main_extcomp...
210,788,164,852,151,530,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,973
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_encode_decode_uint32_t (xd3_stream *stream, int unused) { TEST_ENCODE_DECODE_INTEGER(uint32_t,1U,UINT32_MAX); }
38,884,181,555,906,967,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,974
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_isopen (main_file *xfile) { #if XD3_STDIO return xfile->file != NULL; #elif XD3_POSIX return xfile->file != -1; #elif XD3_WIN32 return xfile->file != INVALID_HANDLE_VALUE; #endif }
250,829,760,153,412,750,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,975
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_encode_code_table (xd3_stream *stream, int ignore) { int ret; const uint8_t *comp_data; usize_t comp_size; if ((ret = xd3_compute_alternate_table_encoding (stream, & comp_data, & comp_size))) { return ret; } stream->acache.s_near = __alternate_code_table_desc.near_modes; stream->acache....
61,729,872,980,220,240,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,976
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
void main_buffree (void *ptr) { #if XD3_WIN32 VirtualFree(ptr, 0, MEM_RELEASE); #else main_free1(NULL, ptr); #endif }
217,067,246,924,418,050,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,977
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func9 (xd3_stream *stream, xd3_output *data) { int i, ret; int ramp = 0; int rcount = 0; int prom = 0; int pcount = 0; /* 200 was long enough to trigger it--only when stricter checking * that counted all blocks was turned on, but it seems I deleted * this code. (missing fgk_free_block o...
339,526,787,094,625,200,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,978
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_format_rate (xoff_t bytes, long millis, shortbuf *buf) { xoff_t r = (xoff_t)(1.0 * bytes / (1.0 * millis / 1000.0)); static shortbuf lbuf; main_format_bcnt (r, &lbuf); short_sprintf (*buf, "%s/s", lbuf.buf); return buf->buf; }
244,883,298,706,187,150,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,979
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
check_vcdiff_header (xd3_stream *stream, const char *input, const char *line_start, const char *matches, int yes_or_no) { int ret; char vcmd[TESTBUFSIZE], gcmd[TESTBUFSIZE]; snprintf_func (vcmd, TESTBUFSIZE, "%s printhdr -f %s %s", program_name, input, TEST_RECON2_FILE); if ((...
208,084,266,069,113,050,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,980
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_strtoxoff (const char* s, xoff_t *xo, char which) { char *e; xoff_t x; XD3_ASSERT(s && *s != 0); { /* Should check LONG_MIN, LONG_MAX, LLONG_MIN, LLONG_MAX? */ #if SIZEOF_XOFF_T == 4 long xx = strtol (s, &e, 0); #else long long xx = strtoll (s, &e, 0); #endif if (xx < 0) { XPR(NT ...
199,074,462,255,059,560,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,981
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
xd3_posix_io (int fd, uint8_t *buf, size_t size, xd3_posix_func *func, size_t *nread) { int ret; size_t nproc = 0; while (nproc < size) { size_t tryread = min(size - nproc, 1U << 30); ssize_t result = (*func) (fd, buf + nproc, tryread); if (result < 0) { ret = get_errno (); i...
66,749,565,005,775,310,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,982
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
uint32_t mt_random (mtrand *mt) { uint32_t y; unsigned long mag01[2]; mag01[0] = 0; mag01[1] = MATRIX_A; if (mt->mt_index_ >= MT_LEN) { int kk; for (kk = 0; kk < MT_LEN - MT_IA; kk++) { y = (mt->mt_buffer_[kk] & UPPER_MASK) | (mt->mt_buffer_[kk + 1] & LOWER_MASK); mt->mt_buffer_[kk] = m...
28,049,660,656,746,460,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,983
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_command_line_arguments (xd3_stream *stream, int ignore) { int i, ret; static const char* cmdpairs[] = { /* standard input, output */ "%s %s -A < %s > %s", "%s -d < %s > %s", "%s %s -A -e < %s > %s", "%s -d < %s > %s", "%s %s -A= encode < %s > %s", "%s decode < %s > %s", "%s %s -A -q enco...
323,480,032,215,798,140,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,984
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_ident_compressor (const char *ident) { usize_t i; for (i = 0; i < SIZEOF_ARRAY (extcomp_types); i += 1) { if (strcmp (extcomp_types[i].ident, ident) == 0) { return & extcomp_types[i]; } } return NULL; }
138,854,912,551,610,730,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,985
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_input_decompress_setup (const main_extcomp *decomp, main_file *ifile, uint8_t *input_buf, usize_t input_bufsize, uint8_t *pipe_buf, usize_t pipe_bufsize, usize_t pipe_avail, size...
46,723,167,546,915,250,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,986
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_externally_compressed_io (xd3_stream *stream, int ignore) { usize_t i; int ret; char buf[TESTBUFSIZE]; mt_init (& static_mtrand, 0x9f73f7fc); if ((ret = test_make_inputs (stream, NULL, NULL))) { return ret; } for (i = 0; i < SIZEOF_ARRAY (extcomp_types); i += 1) { main_extcomp *ext = & ext...
270,476,832,135,828,470,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,987
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_free1 (void *opaque, void *ptr) { free (ptr); }
123,771,748,567,408,830,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,988
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_no_output (xd3_stream *stream, int ignore) { int ret; char buf[TESTBUFSIZE]; test_setup (); snprintf_func (buf, TESTBUFSIZE, "touch %s && chmod 0000 %s", TEST_NOPERM_FILE, TEST_NOPERM_FILE); if ((ret = do_cmd (stream, buf))) { return ret; } if ((ret = test_make_inputs (stream, NULL, NULL))) { re...
97,784,619,390,155,940,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,989
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_merge_func (xd3_stream* stream, main_file *no_write) { int ret; if ((ret = xd3_whole_append_window (stream))) { return ret; } return 0; }
72,718,305,304,142,990,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,990
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_unlink (char* file) { int ret; if ((ret = unlink (file)) != 0 && errno != ENOENT) { XPR(NT "unlink %s failed: %s\n", file, strerror(ret)); } }
337,822,271,680,497,340,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,991
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func11 (xd3_stream *stream, xd3_output *data) { int sum0 = 0; int sum1 = 1; int i, j, ret; for (i = 0; i < 33; ++i) { for (j = 0; j < (sum0 + sum1); ++j) { if ((ret = xd3_emit_byte (stream, & data, i))) { return ret; } } sum0 = sum1; sum1 = j; } return 0; }
227,840,046,481,882,600,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,992
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_choose_instruction (xd3_stream *stream, int ignore) { int i; stream->code_table = (*stream->code_table_func) (); for (i = 0; i < 256; i += 1) { const xd3_dinst *d = stream->code_table + i; xd3_rinst prev, inst; CHECK(d->type1 > 0); memset (& prev, 0, sizeof (prev)); mems...
254,522,552,496,860,050,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,993
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_apphead_string (const char* x) { const char *y; if (x == NULL) { return ""; } if (strcmp (x, "/dev/stdin") == 0 || strcmp (x, "/dev/stdout") == 0 || strcmp (x, "/dev/stderr") == 0) { return "-"; } // TODO: this is not portable return (y = strrchr (x, '/')) == NULL ? x : y + 1; }
144,111,903,462,228,320,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,994
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_atou (const char* arg, usize_t *uo, usize_t low, usize_t high, char which) { int ret; xoff_t xo; if ((ret = main_atoux (arg, &xo, low, high, which))) { return ret; } *uo = (usize_t)xo; return 0; }
65,659,827,242,263,165,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,995
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_open_output (xd3_stream *stream, main_file *ofile) { int ret; if (option_no_output) { return 0; } if (ofile->filename == NULL) { XSTDOUT_XF (ofile); if (option_verbose > 1) { XPR(NT "using standard output: %s\n", ofile->filename); } } else { /* Stat the f...
321,406,003,117,331,160,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,996
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_merge_output (xd3_stream *stream, main_file *ofile) { int ret; usize_t inst_pos = 0; xoff_t output_pos = 0; xd3_source recode_source; usize_t window_num = 0; int at_least_once = 0; /* merge_stream is set if there were arguments. this stream's input * needs to be applied to the merge_stream sourc...
334,129,282,757,662,850,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,997
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_decompress_single_bit_error (xd3_stream *stream, int expected_non_failures) { int ret; usize_t i; uint8_t encoded[4*sizeof (test_text)]; /* make room for alt code table */ usize_t encoded_size; int non_failures = 0; int cksum = (stream->flags & XD3_ADLER32) != 0; //#define DEBUG_TEST_FAILURES #ifndef...
146,859,643,308,827,000,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,998
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_stat (main_file *xfile, xoff_t *size) { int ret = 0; #if XD3_WIN32 if (GetFileType(xfile->file) != FILE_TYPE_DISK) { return -1; } # if (_WIN32_WINNT >= 0x0500) { LARGE_INTEGER li; if (GetFileSizeEx(xfile->file, &li) == 0) { return get_errno (); } *size = li.QuadPar...
70,048,700,366,118,280,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
516,999
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
sec_dist_func4 (xd3_stream *stream, xd3_output *data) { int i, ret, x; for (i = 0; i < ALPHABET_SIZE*20; i += 1) { x = mt_exp_rand (10, ALPHABET_SIZE/2); if ((ret = xd3_emit_byte (stream, & data, x))) { return ret; } } return 0; }
187,583,296,801,755,700,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,000
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_forward_match (xd3_stream *stream, int unused) { usize_t i; uint8_t buf1[256], buf2[256]; memset(buf1, 0, 256); memset(buf2, 0, 256); for (i = 0; i < 256; i++) { CHECK(xd3_forward_match(buf1, buf2, i) == (int)i); } for (i = 0; i < 255; i++) { buf2[i] = 1; CHECK(xd3_forw...
145,983,393,352,030,360,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,001
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
xd3_mainerror(int err_num) { #ifndef _WIN32 const char* x = xd3_strerror (err_num); if (x != NULL) { return x; } return strerror(err_num); #else static char err_buf[256]; const char* x = xd3_strerror (err_num); if (x != NULL) { return x; } memset (err_buf, 0, 256); FormatMessage (FORMAT_ME...
135,127,455,777,654,690,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,002
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_secondary (xd3_stream *stream, const xd3_sec_type *sec, usize_t groups) { usize_t test_i; int ret; xd3_output *in_head, *out_head, *p; usize_t p_off, input_size, compress_size; uint8_t *dec_input = NULL, *dec_output = NULL, *dec_correct = NULL; xd3_sec_stream *enc_stream; xd3_sec_cfg cfg; memset (...
180,405,619,651,414,560,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,003
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
reset_defaults(void) { option_stdout = 0; option_force = 0; option_verbose = DEFAULT_VERBOSE; option_quiet = 0; option_appheader = NULL; option_use_secondary = 0; option_secondary = NULL; option_use_altcodetable = 0; option_smatch_config = NULL; option_no_compress = 0; option_no_output = 0; opti...
170,921,965,762,417,600,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,004
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_format_millis (long millis, shortbuf *buf) { if (millis < 1000) { short_sprintf (*buf, "%lu ms", millis); } else if (millis < 10000) { short_sprintf (*buf, "%.1f sec", millis / 1000.0); } else { short_sprintf (*buf, "%lu sec", millis / 1000L); } return buf->buf...
171,171,971,863,222,040,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,005
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_alloc (void *opaque, size_t items, usize_t size) { return main_malloc1 (items * size); }
232,559,022,599,267,920,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,006
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_print_overflow (int x) { XPR(NT "internal print buffer overflow: %d bytes\n", x); return XD3_INTERNAL; }
251,909,403,264,588,670,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,007
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_free (void *ptr) { if (ptr) { IF_DEBUG (main_mallocs -= 1); main_free1 (NULL, ptr); IF_DEBUG (XD3_ASSERT(main_mallocs >= 0)); } }
194,848,233,400,890,200,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,008
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
xprintf (const char *fmt, ...) { char buf[1000]; va_list a; int size; va_start (a, fmt); size = vsnprintf_func (buf, 1000, fmt, a); va_end (a); if (size < 0) { size = sizeof(buf) - 1; buf[size] = 0; } if (xprintf_message_func != NULL) { xprintf_message_func(buf); } else { s...
11,453,438,601,437,430,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,009
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_format_bcnt (xoff_t r, shortbuf *buf) { static const char* fmts[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB" }; usize_t i; for (i = 0; i < SIZEOF_ARRAY(fmts) - 1; i += 1) { xoff_t new_r; if (r == 0) { short_sprintf (*buf, "0 %s", fmts[i]); return buf->buf; } if (r >= 1...
236,690,072,121,301,760,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,010
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_force_behavior (xd3_stream *stream, int ignore) { int ret; char buf[TESTBUFSIZE]; /* Create empty target file */ test_setup (); snprintf_func (buf, TESTBUFSIZE, "cp /dev/null %s", TEST_TARGET_FILE); if ((ret = do_cmd (stream, buf))) { return ret; } /* Encode to delta file */ snprintf_func (buf, T...
80,867,743,876,755,615,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,011
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_get_appheader_params (main_file *file, char **parsed, int output, const char *type, main_file *other) { /* Set the filename if it was not specified. If output, option_stdout (-c) * overrides. */ if (file->filename == NULL && ! (output && option_stdout) && strcmp (parsed[0], "-") != ...
223,138,586,339,427,330,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,012
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_file_seek (main_file *xfile, xoff_t pos) { int ret = 0; #if XD3_STDIO if (fseek (xfile->file, pos, SEEK_SET) != 0) { ret = get_errno (); } #elif XD3_POSIX if ((xoff_t) lseek (xfile->file, pos, SEEK_SET) != pos) { ret = get_errno (); } #elif XD3_WIN32 # if (_WIN32_WINNT >= 0x0500) LARGE_INTEGER move,...
327,715,274,336,335,070,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,013
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
test_stdout_behavior (xd3_stream *stream, int ignore) { int ret; char buf[TESTBUFSIZE]; test_setup(); snprintf_func (buf, TESTBUFSIZE, "cp /dev/null %s", TEST_TARGET_FILE); if ((ret = do_cmd (stream, buf))) { return ret; } /* Without -c, encode writes to delta file */ snprintf_func (buf, TESTBUFSIZE, "%...
142,443,323,808,563,050,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765
517,014
xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
https://github.com/jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2
Add appheader tests; fix buffer overflow in main_get_appheader
0
main_get_winsize (main_file *ifile) { xoff_t file_size = 0; usize_t size = option_winsize; static shortbuf iszbuf; if (main_file_stat (ifile, &file_size) == 0) { size = (usize_t) min(file_size, (xoff_t) size); } size = max(size, XD3_ALLOCSIZE); if (option_verbose > 1) { XPR(NT "in...
254,440,316,212,707,070,000,000,000,000,000,000,000
None
null
[ "CWE-119" ]
CVE-2014-9765
Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file.
https://nvd.nist.gov/vuln/detail/CVE-2014-9765