Code:  push_decoder_state (DECODER_STATE ds)
 {
   if (ds->idx >= ds->stacksize)
     {
      fprintf (stderr, "ERROR: decoder stack overflow!\n");
      abort ();
     }
   ds->stack[ds->idx++] = ds->cur;
 }

Vulnerability Type: DoS Overflow
CWE ID: CWE-20
Summary: ber-decoder.c in Libksba before 1.3.3 does not properly handle decoder stack overflows, which allows remote attackers to cause a denial of service (abort) via crafted BER data.
Commit Message: 