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
515,652
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
static int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) { int i; BN_ULONG l; bn_check_top(a); i = BN_num_bytes(a); if (tolen == -1) tolen = i; else if (tolen < i) return -1; /* Add leading zeroes if necessary */ if (tolen > i) { memset(to, 0, tolen - ...
127,959,873,468,955,700,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,654
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void BN_zero_ex(BIGNUM *a) { a->top = 0; a->neg = 0; }
171,037,410,850,872,500,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,655
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
BN_GENCB *BN_GENCB_new(void) { BN_GENCB *ret; if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL) { BNerr(BN_F_BN_GENCB_NEW, ERR_R_MALLOC_FAILURE); return (NULL); } return ret; }
61,077,666,126,299,260,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,656
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void BN_GENCB_free(BN_GENCB *cb) { if (cb == NULL) return; OPENSSL_free(cb); }
233,806,893,437,930,100,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,657
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *), void *cb_arg) { BN_GENCB *tmp_gencb = gencb; tmp_gencb->ver = 2; tmp_gencb->arg = cb_arg; tmp_gencb->cb.cb_2 = callback; }
287,128,409,327,433,650,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,658
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *), void *cb_arg) { BN_GENCB *tmp_gencb = gencb; tmp_gencb->ver = 1; tmp_gencb->arg = cb_arg; tmp_gencb->cb.cb_1 = callback; }
218,957,477,584,698,640,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,659
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void bn_correct_top(BIGNUM *a) { BN_ULONG *ftl; int tmp_top = a->top; if (tmp_top > 0) { for (ftl = &(a->d[tmp_top]); tmp_top > 0; tmp_top--) { ftl--; if (*ftl != 0) break; } a->top = tmp_top; } if (a->top == 0) a->neg = 0; ...
111,520,785,861,326,660,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,660
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void *BN_GENCB_get_arg(BN_GENCB *cb) { return cb->arg; }
123,136,849,139,996,230,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,661
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
static int ec_mul_consttime(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx) { int i, order_bits, group_top, kbit, pbit, Z_is_one, ret; ret = 0; EC_POINT *s = NULL; BIGNUM *k = NULL; BIGNUM *lambda = NULL; BN_CTX *new_ctx =...
300,885,564,108,971,860,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,662
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) { if (tolen < 0) return -1; return bn2binpad(a, to, tolen); }
290,423,498,864,732,400,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,663
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void BN_set_flags(BIGNUM *b, int n) { b->flags |= n; }
81,003,798,412,545,100,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,665
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
int BN_is_zero(const BIGNUM *a) { return a->top == 0; }
214,923,399,696,346,000,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,666
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
BIGNUM *BN_secure_new(void) { BIGNUM *ret = BN_new(); if (ret != NULL) ret->flags |= BN_FLG_SECURE; return (ret); }
63,112,981,165,904,475,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,667
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w) { return ((a->top == 1) && (a->d[0] == w)) || ((w == 0) && (a->top == 0)); }
195,216,913,186,502,000,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,668
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
BIGNUM *bn_wexpand(BIGNUM *a, int words) { return (words <= a->dmax) ? a : bn_expand2(a, words); }
37,545,723,148,643,423,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,669
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
int BN_is_one(const BIGNUM *a) { return BN_abs_is_word(a, 1) && !a->neg; }
2,717,589,357,941,652,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,670
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
void BN_clear_free(BIGNUM *a) { int i; if (a == NULL) return; bn_check_top(a); if (a->d != NULL) { OPENSSL_cleanse(a->d, a->dmax * sizeof(a->d[0])); if (!BN_get_flags(a, BN_FLG_STATIC_DATA)) bn_free_d(a); } i = BN_get_flags(a, BN_FLG_MALLOCED); OPENSSL_cl...
204,115,754,607,570,440,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,671
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx) { return BN_mod_mul_montgomery(r, a, &(mont->RR), mont, ctx); }
275,995,889,911,597,400,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,672
openssl
aab7c770353b1dc4ba045938c8fb446dd1c4531e
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/aab7c770353b1dc4ba045938c8fb446dd1c4531e
Elliptic curve scalar multiplication with timing attack defenses Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com> Co-authored-by: Cesar Pereida Garcia <cesar.pereidagarcia@tut.fi> Co-authored-by: Sohaib ul Hassan <soh.19.hassan@gmail.com> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt...
0
int BN_is_odd(const BIGNUM *a) { return (a->top > 0) && (a->d[0] & 1); }
50,714,721,438,950,465,000,000,000,000,000,000,000
None
null
[ "CWE-310" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,673
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n, int tna, int tnb, BN_ULONG *t) { int i,j,n2=n*2; int c1,c2,neg,zero; BN_ULONG ln,lo,*p; # ifdef BN_COUNT fprintf(stderr," bn_mul_part_recursive (%d%+d) * (%d%+d)\n", n, tna, n, tnb); # endif if (n < 8) { bn_mul_normal(r,a,n+tna,...
237,399,668,472,531,330,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,674
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
BN_ULONG bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl, int dl) { BN_ULONG c, l, t; assert(cl >= 0); c = bn_add_words(r, a, b, cl); if (dl == 0) return c; r += cl; a += cl; b += cl; if (dl < 0) { int save_dl = dl; #ifdef BN_COUNT fprintf(stderr, " bn_add_part_words ...
231,682,406,656,813,200,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,675
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, BN_ULONG *t) { int n=n2/2; # ifdef BN_COUNT fprintf(stderr," bn_mul_low_recursive %d * %d\n",n2,n2); # endif bn_mul_recursive(r,a,b,n,0,0,&(t[0])); if (n >= BN_MUL_LOW_RECURSIVE_SIZE_NORMAL) { bn_mul_low_recursive(&(t[0]),&(a[0]),...
279,253,692,928,372,640,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,676
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) { int ret=0; int top,al,bl; BIGNUM *rr; #if defined(BN_MUL_COMBA) || defined(BN_RECURSION) int i; #endif #ifdef BN_RECURSION BIGNUM *t=NULL; int j=0,k; #endif #ifdef BN_COUNT fprintf(stderr,"BN_mul %d * %d\n",a->top,b->top); #endif bn_check...
103,649,099,520,585,310,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,677
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) { #ifdef BN_COUNT fprintf(stderr," bn_mul_low_normal %d * %d\n",n,n); #endif bn_mul_words(r,a,n,b[0]); for (;;) { if (--n <= 0) return; bn_mul_add_words(&(r[1]),a,n,b[1]); if (--n <= 0) return; bn_mul_add_words(&(r[2]),a,n,b[2]); if (...
230,700,026,689,865,400,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,678
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2, BN_ULONG *t) { int i,n; int c1,c2; int neg,oneg,zero; BN_ULONG ll,lc,*lp,*mp; # ifdef BN_COUNT fprintf(stderr," bn_mul_high %d * %d\n",n2,n2); # endif n=n2/2; /* Calculate (al-ah)*(bh-bl) */ neg=zero=0; c1=bn_cmp_words(&(a[0]...
12,966,650,609,896,857,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,679
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl, int dl) { BN_ULONG c, t; assert(cl >= 0); c = bn_sub_words(r, a, b, cl); if (dl == 0) return c; r += cl; a += cl; b += cl; if (dl < 0) { #ifdef BN_COUNT fprintf(stderr, " bn_sub_part_words %d + %d (dl < 0, c = %d...
30,260,467,000,615,556,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,680
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, int dna, int dnb, BN_ULONG *t) { int n=n2/2,c1,c2; int tna=n+dna, tnb=n+dnb; unsigned int neg,zero; BN_ULONG ln,lo,*p; # ifdef BN_COUNT fprintf(stderr," bn_mul_recursive %d%+d * %d%+d\n",n2,dna,n2,dnb); # endif # ifdef BN_MUL_COMBA # if 0 if...
89,393,370,702,424,760,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,681
openssl
7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/7e4cae1d2f555cbe9226b377aff4b56c9f7ddd4d
PR: 2111 Submitted by: Martin Olsson <molsson@opera.com> Check for bn_wexpand errors in bn_mul.c
0
void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb) { BN_ULONG *rr; #ifdef BN_COUNT fprintf(stderr," bn_mul_normal %d * %d\n",na,nb); #endif if (na < nb) { int itmp; BN_ULONG *ltmp; itmp=na; na=nb; nb=itmp; ltmp=a; a=b; b=ltmp; } rr= &(r[na]); if (nb <= 0) { (void)bn_...
315,566,439,299,990,100,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
None
None
https://nvd.nist.gov/vuln/detail/None
515,799
openssl
9eafb53614bf65797db25f467946e735e1b43dc9
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/9eafb53614bf65797db25f467946e735e1b43dc9
Fix possible infinite loop in BN_mod_sqrt() The calculation in some cases does not finish for non-prime p. This fixes CVE-2022-0778. Based on patch by David Benjamin <davidben@google.com>. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
0
BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) /* * Returns 'ret' such that ret^2 == a (mod p), using the Tonelli/Shanks * algorithm (cf. Henri Cohen, "A Course in Algebraic Computational Number * Theory", algorithm 1.5.1). 'p' must be prime, otherwise an error or * an incorrect "res...
127,086,554,696,191,680,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
515,800
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int flags) { LoongArchCPU *cpu = LOONGARCH_CPU(cs); CPULoongArchState *env = &cpu->env; int i; qemu_fprintf(f, " PC=%016" PRIx64 " ", env->pc); qemu_fprintf(f, " FCSR0 0x%08x fp_status 0x%02x\n", env->fcsr0, get_float_exception_...
195,362,002,749,909,450,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,801
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_do_interrupt(CPUState *cs) { LoongArchCPU *cpu = LOONGARCH_CPU(cs); CPULoongArchState *env = &cpu->env; bool update_badinstr = 1; int cause = -1; const char *name; bool tlbfill = FIELD_EX64(env->CSR_TLBRERA, CSR_TLBRERA, ISTLBR); uint32_t vec_size = FIELD_EX64(env->...
81,865,872,374,967,370,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,802
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_init(Object *obj) { LoongArchCPU *cpu = LOONGARCH_CPU(obj); cpu_set_cpustate_pointers(cpu); #ifndef CONFIG_USER_ONLY CPULoongArchState *env = &cpu->env; qdev_init_gpio_in(DEVICE(cpu), loongarch_cpu_set_irq, N_IRQS); timer_init_ns(&cpu->timer, QEMU_CLOCK_VIRTUAL, ...
80,292,703,995,346,330,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,803
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_class_init(ObjectClass *c, void *data) { LoongArchCPUClass *lacc = LOONGARCH_CPU_CLASS(c); CPUClass *cc = CPU_CLASS(c); DeviceClass *dc = DEVICE_CLASS(c); device_class_set_parent_realize(dc, loongarch_cpu_realizefn, &lacc->parent_realize); ...
217,189,940,495,840,340,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,804
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
void G_NORETURN do_raise_exception(CPULoongArchState *env, uint32_t exception, uintptr_t pc) { CPUState *cs = env_cpu(env); qemu_log_mask(CPU_LOG_INT, "%s: %d (%s)\n", __func__, exception, ...
335,021,715,556,397,100,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,805
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_list_entry(gpointer data, gpointer user_data) { const char *typename = object_class_get_name(OBJECT_CLASS(data)); qemu_printf("%s\n", typename); }
308,823,635,190,235,400,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,806
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
const char *loongarch_exception_name(int32_t exception) { assert(excp_names[exception]); return excp_names[exception]; }
214,632,086,846,601,850,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,807
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_disas_set_info(CPUState *s, disassemble_info *info) { info->print_insn = print_insn_loongarch; }
271,490,798,464,195,000,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,808
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
void loongarch_cpu_set_irq(void *opaque, int irq, int level) { LoongArchCPU *cpu = opaque; CPULoongArchState *env = &cpu->env; CPUState *cs = CPU(cpu); if (irq < 0 || irq >= N_IRQS) { return; } env->CSR_ESTAT = deposit64(env->CSR_ESTAT, irq, 1, level != 0); if (FIELD_EX64(env->CSR...
122,779,970,940,512,500,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,809
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_reset(DeviceState *dev) { CPUState *cs = CPU(dev); LoongArchCPU *cpu = LOONGARCH_CPU(cs); LoongArchCPUClass *lacc = LOONGARCH_CPU_GET_CLASS(cpu); CPULoongArchState *env = &cpu->env; lacc->parent_reset(dev); env->fcsr0_mask = FCSR0_M1 | FCSR0_M2 | FCSR0_M3; env->fc...
336,031,391,612,226,240,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,810
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_set_pc(CPUState *cs, vaddr value) { LoongArchCPU *cpu = LOONGARCH_CPU(cs); CPULoongArchState *env = &cpu->env; env->pc = value; }
125,693,977,281,997,150,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,811
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, vaddr addr, unsigned size, MMUAccessType access_type, int mmu_idx, MemTxAttrs attrs, ...
270,486,126,753,706,060,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,812
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static inline bool cpu_loongarch_hw_interrupts_enabled(CPULoongArchState *env) { bool ret = 0; ret = (FIELD_EX64(env->CSR_CRMD, CSR_CRMD, IE) && !(FIELD_EX64(env->CSR_DBG, CSR_DBG, DST))); return ret; }
216,045,086,552,536,100,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,813
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_qemu_write(void *opaque, hwaddr addr, uint64_t val, unsigned size) { }
38,459,980,143,313,804,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,814
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
void loongarch_cpu_list(void) { GSList *list; list = object_class_get_list_sorted(TYPE_LOONGARCH_CPU, false); g_slist_foreach(list, loongarch_cpu_list_entry, NULL); g_slist_free(list); }
141,160,315,886,485,930,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,815
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_realizefn(DeviceState *dev, Error **errp) { CPUState *cs = CPU(dev); LoongArchCPUClass *lacc = LOONGARCH_CPU_GET_CLASS(dev); Error *local_err = NULL; cpu_exec_realizefn(cs, &local_err); if (local_err != NULL) { error_propagate(errp, local_err); return; ...
429,018,298,095,554,500,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,816
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static uint64_t loongarch_qemu_read(void *opaque, hwaddr addr, unsigned size) { switch (addr) { case FEATURE_REG: return 1ULL << IOCSRF_MSI | 1ULL << IOCSRF_EXTIOI | 1ULL << IOCSRF_CSRIPI; case VENDOR_REG: return 0x6e6f73676e6f6f4cULL; /* "Loongson" */ case CPUNAME_REG: ...
138,272,937,596,032,600,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,817
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_la464_initfn(Object *obj) { LoongArchCPU *cpu = LOONGARCH_CPU(obj); CPULoongArchState *env = &cpu->env; int i; for (i = 0; i < 21; i++) { env->cpucfg[i] = 0x0; } env->cpucfg[0] = 0x14c010; /* PRID */ uint32_t data = 0; data = FIELD_DP32(data, CPUCFG1, AR...
139,923,789,661,643,210,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,818
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static inline bool cpu_loongarch_hw_interrupts_pending(CPULoongArchState *env) { uint32_t pending; uint32_t status; bool r; pending = FIELD_EX64(env->CSR_ESTAT, CSR_ESTAT, IS); status = FIELD_EX64(env->CSR_ECFG, CSR_ECFG, LIE); r = (pending & status) != 0; return r; }
80,845,944,482,602,160,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,819
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static ObjectClass *loongarch_cpu_class_by_name(const char *cpu_model) { ObjectClass *oc; char *typename; typename = g_strdup_printf(LOONGARCH_CPU_TYPE_NAME("%s"), cpu_model); oc = object_class_by_name(typename); g_free(typename); return oc; }
197,479,536,749,635,940,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,820
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
CpuDefinitionInfoList *qmp_query_cpu_definitions(Error **errp) { CpuDefinitionInfoList *cpu_list = NULL; GSList *list; list = object_class_get_list(TYPE_LOONGARCH_CPU, false); g_slist_foreach(list, loongarch_cpu_add_definition, &cpu_list); g_slist_free(list); return cpu_list; }
199,048,310,618,796,600,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,821
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static bool loongarch_cpu_exec_interrupt(CPUState *cs, int interrupt_request) { if (interrupt_request & CPU_INTERRUPT_HARD) { LoongArchCPU *cpu = LOONGARCH_CPU(cs); CPULoongArchState *env = &cpu->env; if (cpu_loongarch_hw_interrupts_enabled(env) && cpu_loongarch_hw_interrupts_pe...
268,313,618,453,191,330,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,822
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static bool loongarch_cpu_has_work(CPUState *cs) { #ifdef CONFIG_USER_ONLY return true; #else LoongArchCPU *cpu = LOONGARCH_CPU(cs); CPULoongArchState *env = &cpu->env; bool has_work = false; if ((cs->interrupt_request & CPU_INTERRUPT_HARD) && cpu_loongarch_hw_interrupts_pending(env)) { ...
135,470,380,378,098,400,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,823
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_add_definition(gpointer data, gpointer user_data) { ObjectClass *oc = data; CpuDefinitionInfoList **cpu_list = user_data; CpuDefinitionInfo *info = g_new0(CpuDefinitionInfo, 1); const char *typename = object_class_get_name(oc); info->name = g_strndup(typename, ...
274,416,667,545,873,270,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,824
qemu
3517fb726741c109cae7995f9ea46f0cab6187d6
https://github.com/bonzini/qemu
https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6
target/loongarch: Clean up tlb when cpu reset We should make sure that tlb is clean when cpu reset. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705070950.2364243-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson...
0
static void loongarch_cpu_synchronize_from_tb(CPUState *cs, const TranslationBlock *tb) { LoongArchCPU *cpu = LOONGARCH_CPU(cs); CPULoongArchState *env = &cpu->env; env->pc = tb->pc; }
50,852,572,667,185,730,000,000,000,000,000,000,000
None
null
[ "CWE-908" ]
CVE-2022-35414
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considere...
https://nvd.nist.gov/vuln/detail/CVE-2022-35414
515,825
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
kScreenSaver::kScreenSaver( Drawable drawable ) : QObject() { Window root; int ai; unsigned int au; d = drawable; gc = XCreateGC( qt_xdisplay(), d, 0, 0); XGetGeometry( qt_xdisplay(), drawable, &root, &ai, &ai, &width, &height, &au, &au ); }
104,746,196,938,645,130,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,826
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
static QString passwordQuery(bool name) { QString retval(""); if (name) { retval = currentUser() + "\n"; } return retval + glocale->translate("Enter Password"); }
220,558,636,514,106,000,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,827
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
kScreenSaver::~kScreenSaver() { XFreeGC( qt_xdisplay(), gc ); }
316,449,934,678,806,600,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,828
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
static QString currentUser(void) { struct passwd *current = getpwuid(getuid()); QString fullname(current->pw_gecos); if (fullname.find(',') != -1) /* Remove everything from and including first comma */ fullname.resize(fullname.find(',')); QString username(current->pw_name); return fullname + " (" + ...
159,084,453,158,804,330,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,829
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
void KPasswordDlg::blinkTimeout() { blink = !blink; showStars(); }
159,460,375,992,271,000,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,830
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
void KPasswordDlg::keyPressed( QKeyEvent *e ) { static bool waitForAuthentication = false; if (!waitForAuthentication) { switch ( e->key() ) { case Key_Backspace: { int len = password.length(); if ( len ) { password.truncate( len - 1 ); if( stars ) showStars(); } } break; ...
161,466,199,867,790,730,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,831
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
void kScreenSaver::expose( int x, int y, int width, int height ) { XSetForeground(qt_xdisplay(), gc, BlackPixel(qt_xdisplay(), qt_xscreen())); XFillRectangle(qt_xdisplay(), d, gc, x, y, width, height); }
57,697,954,513,723,555,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,832
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
void KPasswordDlg::showStars() { QString s; s.fill( '*', password.length() ); if( blink ) s += "_"; entry->setText( s ); }
198,315,901,997,019,670,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,833
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
void KPasswordDlg::timeout() { if ( timerMode ) { label->setText( passwordQuery(TRUE) ); if( stars ) showStars(); timerMode = 0; timer.start( 5000, TRUE ); } else emit passCancel(); }
204,663,824,942,368,240,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,834
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
int KPasswordDlg::tryPassword() { #if defined HAVE_ETCPASSWD || defined HAVE_SHADOW || defined HAVE_PAM if( stars ) blinkTimer->stop(); KProcess chkpass; QString kcp_binName = ""; kcp_binName += KApplication::kde_bindir(); kcp_binName += "/kcheckpass"; chkpass.clearArguments(); chkpass << kcp_binName; bool r...
155,768,058,413,046,270,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,835
kde1-kdebase
04906bd5de2f220bf100b605dad37b4a1d9a91a6
https://github.com/KDE/kde1-kdebase
https://github.com/KDE/kde1-kdebase/commit/04906bd5de2f220bf100b605dad37b4a1d9a91a6
Fix for password entry/dialog deletion race.
0
KPasswordDlg::KPasswordDlg( QWidget *parent, bool s ) : QWidget( parent ) { setCursor( arrowCursor ); stars = s; password = ""; QFont font( "helvetica", 18 ); QFontMetrics fm(font); QString query = passwordQuery(TRUE); /* Two lines of text */ int qwidth = fm.width((const char *)query); int qheight = fm.heigh...
243,703,623,916,198,260,000,000,000,000,000,000,000
None
null
[]
CVE-1999-0731
The KDE klock program allows local users to unlock a session using malformed input.
https://nvd.nist.gov/vuln/detail/CVE-1999-0731
515,836
html-parser
b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
http://github.com/gisle/html-parser
http://github.com/gisle/html-parser/commit/b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
decode_entities confused by trailing incomplete entity Mark Martinec reported crashed when running SpamAssassin, given a particular HTML junk mail to parse. The problem was caused by HTML::Parsers decode_entities function confusing itself when it encountered strings with incomplete entities at the end of the string.
0
sv_lower(pTHX_ SV* sv) { STRLEN len; char *s = SvPV_force(sv, len); for (; len--; s++) *s = toLOWER(*s); return sv; }
320,375,009,128,794,760,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2009-3627
The decode_entities function in util.c in HTML-Parser before 3.63 allows context-dependent attackers to cause a denial of service (infinite loop) via an incomplete SGML numeric character reference, which triggers generation of an invalid UTF-8 character.
https://nvd.nist.gov/vuln/detail/CVE-2009-3627
515,837
html-parser
b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
http://github.com/gisle/html-parser
http://github.com/gisle/html-parser/commit/b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
decode_entities confused by trailing incomplete entity Mark Martinec reported crashed when running SpamAssassin, given a particular HTML junk mail to parse. The problem was caused by HTML::Parsers decode_entities function confusing itself when it encountered strings with incomplete entities at the end of the string.
0
decode_entities(pTHX_ SV* sv, HV* entity2char, bool expand_prefix) { STRLEN len; char *s = SvPV_force(sv, len); char *t = s; char *end = s + len; char *ent_start; char *repl; STRLEN repl_len; #ifdef UNICODE_HTML_PARSER char buf[UTF8_MAXLEN]; int repl_utf8; int high_surrogate = 0...
324,129,469,800,921,000,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2009-3627
The decode_entities function in util.c in HTML-Parser before 3.63 allows context-dependent attackers to cause a denial of service (infinite loop) via an incomplete SGML numeric character reference, which triggers generation of an invalid UTF-8 character.
https://nvd.nist.gov/vuln/detail/CVE-2009-3627
515,838
html-parser
b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
http://github.com/gisle/html-parser
http://github.com/gisle/html-parser/commit/b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
decode_entities confused by trailing incomplete entity Mark Martinec reported crashed when running SpamAssassin, given a particular HTML junk mail to parse. The problem was caused by HTML::Parsers decode_entities function confusing itself when it encountered strings with incomplete entities at the end of the string.
0
has_hibit(char *s, char *e) { while (s < e) { U8 ch = *s++; if (!UTF8_IS_INVARIANT(ch)) { return 1; } } return 0; }
22,830,999,285,546,942,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2009-3627
The decode_entities function in util.c in HTML-Parser before 3.63 allows context-dependent attackers to cause a denial of service (infinite loop) via an incomplete SGML numeric character reference, which triggers generation of an invalid UTF-8 character.
https://nvd.nist.gov/vuln/detail/CVE-2009-3627
515,839
html-parser
b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
http://github.com/gisle/html-parser
http://github.com/gisle/html-parser/commit/b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
decode_entities confused by trailing incomplete entity Mark Martinec reported crashed when running SpamAssassin, given a particular HTML junk mail to parse. The problem was caused by HTML::Parsers decode_entities function confusing itself when it encountered strings with incomplete entities at the end of the string.
0
strnEQx(const char* s1, const char* s2, STRLEN n, int ignore_case) { while (n--) { if (ignore_case) { if (toLOWER(*s1) != toLOWER(*s2)) return 0; } else { if (*s1 != *s2) return 0; } s1++; s2++; } return 1; }
256,082,440,457,623,600,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2009-3627
The decode_entities function in util.c in HTML-Parser before 3.63 allows context-dependent attackers to cause a denial of service (infinite loop) via an incomplete SGML numeric character reference, which triggers generation of an invalid UTF-8 character.
https://nvd.nist.gov/vuln/detail/CVE-2009-3627
515,840
html-parser
b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
http://github.com/gisle/html-parser
http://github.com/gisle/html-parser/commit/b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
decode_entities confused by trailing incomplete entity Mark Martinec reported crashed when running SpamAssassin, given a particular HTML junk mail to parse. The problem was caused by HTML::Parsers decode_entities function confusing itself when it encountered strings with incomplete entities at the end of the string.
0
grow_gap(pTHX_ SV* sv, STRLEN grow, char** t, char** s, char** e) { /* SvPVX ---> AAAAAA...BBBBBB ^ ^ ^ t s e */ STRLEN t_offset = *t - SvPVX(sv); STRLEN s_offset = *s - SvPVX(sv); STRLEN e_offset = *e - SvPVX(sv); SvGROW(sv, e_offset +...
241,955,304,022,248,200,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2009-3627
The decode_entities function in util.c in HTML-Parser before 3.63 allows context-dependent attackers to cause a denial of service (infinite loop) via an incomplete SGML numeric character reference, which triggers generation of an invalid UTF-8 character.
https://nvd.nist.gov/vuln/detail/CVE-2009-3627
515,841
html-parser
b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
http://github.com/gisle/html-parser
http://github.com/gisle/html-parser/commit/b9aae1e43eb2c8e989510187cff0ba3e996f9a4c
decode_entities confused by trailing incomplete entity Mark Martinec reported crashed when running SpamAssassin, given a particular HTML junk mail to parse. The problem was caused by HTML::Parsers decode_entities function confusing itself when it encountered strings with incomplete entities at the end of the string.
0
probably_utf8_chunk(pTHX_ char *s, STRLEN len) { char *e = s + len; STRLEN clen; /* ignore partial utf8 char at end of buffer */ while (s < e && UTF8_IS_CONTINUATION((U8)*(e - 1))) e--; if (s < e && UTF8_IS_START((U8)*(e - 1))) e--; clen = len - (e - s); if (clen && UTF8SKIP(e) == clen) {...
224,166,526,156,218,730,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2009-3627
The decode_entities function in util.c in HTML-Parser before 3.63 allows context-dependent attackers to cause a denial of service (infinite loop) via an incomplete SGML numeric character reference, which triggers generation of an invalid UTF-8 character.
https://nvd.nist.gov/vuln/detail/CVE-2009-3627
515,979
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static void dump_stack_trace() { intptr_t addrs[20]; int c = get_backtrace(addrs, 20); char buf[16]; char tmp[16*20]; int i; tmp[0] = 0; // Need to initialize tmp[0] for the first strcat for (i=0 ; i<c; i++) { snprintf(buf, sizeof buf, "%2d: %08x\n", i, addrs[i]); strlcat(tm...
171,004,035,591,358,520,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,980
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static int chk_mem_check(void* mem, size_t* allocated, const char* func) { char* buffer; size_t offset, bytes; int i; char* buf; /* first check the bytes in the sentinel header */ buf = (char*)mem - CHK_SENTINEL_HEAD_SIZE; for...
301,667,171,348,507,730,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,981
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
int get_backtrace(intptr_t* addrs, size_t max_entries) { stack_crawl_state_t state; state.count = max_entries; state.addrs = (intptr_t*)addrs; _Unwind_Backtrace(trace_function, (void*)&state); return max_entries - state.count; }
294,990,716,517,492,060,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,982
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* leak_calloc(size_t n_elements, size_t elem_size) { size_t size; void* ptr; /* Fail on overflow - just to be safe even though this code runs only * within the debugging C library, not the production one */ if (n_elements && MAX_SIZE_T / n_elements < elem_size) { return NULL; } ...
109,796,738,576,263,650,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,983
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void fill_free(void* mem) { size_t bytes = dlmalloc_usable_size(mem); memset(mem, CHK_FILL_FREE, bytes); dlfree(mem); }
184,397,917,051,043,970,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,984
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static _Unwind_Reason_Code trace_function(__unwind_context *context, void *arg) { stack_crawl_state_t* state = (stack_crawl_state_t*)arg; if (state->count) { intptr_t ip = (intptr_t)_Unwind_GetIP(context); if (ip) { state->addrs[0] = ip; state->addrs++; state-...
216,738,385,724,550,800,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,985
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static void assert_log_message(const char* format, ...) { va_list args; pthread_mutex_lock(&gAllocationsMutex); { const MallocDebug* current_dispatch = __libc_malloc_dispatch; __libc_malloc_dispatch = &__libc_malloc_default_dispatch; va_start(args, format); __libc_android_l...
272,637,901,178,227,780,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,986
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static void assert_valid_malloc_pointer(void* mem) { if (mem && !is_valid_malloc_pointer(mem)) { assert_log_message( "*** MALLOC CHECK: buffer %p, is not a valid " "malloc pointer (are you mixing up new/delete " "and malloc/free?)", mem); } }
5,096,207,110,082,911,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,987
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void chk_free(void* mem) { assert_valid_malloc_pointer(mem); if (mem) { size_t size; char* buffer; if (chk_mem_check(mem, &size, "FREE") == 0) { buffer = (char*)mem - CHK_SENTINEL_HEAD_SIZE; memset(buffer, CHK_FILL_FREE, size + CHK_OVERHEAD_SIZE); ...
253,151,894,027,565,900,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,988
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* chk_memalign(size_t alignment, size_t bytes) { // XXX: it's better to use malloc, than being wrong return chk_malloc(bytes); }
114,537,307,471,043,760,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,989
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static int is_valid_entry(HashEntry* entry) { if (entry != NULL) { int i; for (i = 0 ; i < HASHTABLE_SIZE ; i++) { HashEntry* e1 = gHashTable.slots[i]; while (e1 != NULL) { if (e1 == entry) { return 1; } e1...
188,584,108,765,261,360,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,990
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static int is_valid_malloc_pointer(void* addr) { return 1; }
70,443,482,452,612,090,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,991
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static HashEntry* record_backtrace(intptr_t* backtrace, size_t numEntries, size_t size) { size_t hash = get_hash(backtrace, numEntries); size_t slot = hash % HASHTABLE_SIZE; if (size & SIZE_FLAG_MASK) { debug_log("malloc_debug: allocation %zx exceeds bit width\n", size); abort(); } ...
46,091,161,617,271,870,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,992
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* fill_realloc(void* mem, size_t bytes) { void* buffer = fill_malloc(bytes); if (mem == NULL) { return buffer; } if (buffer) { size_t old_size = dlmalloc_usable_size(mem); size_t size = (bytes < old_size)?(bytes):(old_size); memcpy(buffer, mem, size); fill_fre...
66,183,379,530,552,090,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,993
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* chk_malloc(size_t bytes) { size_t size = bytes + CHK_OVERHEAD_SIZE; if (size < bytes) { // Overflow. return NULL; } uint8_t* buffer = (uint8_t*) dlmalloc(size); if (buffer) { memset(buffer, CHK_SENTINEL_VALUE, bytes + CHK_OVERHEAD_SIZE); size_t offset = dlmalloc_usable_...
337,156,802,310,075,100,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,994
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* leak_realloc(void* oldMem, size_t bytes) { if (oldMem == NULL) { return leak_malloc(bytes); } void* newMem = NULL; AllocationEntry* header = (AllocationEntry*)oldMem - 1; if (header && header->guard == GUARD) { size_t oldSize = header->entry->size & ~SIZE_FLAG_MASK; new...
217,862,939,056,720,300,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,995
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void leak_free(void* mem) { if (mem != NULL) { pthread_mutex_lock(&gAllocationsMutex); // check the guard to make sure it is valid AllocationEntry* header = (AllocationEntry*)mem - 1; if (header->guard != GUARD) { // could be a memaligned block if (((void**)...
281,776,963,629,877,660,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,996
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* fill_malloc(size_t bytes) { void* buffer = dlmalloc(bytes); if (buffer) { memset(buffer, CHK_SENTINEL_VALUE, bytes); } return buffer; }
202,640,056,743,104,350,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,997
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* leak_malloc(size_t bytes) { // allocate enough space infront of the allocation to store the pointer for // the alloc structure. This will making free'ing the structer really fast! // 1. allocate enough memory and include our header // 2. set the base pointer to be right after our header size...
331,569,411,028,560,230,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,998
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static void remove_entry(HashEntry* entry) { HashEntry* prev = entry->prev; HashEntry* next = entry->next; if (prev != NULL) entry->prev->next = next; if (next != NULL) entry->next->prev = prev; if (prev == NULL) { // we are the head of the list. set the head to be next gHashTable....
213,642,722,058,687,140,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
515,999
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* chk_calloc(size_t n_elements, size_t elem_size) { size_t size; void* ptr; /* Fail on overflow - just to be safe even though this code runs only * within the debugging C library, not the production one */ if (n_elements && MAX_SIZE_T / n_elements < elem_size) { return NULL; } ...
336,564,467,373,226,770,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,000
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static uint32_t get_hash(intptr_t* backtrace, size_t numEntries) { if (backtrace == NULL) return 0; int hash = 0; size_t i; for (i = 0 ; i < numEntries ; i++) { hash = (hash * 33) + (backtrace[i] >> 2); } return hash; }
87,249,722,958,338,400,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,001
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
int malloc_debug_initialize(void) { // We don't really have anything that requires initialization here. return 0; }
121,875,405,826,431,900,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,002
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* leak_memalign(size_t alignment, size_t bytes) { // we can just use malloc if (alignment <= MALLOC_ALIGNMENT) return leak_malloc(bytes); // need to make sure it's a power of two if (alignment & (alignment-1)) alignment = 1L << (31 - __builtin_clz(alignment)); // here, aligment...
146,050,602,257,073,810,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,003
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* chk_realloc(void* mem, size_t bytes) { char* buffer; int ret; size_t old_bytes = 0; assert_valid_malloc_pointer(mem); if (mem != NULL && chk_mem_check(mem, &old_bytes, "REALLOC") < 0) return NULL; char* new_buffer = chk_malloc(bytes); if (mem == NULL) { return...
156,256,879,070,110,800,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,004
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
void* fill_memalign(size_t alignment, size_t bytes) { void* buffer = dlmemalign(alignment, bytes); if (buffer) { memset(buffer, CHK_SENTINEL_VALUE, bytes); } return buffer; }
66,134,846,579,641,120,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,005
platform_bionic
7f5aa4f35e23fd37425b3a5041737cdf58f87385
https://github.com/android/platform_bionic
https://github.com/android/platform_bionic/commit/7f5aa4f35e23fd37425b3a5041737cdf58f87385
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign() The allocation size in chk_malloc(), leak_malloc(), and leak_memalign() functions may be rounded up to a small value, leading to buffer overflows. The code only runs in debugging mode. This patch complements commit 6f04a0f4 (CVE-2009-06...
0
static HashEntry* find_entry(HashTable* table, int slot, intptr_t* backtrace, size_t numEntries, size_t size) { HashEntry* entry = table->slots[slot]; while (entry != NULL) { //debug_log("backtrace: %p, entry: %p entry->backtrace: %p\n", // backtrace, entry, (entry != NULL) ? entr...
225,770,826,388,108,560,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2674
Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in Bionic (libc) for Android, when libc.debug.malloc is set, make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size va...
https://nvd.nist.gov/vuln/detail/CVE-2012-2674
516,006
nedmalloc
2965eca30c408c13473c4146a9d47d547d288db1
https://github.com/ned14/nedmalloc
https://github.com/ned14/nedmalloc/commit/2965eca30c408c13473c4146a9d47d547d288db1
Avoid overflowing allocation size in calloc()
0
void *nedgetvalue(nedpool **p, void *mem) THROWSPEC { nedpool *np=0; mstate fm=nedblkmstate(mem); if(!fm || !fm->extp) return 0; np=(nedpool *) fm->extp; if(p) *p=np; return np->uservalue; }
95,112,823,890,212,880,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2675
Multiple integer overflows in the (1) CallMalloc (malloc) and (2) nedpcalloc (calloc) functions in nedmalloc (nedmalloc.c) before 1.10 beta2 make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size value, which causes less memory to be allocated than exp...
https://nvd.nist.gov/vuln/detail/CVE-2012-2675
516,007
nedmalloc
2965eca30c408c13473c4146a9d47d547d288db1
https://github.com/ned14/nedmalloc
https://github.com/ned14/nedmalloc/commit/2965eca30c408c13473c4146a9d47d547d288db1
Avoid overflowing allocation size in calloc()
0
NEDMALLOCNOALIASATTR NEDMALLOCPTRATTR void * nedmalloc(size_t size) THROWSPEC { return nedpmalloc((nedpool *) 0, size); }
135,532,536,296,466,420,000,000,000,000,000,000,000
None
null
[ "CWE-189" ]
CVE-2012-2675
Multiple integer overflows in the (1) CallMalloc (malloc) and (2) nedpcalloc (calloc) functions in nedmalloc (nedmalloc.c) before 1.10 beta2 make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size value, which causes less memory to be allocated than exp...
https://nvd.nist.gov/vuln/detail/CVE-2012-2675