  Context: Weak flares are supposed to be an important heating agent of the
outer layers of stellar atmospheres. However, due to instrumental limitations,
only large X-ray flares have been studied in detail until now.
  Aims: We used an XMM-Newton observation of the very active BY-Dra type binary
star CC Eri in order to investigate the properties of two flares that are
weaker than those typically studied in the literature.
  Methods: We performed time-resolved spectroscopy of the data taken with the
EPIC-PN CCD camera. A multi-temperature model was used to fit the spectra. We
inferred the size of the flaring loops using the density-temperature diagram.
The loop scaling laws were applied for deriving physical parameters of the
flaring plasma. We also estimated the number of loops involved in the observed
flares.
  Results: A large X-ray variability was found. Spectral analysis showed that
all the regions in the light curve, including the flare segments, are
well-described by a 3-T model with variable emission measures but,
surprisingly, with constant temperatures (values of 3, 10 and 22 MK). The
analysed flares lasted ~ 3.4 and 7.1 ks, with flux increases of factors
1.5-1.9. They occurred in arcades made of a few tens of similar coronal loops.
The size of the flaring loops is much smaller than the distance between the
stellar surfaces in the binary system, and even smaller than the radius of each
of the stars. The obtained results are consistent with the following ideas: (i)
the whole X-ray light curve of CC Eri could be the result of a superposition of
multiple low-energy flares, and (ii) stellar flares can be scaled-up versions
of solar flares.
