id
stringlengths
3
5
image
stringlengths
27
29
project
stringclasses
32 values
repo_addr
stringclasses
32 values
base_commit
stringlengths
40
40
inverted_commit
stringlengths
40
40
fuzzer
stringclasses
4 values
sanitizer_type
stringclasses
2 values
CWE_ID
stringclasses
16 values
secondary_CWE_ID
stringclasses
10 values
command
stringlengths
17
48
sanitizer_report
stringlengths
1.06k
22.7k
patch
stringlengths
194
55.4k
35492
b4drequest/vulpatch:35492-vul
selinux
https://github.com/SELinuxProject/selinux
e45642441f853c6823d6a1b83ae41c463c627a53
a46ade3f8f9e8bb12189b1282f798dbb59360fce
honggfuzz
asan
CWE-127
null
/out/secilc-fuzzer /tmp/poc
==1672==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000de64 at pc 0x00000056d090 bp 0x7fffabcc87b0 sp 0x7fffabcc87a8 READ of size 4 at 0x60300000de64 thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x56d08f in __cil_cat_expr_range_to_bitmap_helper /src/selinux/libse...
diff --git a/libsepol/cil/src/cil_resolve_ast.c b/libsepol/cil/src/cil_resolve_ast.c --- a/libsepol/cil/src/cil_resolve_ast.c +++ b/libsepol/cil/src/cil_resolve_ast.c @@ -3226,6 +3226,7 @@ struct cil_symtab_datum *res_datum = NULL; enum cil_sym_index sym_idx = CIL_SYM_UNKNOWN; struct cil_list *datum_sub_list; + ...
35553
b4drequest/vulpatch:35553-vul
selinux
https://github.com/SELinuxProject/selinux
e293718f0edf553593b2f0687ea9c1294199f764
a46ade3f8f9e8bb12189b1282f798dbb59360fce
libfuzzer
asan
CWE-127
CWE-674
/out/secilc-fuzzer /tmp/poc
==1671==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7448764de7f0 at pc 0x00000062c869 bp 0x7fffa2003c00 sp 0x7fffa2003bf8 READ of size 8 at 0x7448764de7f0 thread T0 SCARINESS: 33 (8-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x62c868 in ebitmap_match_any /src/selinux/libsepol/src/ebitmap.c:23...
diff --git a/libsepol/cil/src/cil_resolve_ast.c b/libsepol/cil/src/cil_resolve_ast.c --- a/libsepol/cil/src/cil_resolve_ast.c +++ b/libsepol/cil/src/cil_resolve_ast.c @@ -65,7 +65,6 @@ struct cil_list *sensitivityorder_lists; struct cil_list *in_list_before; struct cil_list *in_list_after; - int *inheritance_chec...
35876
b4drequest/vulpatch:35876-vul
php-src
https://github.com/php/php-src.git
62ecf54f35e227d09d19ec40920f7bb8d29e9356
9e097822e8ba1086d4c96f0902fb01de6d49ef36
libfuzzer
asan
CWE-416
null
/out/php-fuzz-execute /tmp/poc
==83269==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300001da10 at pc 0x000000d15f76 bp 0x7ffc0fdacc60 sp 0x7ffc0fdacc58 READ of size 4 at 0x60300001da10 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0xd15f75 in zend_gc_addref /src/php-src/Zend/zend_types.h:1210:9 #1 0xd6e25d in Z...
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1377,7 +1377,7 @@ ZEND_TRY_BINARY_OBJECT_OPERATION(ZEND_DIV); - zval op1_cast, op2_cast; + zval result_copy, op1_cast, op2_cast; if (UNEXPECTED(zendi_try_convert_scalar_to_number(op1, &op1_cast...
36402
b4drequest/vulpatch:36402-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
03cd9c5cbab9c70c091d4bc5d634fd67469f0658
233c29b3024469fed9ea68018e9a072a036884af
libfuzzer
asan
CWE-1284
null
/out/hb-subset-fuzzer /tmp/poc
==348==ERROR: AddressSanitizer: negative-size-param: (size=-2091920926) SCARINESS: 10 (negative-size-param) #0 0x8177f61 in __asan_memset /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:26:3 #1 0x8523ed7 in OT::VarRegionList* hb_serialize_context_t::allocate_size<OT::VarRegionList>(un...
diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh --- a/src/hb-open-file.hh +++ b/src/hb-open-file.hh @@ -102,7 +102,13 @@ { Tag tg; tg = otag; - return tables.bfind (tg, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); + /* Use lfind for small fonts; there are fonts that have unsorted ...
36930
b4drequest/vulpatch:36930-vul
mruby
https://github.com/mruby/mruby
cd02cef465c12e111a308f87ee899d91774440db
7c6c4ebb56a17c291806c7961f6ca2abc7da4546
libfuzzer
asan
CWE-843
null
/out/mruby_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==1178==ERROR: AddressSanitizer: SEGV on unknown address 0x009bffff8005 (pc 0x000000584f13 bp 0x7ffcec7d9ca0 sp 0x7ffcec7d9c80 T0) ==1178==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -2279,16 +2279,19 @@ if (loop_cond_kind == NODE_TRUE || loop_cond_kind == NODE_INT || loop_cond_kind == NODE_STR) { ...
36998
b4drequest/vulpatch:36998-vul
rdkit
https://github.com/rdkit/rdkit.git
e2b0a850d7f7087efc15181b8ab11a6b8a566228
f5c9fb6a3144d37a0487b78781995bd8d48da795
aflpp
asan
CWE-416
null
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
==39004==ERROR: AddressSanitizer: heap-use-after-free on address 0x607000037b84 at pc 0x000000dcf208 bp 0x7ffe0a2b2a90 sp 0x7ffe0a2b2a88 READ of size 4 at 0x607000037b84 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0xdcf207 in RDKit::Atom::getIdx() const /src/rdkit/Code/GraphMol/Atom.h:143:40 #1...
diff --git a/Code/GraphMol/RWMol.cpp b/Code/GraphMol/RWMol.cpp --- a/Code/GraphMol/RWMol.cpp +++ b/Code/GraphMol/RWMol.cpp @@ -156,6 +156,16 @@ elem = atom_p; } } + } + } + + // handle stereo group + for (auto &group : d_stereo_groups) { + auto atoms = group.getAtoms(); + auto ait...
37915
b4drequest/vulpatch:37915-vul
arrow
https://github.com/apache/arrow.git
bbecb6ae5242cf97061d5daa73ef127d49b105b6
42447e6af605a765ba9a43338394441e07c185f4
libfuzzer
asan
CWE-126
CWE-1284
/out/arrow-ipc-stream-fuzz /tmp/poc
==1031==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000019b9d10 at pc 0x00000073edcd bp 0x7ffe7142e330 sp 0x7ffe7142e328 READ of size 4 at 0x0000019b9d10 thread T0 SCARINESS: 17 (4-byte-read-global-buffer-overflow) #0 0x73edcc in Visit /src/arrow/cpp/src/arrow/array/util.cc:212:53 #1 0x73edcc ...
diff --git a/cpp/src/arrow/array/util.cc b/cpp/src/arrow/array/util.cc --- a/cpp/src/arrow/array/util.cc +++ b/cpp/src/arrow/array/util.cc @@ -206,7 +206,7 @@ const int64_t buffer_size = data_->buffers[1]->size(); ARROW_ASSIGN_OR_RAISE(auto new_buffer, AllocateBuffer(buffer_size)); auto new_data = reinte...
38989
b4drequest/vulpatch:38989-vul
mruby
https://github.com/mruby/mruby
0455313a9bdbe93556a8fd31b7c011dd004a6f2b
863671c89f4450c7bccad69a88f2ca0a8859693a
libfuzzer
asan
CWE-126
null
/out/mruby_fuzzer /tmp/poc
==786==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020000023fb at pc 0x000000671d90 bp 0x7ffcfa42d530 sp 0x7ffcfa42d528 READ of size 1 at 0x6020000023fb thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x671d8f in mrb_vm_exec /src/mruby/src/vm.c:1183:7 #1 0x64903e in mrb_vm_run /src...
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -630,16 +630,17 @@ struct mrb_insn_data prevData = mrb_decode_insn(mrb_prev_pc(s, info.addr)); if (prevData.insn != OP_M...
39070
b4drequest/vulpatch:39070-vul
wolfmqtt
https://github.com/wolfSSL/wolfMQTT.git
52653a609f99bcd6be7402891b5f5aca288f3e78
2801cb2dbc41943dea80d99beb8b665aae225856
libfuzzer
asan
CWE-843
null
/out/wolfmqtt-fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==9562==ERROR: AddressSanitizer: SEGV on unknown address 0x000097b34018 (pc 0x0000005714ab bp 0x7ffdf210c310 sp 0x7ffdf210c310 T0) ==9562==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/src/mqtt_client.c b/src/mqtt_client.c --- a/src/mqtt_client.c +++ b/src/mqtt_client.c @@ -805,7 +805,8 @@ { return (want_type == MQTT_PACKET_TYPE_ANY || want_type == rx_packet_type || - MqttIsPubRespPacket(rx_packet_type) == MqttIsPubRespPacket(want_type)) && + (Mqt...
39139
b4drequest/vulpatch:39139-vul
serenity
https://github.com/SerenityOS/serenity
e77552519e3d89813a41af7722946e7245cd13d3
b1d80b35af1d05e0fff8ce3da76f58dd5b5a4fd0
libfuzzer
ubsan
CWE-758
null
/out/FuzzASN1 /tmp/poc
/src/serenity/Meta/Lagom/../../AK/Format.h:298:30: runtime error: member call on address 0x7ffee346f968 with insufficient space for an object of type 'AK::Array<AK::TypeErasedParameter, 0>' 0x7ffee346f968: note: pointer points here 00 00 00 00 00 f9 46 e3 fe 7f 00 00 c0 f9 46 e3 fe 7f 00 17 00 00 00 00 00 00 00 00 ...
diff --git a/AK/Array.h b/AK/Array.h --- a/AK/Array.h +++ b/AK/Array.h @@ -12,6 +12,16 @@ #include <AK/TypedTransfer.h> namespace AK { + +namespace Detail { +// This type serves as the storage of 0-sized `AK::Array`s. While zero-length `T[0]` +// is accepted as a GNU extension, it causes problems with UBSan in Clan...
40556
b4drequest/vulpatch:40556-vul
php-src
https://github.com/php/php-src.git
0d6232dc72e859ef73d74d2ef70fce7250ea7b31
c2aea6e8053bb73e54a26f0960540e3098816dd8
libfuzzer
asan
CWE-416
null
/out/php-fuzz-tracing-jit /tmp/poc
==64489==ERROR: AddressSanitizer: heap-use-after-free on address 0x613000001380 at pc 0x000000e71d8f bp 0x7ffc75fc0a80 sp 0x7ffc75fc0a78 READ of size 4 at 0x613000001380 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0xe71d8e in zend_gc_delref /src/php-src/Zend/zend_types.h:1213:2 #1 0xe71d8e in i...
diff --git a/ext/opcache/jit/zend_jit_helpers.c b/ext/opcache/jit/zend_jit_helpers.c --- a/ext/opcache/jit/zend_jit_helpers.c +++ b/ext/opcache/jit/zend_jit_helpers.c @@ -570,6 +570,8 @@ zend_ulong hval; zend_string *offset_key; zval *retval; + zend_execute_data *execute_data; + const zend_op *opline; if (Z_T...
40629
b4drequest/vulpatch:40629-vul
php-src
https://github.com/php/php-src.git
53332b7f66b86fa66b961cde3fe7174df0ae208d
369ab3b53ecab02136e3608641d20184e15ed16b
libfuzzer
asan
CWE-843
null
/out/php-fuzz-tracing-jit /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==63556==ERROR: AddressSanitizer: SEGV on unknown address 0x180c7ffff122 (pc 0x000000e57fc4 bp 0x7fff5357ecf0 sp 0x7fff5357ec60 T0) ==63556==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) LLVMSy...
diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -1058,8 +1058,8 @@ for (int junk_guard = 0; junk_guard < 0; junk_guard++) { continue; } - if ((zssa->var_info[phi_idx].type & MAY_BE_ANY) != MAY_BE_LON...
41208
b4drequest/vulpatch:41208-vul
php-src
https://github.com/php/php-src.git
0d6232dc72e859ef73d74d2ef70fce7250ea7b31
c2aea6e8053bb73e54a26f0960540e3098816dd8
libfuzzer
asan
CWE-416
null
/out/php-fuzz-tracing-jit /tmp/poc
==64489==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000012800 at pc 0x000000f0f93d bp 0x7ffd11e04e70 sp 0x7ffd11e04e68 READ of size 4 at 0x606000012800 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) LLVMSymbolizer: error reading file: No such file or directory #0 0xf0f93c in zend_gc_del...
diff --git a/ext/opcache/jit/zend_jit_helpers.c b/ext/opcache/jit/zend_jit_helpers.c --- a/ext/opcache/jit/zend_jit_helpers.c +++ b/ext/opcache/jit/zend_jit_helpers.c @@ -576,6 +576,8 @@ zend_ulong hval; zend_string *offset_key; zval *retval; + zend_execute_data *execute_data; + const zend_op *opline; if (Z_T...
42859
b4drequest/vulpatch:42859-vul
php-src
https://github.com/php/php-src.git
e0737d93760bee0a88255b8f49ec4a5ce315ff75
3dcf36c70117120fbd4ffcf24342411cf3986bf9
libfuzzer
asan
CWE-416
null
/out/php-fuzz-tracing-jit /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==72610==ERROR: AddressSanitizer: SEGV on unknown address 0x7fc5715ce800 (pc 0x0000010262e0 bp 0x7ffee6062ed0 sp 0x7ffee6062eb0 T0) ==72610==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0...
diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -315,7 +315,7 @@ STD_PHP_INI_ENTRY("opcache.cache_id" , "" , PHP_INI_SYSTEM, OnUpdateString, accel_dir...
42894
b4drequest/vulpatch:42894-vul
php-src
https://github.com/php/php-src.git
8b235380347d6dbdfeabf96bbb5f05f446cd5954
ea822513b3a21bf3b84170ed2074b9ba091c6a72
libfuzzer
asan
CWE-416
null
/out/php-fuzz-tracing-jit /tmp/poc
==71455==ERROR: AddressSanitizer: heap-use-after-free on address 0xedb0a2f4 at pc 0x090b4d77 bp 0xfffd3f48 sp 0xfffd3f40 READ of size 4 at 0xedb0a2f4 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x90b4d76 in _zend_hash_del_el /src/php-src/Zend/zend_hash.c:1521:11 #1 0x90b4d76 in zend_hash_revers...
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c --- a/Zend/zend_hash.c +++ b/Zend/zend_hash.c @@ -1517,12 +1517,12 @@ } } - _zend_hash_del_el_ex(htbl, idx, p, prev); if (!(p->key)) { } else { zend_string_release(p->key); p->key = NULL; } + _zend_hash_del_el_ex(htbl, idx, p, prev); } ZEND_API voi...
44212
b4drequest/vulpatch:44212-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
0f13eb1f5ceee50be88a9c5864b0d80a3266b7a5
90e40f24fed3e0a8ccb16e56fbe926fd5953b970
honggfuzz
asan
CWE-126
null
/out/hb-shape-fuzzer /tmp/poc
==298==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x621000007633 at pc 0x000000611877 bp 0x7ffd2723db40 sp 0x7ffd2723db38 READ of size 2 at 0x621000007633 thread T0 SCARINESS: 14 (2-byte-read-heap-buffer-overflow) #0 0x611876 in operator unsigned short /work/build/../../src/harfbuzz/src/hb-algs.hh:119...
diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -2612,6 +2612,7 @@ else if (u.format == 3) return_trace (ctx->dispatch (u.format3, std::forward<Ts> (ds)...)); else { #ifndef HB_NO_BORING_EXPANSION + if (u.f...
44405
b4drequest/vulpatch:44405-vul
ndpi
https://github.com/ntop/nDPI.git
79968f3245ae7bf277e01d8c5a28349b75d9ac74
a6ff0dd0e3b14e3f7e396a1d5ea125cc2ae9b82f
libfuzzer
asan
CWE-126
null
/out/fuzz_process_packet /tmp/poc
==9140==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6070000000d9 at pc 0x000000592616 bp 0x7ffce737c050 sp 0x7ffce737c048 READ of size 1 at 0x6070000000d9 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x592615 in ndpi_strncasestr /src/ndpi/src/lib/ndpi_main.c:7152:8 #1 0x5e1306 in...
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -6240,6 +6240,8 @@ pktref->content_line.len = pktref->line[pktref->parsed_lines].len - 14; for (; (pktref->content_line.len > 0) && (pktref->content_line.ptr[0] == ' '); ) pktref->content_line.len -= 1, p...
44766
b4drequest/vulpatch:44766-vul
gpac
https://github.com/gpac/gpac
66d9839e994bacee374b4c2d8f487a5a647e7d2d
18d7ff42f53ac4d4575a856af339f786598098f9
honggfuzz
asan
CWE-416
null
/out/fuzz_parse /tmp/poc
==4126==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000000068 at pc 0x00000088d21f bp 0x7ffc94ab5310 sp 0x7ffc94ab5308 READ of size 8 at 0x604000000068 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x88d21e in gf_isom_box_del /src/gpac/src/isomedia/box_funcs.c:2113:19 #1 0x88d185...
diff --git a/src/isomedia/box_code_base.c b/src/isomedia/box_code_base.c --- a/src/isomedia/box_code_base.c +++ b/src/isomedia/box_code_base.c @@ -4291,9 +4291,18 @@ if (box_4cc == GF_ISOM_BOX_TYPE_ESDS) { GF_BitStream *mybs = gf_bs_new(data + i, size - i, GF_BITSTREAM_READ); gf_bs_set_cookie(mybs, GF_ISOM_B...
45369
b4drequest/vulpatch:45369-vul
php-src
https://github.com/php/php-src.git
6e8f2ba6b87e65069895bc7839c9e9416865e807
86669774aedda7a79c9c8ee6be7d19416701a01c
honggfuzz
asan
CWE-126
null
/out/php-fuzz-execute /tmp/poc
==67004==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x748bbdde6810 at pc 0x00000112bd61 bp 0x7ffe9874a110 sp 0x7ffe9874a108 READ of size 1 at 0x748bbdde6810 thread T0 SCARINESS: 22 (1-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x112bd60 in zval_get_type /src/php-src/Zend/zend_types.h:523:18 ...
diff --git a/Zend/zend.c b/Zend/zend.c --- a/Zend/zend.c +++ b/Zend/zend.c @@ -559,6 +559,7 @@ properties = zend_get_properties_for(expr, ZEND_PROP_PURPOSE_DEBUG); if (properties != NULL) { } else { + print_hash(buf, (HashTable*) &zend_empty_array, depth, 1); break; } diff --git a/ext/sp...
45429
b4drequest/vulpatch:45429-vul
php-src
https://github.com/php/php-src.git
46c0be5eb2fbb411ad0acc698ed62d0b3d8d8d4b
cdfa01685445c129b2918cdcaa19b4ee179abc94
honggfuzz
asan
CWE-617
null
/out/php-fuzz-tracing-jit /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==66339==ERROR: AddressSanitizer: ABRT on unknown address 0x000000010323 (pc 0x74c7d51f700b bp 0x74c7d536c588 sp 0x7ffefa172ac0 T0) SCARINESS: 10 (signal) #0 0x74c7d51f700b in raise (/lib/x86_64-linux-gnu/libc.so.6+0x430...
diff --git a/Zend/Optimizer/block_pass.c b/Zend/Optimizer/block_pass.c --- a/Zend/Optimizer/block_pass.c +++ b/Zend/Optimizer/block_pass.c @@ -167,9 +167,13 @@ } else { zval c; ZVAL_COPY(&c, &ZEND_OP1_LITERAL(src)); - if (!(zend_optimizer_substitute_op1_literal(op_array, opline, &c))) { - zval...
45880
b4drequest/vulpatch:45880-vul
opensc
https://github.com/OpenSC/OpenSC
8697a01850d5e02a3099acd5160d0a0ee2d31077
591b762bb290eddd2f1a14cfb4f373a27dd78dc5
libfuzzer
asan
CWE-562
null
/out/fuzz_pkcs15init /tmp/poc
==20704==ERROR: AddressSanitizer: stack-use-after-return on address 0x7fd8ca964fd9 at pc 0x0000005be08d bp 0x7ffc9b6d07d0 sp 0x7ffc9b6d07c8 READ of size 1 at 0x7fd8ca964fd9 thread T0 SCARINESS: 50 (1-byte-read-stack-use-after-return) #0 0x5be08c in template_sanity_check /src/opensc/src/tests/fuzzing/../../../src/pk...
diff --git a/src/pkcs15init/profile.c b/src/pkcs15init/profile.c --- a/src/pkcs15init/profile.c +++ b/src/pkcs15init/profile.c @@ -1358,11 +1358,15 @@ parse_error(curr, "No path/fileid set for parent DF\n"); return 1; } - if (sizeof(df->path.value) < df->path.len + 2) { + if (df->path.len + 2 > sizeof(df->...
45969
b4drequest/vulpatch:45969-vul
opensc
https://github.com/OpenSC/OpenSC
1e6558ad6fb4cb508bd6a9d115e0899eaf6d3926
591b762bb290eddd2f1a14cfb4f373a27dd78dc5
libfuzzer
asan
CWE-787
null
/out/fuzz_pkcs15init /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==20702==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x0000005c9d66 bp 0x7ffff1237f60 sp 0x7ffff1237ef0 T0) ==20702==The signal is caused by a READ memory access. ==20702==Hint: this fault was caused by a dereferenc...
diff --git a/src/pkcs15init/profile.c b/src/pkcs15init/profile.c --- a/src/pkcs15init/profile.c +++ b/src/pkcs15init/profile.c @@ -1360,11 +1360,15 @@ parse_error(curr, "No path/fileid set for parent DF\n"); return 1; } - if (sizeof(df->path.value) < df->path.len + 2) { + if (df->path.len + 2 > sizeof(df->...
46081
b4drequest/vulpatch:46081-vul
imagemagick
https://github.com/imagemagick/imagemagick
e36bd84b0935b204a27a05aa041dfea6faf25099
8be1086bee313dfcfe014e3c60197bf0b636776f
honggfuzz
asan
CWE-416
null
/out/encoder_miff_fuzzer /tmp/poc
==129002==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000001fd0 at pc 0x000000a199a0 bp 0x7ffcd61dd210 sp 0x7ffcd61dd208 READ of size 1 at 0x602000001fd0 thread T0 SCARINESS: 40 (1-byte-read-heap-use-after-free) #0 0xa1999f in LocaleCompare /src/imagemagick/MagickCore/locale.c:1416:30 #1 0xbf43...
diff --git a/MagickCore/quantum.c b/MagickCore/quantum.c --- a/MagickCore/quantum.c +++ b/MagickCore/quantum.c @@ -694,8 +694,8 @@ Speculative allocation since we don't yet know the quantum type. */ quantum=(GetPixelChannels(image)+quantum_data->pad+3)* - ((quantum_data->depth+7)/8)*sizeof(double); - ext...
46847
b4drequest/vulpatch:46847-vul
libredwg
https://github.com/LibreDWG/libredwg
4e3f073be2453148af5f4da4d5d22ce9e6c2f7a5
392d9bad996a909affc61541fbf5e3b1234d4393
libfuzzer
asan
CWE-416
null
/out/llvmfuzz /tmp/poc
==8272==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000000430 at pc 0x00000137157b bp 0x7ffec4aab090 sp 0x7ffec4aab088 READ of size 8 at 0x602000000430 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x137157a in dwg_free_TABLEGEOMETRY_private /src/libredwg/src/./dwg.spec:7277:7 #1...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -5147,6 +5147,11 @@ i = -1; j = -1; + + if (cell_count < 1) + { + return NULL; + } o->cells = (Dwg_TABLEGEOMETRY_Cell *)xcalloc ( cell_count, sizeof (Dwg_TABLEGEOMETRY_Cell));
47655
b4drequest/vulpatch:47655-vul
opensc
https://github.com/OpenSC/OpenSC
3065bb803e10af08352f4eb7c2056f6a5a21efa8
b550e572754e597b7963796e1c535f0b085e0e89
honggfuzz
asan
CWE-787
null
/out/fuzz_pkcs15init /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==20883==ERROR: AddressSanitizer: SEGV on unknown address 0x1c0007fff8000 (pc 0x000000a70baf bp 0x7ffee7d89680 sp 0x7ffee7d89630 T0) ==20883==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #...
diff --git a/src/pkcs15init/pkcs15-myeid.c b/src/pkcs15init/pkcs15-myeid.c --- a/src/pkcs15init/pkcs15-myeid.c +++ b/src/pkcs15init/pkcs15-myeid.c @@ -426,6 +426,10 @@ file->id = file->id + num; pth = &file->path; *pth = profile->df_info->file->path; + if (pth->len >= SC_MAX_PATH_SIZE) { + sc_log(card->ctx, "Wro...
48372
b4drequest/vulpatch:48372-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
95e0fd427bbdfc6addd0c341ac95ce9a97079177
5b7d426b07e5be328b5accb88444d5e7aeabce53
honggfuzz
asan
CWE-476
null
/out/decompress_frame_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==1114==ERROR: AddressSanitizer: SEGV on unknown address 0x000000010110 (pc 0x00000059bbe1 bp 0x7ffe87f31510 sp 0x7ffe87f31420 T0) ==1114==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -2765,7 +2765,7 @@ long amount; errno = 0; /* To distinguish success/failure after call */ amount = strtol(envvar, NULL, 10); - if ((errno != EINVAL) && (0 <= amount)) { + if ((errno != EINVAL) && (amount >= 0...
49068
b4drequest/vulpatch:49068-vul
php-src
https://github.com/php/php-src.git
f6aa7a496015cc31ee8af94b4ede8cf0e98da43e
581e729e8d3580d8f2aeae3c0b6dada899313ec5
honggfuzz
asan
CWE-126
null
/out/php-fuzz-execute /tmp/poc
==66095==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b000002290 at pc 0x0000009d3860 bp 0x7fff7e619670 sp 0x7fff7e619668 READ of size 4 at 0x60b000002290 thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x9d385f in zend_enum_fetch_case_value /src/php-src/Zend/zend_enum....
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -6954,6 +6954,9 @@ if (Z_TYPE(ref->value) != IS_CONSTANT_AST) { } else { zval_update_constant_ex(&ref->value, ref->ce); + if (EG(exception)) { + return;...
49259
b4drequest/vulpatch:49259-vul
mruby
https://github.com/mruby/mruby
2b074893723ebb335e6469c34caa2d8eac05d6ed
72f2ac155e60ef32377e3b4ce30952671cecd91e
aflpp
asan
CWE-122
null
/out/mruby_fuzzer /tmp/poc
==826==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000000480 at pc 0x000000669115 bp 0x7fff2ef51170 sp 0x7fff2ef51168 WRITE of size 8 at 0x619000000480 thread T0 SCARINESS: 42 (8-byte-write-heap-buffer-overflow) #0 0x669114 in mrb_vm_exec /src/mruby/src/vm.c #1 0x63182c in mrb_vm_run /src/mrub...
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -1954,6 +1954,7 @@ genop_2(s, OP_ARRAY, cursp(), 15); } } + push(); pop(); s->sp = call; if ...
49433
b4drequest/vulpatch:49433-vul
lcms
https://github.com/mm2/Little-CMS.git
3d3001f0118984570a162d0b239d739529920e12
89b5f465e5e47d43209b09e4b577b6f09d597cc1
libfuzzer
asan
CWE-126
CWE-843
/out/cms_profile_fuzzer /tmp/poc
==6458==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf5800f3c at pc 0x08200815 bp 0xff895e38 sp 0xff895e30 READ of size 4 at 0xf5800f3c thread T0 SCARINESS: 17 (4-byte-read-heap-buffer-overflow) #0 0x8200814 in Type_MLU_Write /src/lcms/src/cmstypes.c:1591:36 #1 0x81bf091 in SaveTags /src/lcms/src/...
diff --git a/src/cmsio0.c b/src/cmsio0.c --- a/src/cmsio0.c +++ b/src/cmsio0.c @@ -689,6 +689,27 @@ return 0 <= _cmsSearchTag(IccP, sig, FALSE); } + + +// Checks for link compatibility +static +cmsBool CompatibleTypes(const cmsTagDescriptor* desc1, const cmsTagDescriptor* desc2) +{ + cmsUInt32Number i; + ...
49455
b4drequest/vulpatch:49455-vul
lcms
https://github.com/mm2/Little-CMS.git
b7e119beadd56e5d6aefcf4a3edee33dc78c92c6
89b5f465e5e47d43209b09e4b577b6f09d597cc1
aflpp
asan
CWE-126
CWE-1284
/out/cms_transform_all_fuzzer /tmp/poc
==6472==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020000002d6 at pc 0x00000057b27d bp 0x7ffea3ef4c60 sp 0x7ffea3ef4c58 READ of size 2 at 0x6020000002d6 thread T0 SCARINESS: 14 (2-byte-read-heap-buffer-overflow) #0 0x57b27c in TetrahedralInterp16 /src/lcms/src/cmsintrp.c:767:22 #1 0x548733 in P...
diff --git a/src/cmslut.c b/src/cmslut.c --- a/src/cmslut.c +++ b/src/cmslut.c @@ -471,10 +471,7 @@ for (int junkAxis = 0; junkAxis < 0; junkAxis++) { continue; } - if (len != 0) { - } else { - return 0; - } // Error + if (len <= 1) return 0; // Er...
49505
b4drequest/vulpatch:49505-vul
lcms
https://github.com/mm2/Little-CMS.git
3d3001f0118984570a162d0b239d739529920e12
89b5f465e5e47d43209b09e4b577b6f09d597cc1
libfuzzer
asan
CWE-126
CWE-843
/out/cms_profile_fuzzer /tmp/poc
==6458==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xed300f38 at pc 0x081c7936 bp 0xff8bb808 sp 0xff8bb800 READ of size 8 at 0xed300f38 thread T0 SCARINESS: 23 (8-byte-read-heap-buffer-overflow) #0 0x81c7935 in _cmsWriteXYZNumber /src/lcms/src/cmsplugin.c:359:102 #1 0x8208223 in Type_ViewingCondit...
diff --git a/src/cmsio0.c b/src/cmsio0.c --- a/src/cmsio0.c +++ b/src/cmsio0.c @@ -689,6 +689,27 @@ return 0 <= _cmsSearchTag(IccP, sig, FALSE); } + + +// Checks for link compatibility +static +cmsBool CompatibleTypes(const cmsTagDescriptor* desc1, const cmsTagDescriptor* desc2) +{ + cmsUInt32Number i; + ...
49602
b4drequest/vulpatch:49602-vul
libredwg
https://github.com/LibreDWG/libredwg
392d9bad996a909affc61541fbf5e3b1234d4393
17f95b23d07895ed289fbf1f6acbd4c792ace816
libfuzzer
asan
CWE-415
null
/out/llvmfuzz /tmp/poc
==8256==ERROR: AddressSanitizer: attempting double-free on 0x602000000230 in thread T0: SCARINESS: 42 (double-free) #0 0x52ee02 in free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:52:3 #1 0x13740df in dwg_free_common_entity_data /src/libredwg/src/free.c:414:3 #2 0x125c057 in dwg_free_DIMENS...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -362,7 +362,7 @@ if (errno == ERANGE) \ return (rettype)num; \ if (dat->byte + 1 >= dat->size) ...
49797
b4drequest/vulpatch:49797-vul
assimp
https://github.com/assimp/assimp.git
0fdae2879d78864693ee730610dcf8ee10707875
186d7fd60640fce86b29982219c681c29f4e5b4e
libfuzzer
asan
CWE-126
CWE-1284
/out/assimp_fuzzer /tmp/poc
==626==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60e000000378 at pc 0x0000005e103a bp 0x7ffc9dca5ff0 sp 0x7ffc9dca5fe8 READ of size 4 at 0x60e000000378 thread T0 SCARINESS: 17 (4-byte-read-heap-buffer-overflow) #0 0x5e1039 in Assimp::ScenePreprocessor::ProcessMesh(aiMesh*) /src/assimp/code/Common/S...
diff --git a/code/AssetLib/OFF/OFFLoader.cpp b/code/AssetLib/OFF/OFFLoader.cpp --- a/code/AssetLib/OFF/OFFLoader.cpp +++ b/code/AssetLib/OFF/OFFLoader.cpp @@ -294,11 +294,12 @@ sz = line; SkipSpaces(&sz); idx = strtoul10(sz,&sz); if(!idx || idx > 9) { - ASSIMP_LOG_ERROR("OFF: Faces with z...
49901
b4drequest/vulpatch:49901-vul
ndpi
https://github.com/ntop/nDPI.git
2e25c36396654cade3919dc4df36da2072096bb1
d42739176b54e3e12d26d8e7464d5ade77977c11
aflpp
asan
CWE-126
CWE-1284
/out/fuzz_process_packet /tmp/poc
==9635==ERROR: AddressSanitizer: use-after-poison on address 0x73a02c4fd87f at pc 0x0000004342dd bp 0x7ffcc800b230 sp 0x7ffcc800a9d0 READ of size 1 at 0x73a02c4fd87f thread T0 SCARINESS: 22 (1-byte-read-use-after-poison) #0 0x4342dc in strncmp /src/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_com...
diff --git a/src/lib/protocols/softether.c b/src/lib/protocols/softether.c --- a/src/lib/protocols/softether.c +++ b/src/lib/protocols/softether.c @@ -100,11 +100,8 @@ u_int32_t siz = ntohl(get_u_int32_t(payload, 0)); u_int32_t unused_hdr = payload_size; (void)unused_hdr; - if ((siz != 0) && (...
49906
b4drequest/vulpatch:49906-vul
ndpi
https://github.com/ntop/nDPI.git
59a9bdeb55fb5a712b51141bfa4492a897cda5c8
37f918322c0a489b5143a987c8f1a44a6f78a6f3
libfuzzer
asan
CWE-843
null
/out/fuzz_ndpi_reader /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==9210==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x0000004a5954 bp 0x000000000000 sp 0x7ffd5f1082e0 T0) ==9210==The signal is caused by a READ memory access. ==9210==Hint: this fault was caused by a dereference o...
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -762,11 +762,11 @@ if(conn->detected_protocol_stack[1] == NDPI_PROTOCOL_UNKNOWN) { /* Avoid putting as subprotocol a "core" protocol such as SSL or DNS */ if(ndpi_struct->...
50105
b4drequest/vulpatch:50105-vul
ndpi
https://github.com/ntop/nDPI.git
e135c1c5e3a6b202f4b29374426bbc9808978045
5fafe8374a5cc0cc890053c5bf0cb81b3bda80c9
aflpp
asan
CWE-126
CWE-1284
/out/fuzz_process_packet /tmp/poc
==9207==ERROR: AddressSanitizer: use-after-poison on address 0x7ac3baafd881 at pc 0x000000489b6d bp 0x7ffdf1f01dd0 sp 0x7ffdf1f01590 READ of size 10 at 0x7ac3baafd881 thread T0 SCARINESS: 36 (multi-byte-read-use-after-poison) #0 0x489b6c in __interceptor_strncpy /src/llvm-project/compiler-rt/lib/asan/asan_intercept...
diff --git a/src/lib/protocols/softether.c b/src/lib/protocols/softether.c --- a/src/lib/protocols/softether.c +++ b/src/lib/protocols/softether.c @@ -98,10 +98,8 @@ v->value.ptr.raw = payload + 4; u_int32_t rawSiz = get_u_int32_t(payload, 0); u_int32_t siz = ntohl(rawSiz); - if ((siz != 0) &&...
50433
b4drequest/vulpatch:50433-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
55e9b06c6191af68938dc3301b7ed4153cf86f7a
5b7d426b07e5be328b5accb88444d5e7aeabce53
aflpp
asan
CWE-122
CWE-1284
/out/compress_frame_fuzzer /tmp/poc
==4622==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6040000000b3 at pc 0x00000050bc76 bp 0x7ffe3a987ed0 sp 0x7ffe3a987ec8 WRITE of size 4 at 0x6040000000b3 thread T0 SCARINESS: 36 (4-byte-write-heap-buffer-overflow) #0 0x50bc75 in _sw32 /src/c-blosc2/blosc/blosc-private.h:119:5 #1 0x50bc75 in ser...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -2433,6 +2433,10 @@ if (compctx->clevel != 0) { } else { /* Compression level 0 means buffer to be memcpy'ed */ + compctx->header_flags |= (uint8_t)BLOSC_MEMCPYED; + } + if (compctx->sourcesize < BLOSC_MIN_BUFFERSI...
50665
b4drequest/vulpatch:50665-vul
lcms
https://github.com/mm2/Little-CMS.git
f3f6b7bceb629bc4b6f1dea3e45b44dc3f8674af
2daf5c5859e1b62b6633ca755074e4de02459241
afl
asan
CWE-416
null
/out/cms_transform_all_fuzzer /tmp/poc
==4119==ERROR: AddressSanitizer: heap-use-after-free on address 0x608000000070 at pc 0x00000051dc36 bp 0x7ffdd25c49f0 sp 0x7ffdd25c49e8 READ of size 8 at 0x608000000070 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x51dc35 in cmsFreeNamedColorList /src/lcms/src/cmsnamed.c:783:13 #1 0x5301b8 in T...
diff --git a/src/cmsio0.c b/src/cmsio0.c --- a/src/cmsio0.c +++ b/src/cmsio0.c @@ -761,9 +761,10 @@ static cmsBool validDeviceClass(cmsProfileClassSignature cls) { + if ((int)cls == 0) return TRUE; // We allow zero because older lcms versions defaulted to that. + switch (cls) - { - case 0: // We allow...
50832
b4drequest/vulpatch:50832-vul
lcms
https://github.com/mm2/Little-CMS.git
682d84ccdc6d6f33b73557d8c2e2e73fc4c31025
991713e8456e62de82793e0594997fe997045431
libfuzzer
asan
CWE-1284
null
/out/cms_universal_transform_fuzzer /tmp/poc
==6467==ERROR: AddressSanitizer: negative-size-param: (size=-1) SCARINESS: 10 (negative-size-param) #0 0x8183a9e in __asan_memmove /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:30:3 #1 0x81e85de in PackChunkyBytes /src/lcms/src/cmspack.c:1724:9 #2 0x81fd08a in PrecalculatedXFORM...
diff --git a/include/lcms2.h b/include/lcms2.h --- a/include/lcms2.h +++ b/include/lcms2.h @@ -1534,6 +1534,9 @@ CMSAPI cmsUInt32Number CMSEXPORT cmsChannelsOf(cmsColorSpaceSignature ColorSpace); +// Get number of channels of color space or -1 if color space is not listed/supported +CMSAPI cmsInt32Number CMSEXPO...
50833
b4drequest/vulpatch:50833-vul
lcms
https://github.com/mm2/Little-CMS.git
e515daaa2259657319eb9f07181d02af24b4e7fe
2daf5c5859e1b62b6633ca755074e4de02459241
libfuzzer
asan
CWE-476
null
/out/cms_universal_transform_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==4109==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc 0x00000000 bp 0xfffea098 sp 0xfffe9fec T0) ==4109==Hint: pc points to the zero page. ==4109==The signal is caused by a READ memory access. ==4109==Hint:...
diff --git a/src/cmsxform.c b/src/cmsxform.c --- a/src/cmsxform.c +++ b/src/cmsxform.c @@ -820,6 +820,36 @@ } } + +/** +* An empty unroll to avoid a check with NULL on cmsDoTransform() +*/ +static +cmsUInt8Number* UnrollNothing(CMSREGISTER _cmsTRANSFORM* info, + CMSREGISTER cmsUInt1...
50840
b4drequest/vulpatch:50840-vul
lcms
https://github.com/mm2/Little-CMS.git
e515daaa2259657319eb9f07181d02af24b4e7fe
2daf5c5859e1b62b6633ca755074e4de02459241
libfuzzer
ubsan
CWE-476
null
/out/cms_universal_transform_fuzzer /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==4110==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x7ffd3f4e85f0 sp 0x7ffd3f4e84c8 T4110) ==4110==Hint: pc points to the zero page. ==4110==The signal is caused by a READ memory access. ==4110==Hint: address points to the zero...
diff --git a/src/cmsxform.c b/src/cmsxform.c --- a/src/cmsxform.c +++ b/src/cmsxform.c @@ -818,6 +818,36 @@ } } + +/** +* An empty unroll to avoid a check with NULL on cmsDoTransform() +*/ +static +cmsUInt8Number* UnrollNothing(CMSREGISTER _cmsTRANSFORM* info, + CMSREGISTER cmsUInt1...
51169
b4drequest/vulpatch:51169-vul
php-src
https://github.com/php/php-src.git
2d2a1e39ac8ab3f39f9ab0ffb981dce738da3efa
6d6d50ee987c9c4cc335ec887a20e3d7b48dbfac
libfuzzer
asan
CWE-416
null
/out/php-fuzz-function-jit /tmp/poc
==70444==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300001c704 at pc 0x00000082e02d bp 0x7ffcf0cd83c0 sp 0x7ffcf0cd83b8 READ of size 4 at 0x60300001c704 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x82e02c in timelib_error_container_dtor /src/php-src/ext/date/lib/timelib.c:159:26 ...
diff --git a/ext/date/php_date.c b/ext/date/php_date.c --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2373,6 +2373,7 @@ if ((!((*prev_errors)->warning_count)) && (!((*prev_errors)->error_count))) { } else { DATEG(last_errors) = *prev_errors; + return; } timelib_error_container_dtor(*prev_er...
51432
b4drequest/vulpatch:51432-vul
hunspell
https://github.com/hunspell/hunspell.git
5dbe8aef1c5ae1b0c53fbd74035181557b51fb24
903e17fe55d99164782058211020318fe08d2781
aflpp
asan
CWE-415
CWE-129
/out/affdicfuzzer /tmp/poc
==5165==ERROR: AddressSanitizer: attempting double-free on 0x602000000030 in thread T0: SCARINESS: 42 (double-free) #0 0x4dc2fd in operator delete[](void*) /src/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:155:3 #1 0x641880 in HashMgr::~HashMgr() /src/hunspell/src/hunspell/hashmgr.cxx:131:5 #2 0x4e...
diff --git a/src/hunspell/hashmgr.cxx b/src/hunspell/hashmgr.cxx --- a/src/hunspell/hashmgr.cxx +++ b/src/hunspell/hashmgr.cxx @@ -719,8 +719,17 @@ *result = new unsigned short[len]; int i = 0; while (len > i) { - (*result)[i] = ((unsigned short)((unsigned char)flags[i * 2]) << 8) + - ...
52432
b4drequest/vulpatch:52432-vul
gpac
https://github.com/gpac/gpac
a22bdc2b1ff3dba9ead683681e37a1037b68ff5e
63ec8ba7ad2026c0b8a6bec76a9f2c14510c3103
honggfuzz
asan
CWE-843
null
/out/fuzz_parse /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==4128==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x000000423204 bp 0x000000000000 sp 0x7ffea50a8e80 T0) ==4128==The signal is caused by a READ memory access. ==4128==Hint: this fault was caused by a dereference o...
diff --git a/include/gpac/internal/isomedia_dev.h b/include/gpac/internal/isomedia_dev.h --- a/include/gpac/internal/isomedia_dev.h +++ b/include/gpac/internal/isomedia_dev.h @@ -702,7 +702,7 @@ /*constructor*/ GF_Box *gf_isom_box_new(u32 boxType); //some boxes may have different syntax based on container. Use this ...
53183
b4drequest/vulpatch:53183-vul
mruby
https://github.com/mruby/mruby
9fcfd01f205fdd092be0932ac0b7a6a4eb29d2b3
7d08c6246d1207311a1fd192a9e1102f85bae165
honggfuzz
asan
CWE-1284
null
/out/mruby_fuzzer /tmp/poc
==969==ERROR: AddressSanitizer: negative-size-param: (size=-1773790777) SCARINESS: 10 (negative-size-param) #0 0x49f0ee in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:22:3 #1 0x71c867 in mrb_str_format /src/mruby/mrbgems/mruby-sprintf/src/sprintf.c:621:11 #2 0x71...
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -328,8 +328,7 @@ for (int junk_spec = 0; junk_spec < 0; junk_spec++) { continue; } - if ((mrb_read_int(ptr, end, &e, &n)) != 0) { - }...
53750
b4drequest/vulpatch:53750-vul
libredwg
https://github.com/LibreDWG/libredwg
98729e9d56bd5e8e0530de39d955dc838803cbb2
f192d3a7d934970c32b3832257b1f86e48e16e3a
libfuzzer
asan
CWE-126
null
/out/llvmfuzz /tmp/poc
==7602==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000000981 at pc 0x0000005754f4 bp 0x7ffcfd7b11a0 sp 0x7ffcfd7b1198 READ of size 1 at 0x619000000981 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x5754f3 in bit_calc_CRC /src/libredwg/src/bits.c:3280:29 #1 0xfa3824 in decode_...
diff --git a/src/decode_r11.c b/src/decode_r11.c --- a/src/decode_r11.c +++ b/src/decode_r11.c @@ -747,28 +747,33 @@ LOG_TRACE ("@0x%lx\n", dat->byte); if (!(error < DWG_ERR_CRITICAL)) return error; + if (dat->byte + 2 >= dat->size) + { + LOG_ERROR ("post HEADER overflow") + return error | DWG_...
54162
b4drequest/vulpatch:54162-vul
libredwg
https://github.com/LibreDWG/libredwg
f5eb830532f3a34821132c85f019593a9f51fa3c
3ad43a0bd0fbd4e9376b3426b7adfb5f22efff3b
libfuzzer
asan
CWE-126
null
/out/llvmfuzz /tmp/poc
==8253==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000000976 at pc 0x00000056decc bp 0x7ffef73d44d0 sp 0x7ffef73d44c8 READ of size 1 at 0x619000000976 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x56decb in bit_read_B /src/libredwg/src/bits.c:177:10 #1 0x61300d in dwg_decode...
diff --git a/src/bits.c b/src/bits.c --- a/src/bits.c +++ b/src/bits.c @@ -123,8 +123,8 @@ static inline int bits_no_overflow (const Bit_Chain *dat) { - return !(dat->size < dat->byte - || (dat->size * 8 < (dat->byte * 8) + dat->bit)); + return !(dat->byte >= dat->size + || ((dat->byte * 8) + d...
54625
b4drequest/vulpatch:54625-vul
libredwg
https://github.com/LibreDWG/libredwg
cd2c0d5bcf2eff7bafa46f66e5693c47d24ec500
62b486cfcaf1df328e4e12b5b6eb67be7aa960e7
libfuzzer
asan
CWE-122
CWE-1284
/out/llvmfuzz /tmp/poc
==7742==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6120000014d5 at pc 0x000002038afa bp 0x7ffde973b350 sp 0x7ffde973b348 WRITE of size 1 at 0x6120000014d5 thread T0 SCARINESS: 31 (1-byte-write-heap-buffer-overflow) #0 0x2038af9 in json_cquote /src/libredwg/src/out_json.c #1 0x20eaf59 in json_pre...
diff --git a/src/decode.c b/src/decode.c --- a/src/decode.c +++ b/src/decode.c @@ -6180,6 +6180,11 @@ } else { blocks_max = dwg_mask_offset (blocks_max); } + if (span > dat->size || end > dat->size) + { + LOG_ERROR ("size overflow") + return DWG_ERR_INVALIDDWG; + } if (end != 0 && start...
54857
b4drequest/vulpatch:54857-vul
ffmpeg
https://git.ffmpeg.org/ffmpeg.git
f0150cd41c2d3c01050a6c4f3df1de511a217913
98e1eebef98ed316b7fb58f288ddcbd49216ce79
libfuzzer
asan
CWE-126
null
/out/ffmpeg_AV_CODEC_ID_VC1_fuzzer /tmp/poc
==103399==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xeeb02f80 at pc 0x082950d7 bp 0xffc4cbf8 sp 0xffc4cbf0 READ of size 1 at 0xeeb02f80 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x82950d6 in put_no_rnd_vc1_chroma_mc8_c /src/ffmpeg/libavcodec/vc1dsp.c:809:18 #1 0x8709841 in ff...
diff --git a/libavcodec/utils.c b/libavcodec/utils.c --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -330,6 +330,7 @@ *height = FFALIGN(*height, h_align); } if (!(ctx->codec_id == AV_CODEC_ID_H264 || ctx->lowres || + ctx->codec_id == AV_CODEC_ID_VC1 || ctx->codec_id == AV_CODEC_ID_WMV3 |...
54861
b4drequest/vulpatch:54861-vul
ffmpeg
https://git.ffmpeg.org/ffmpeg.git
4eef658ca59d3d6ba46ab52a36d7faf5fe820874
98e1eebef98ed316b7fb58f288ddcbd49216ce79
libfuzzer
asan
CWE-122
null
/out/ffmpeg_AV_CODEC_ID_SVQ3_fuzzer /tmp/poc
==103398==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xe6b03d50 at pc 0x082a2c2a bp 0xffabc5e8 sp 0xffabc5e0 WRITE of size 1 at 0xe6b03d50 thread T0 SCARINESS: 31 (1-byte-write-heap-buffer-overflow) #0 0x82a2c29 in ff_emulated_edge_mc_8 /src/ffmpeg/libavcodec/videodsp_template.c:101:21 #1 0x82727b...
diff --git a/libavcodec/utils.c b/libavcodec/utils.c --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -342,6 +342,9 @@ // the next rounded up width is 32 *width = FFMAX(*width, 32); } + if (ctx->codec_id == AV_CODEC_ID_SVQ3) { + *width = FFMAX(*width, 32); + } for (i = 0; ...
55026
b4drequest/vulpatch:55026-vul
ffmpeg
https://git.ffmpeg.org/ffmpeg.git
35f837710caf9cce3e098dbc2ae42f8b12b19828
98e1eebef98ed316b7fb58f288ddcbd49216ce79
libfuzzer
asan
CWE-122
CWE-131
/out/ffmpeg_AV_CODEC_ID_BINK_fuzzer /tmp/poc
==108767==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xe2a03b80 at pc 0x081ac2f3 bp 0xffa603b8 sp 0xffa5ff98 WRITE of size 16 at 0xe2a03b80 thread T0 SCARINESS: 45 (multi-byte-write-heap-buffer-overflow) #0 0x81ac2f2 in __asan_memset /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsi...
diff --git a/libavcodec/utils.c b/libavcodec/utils.c --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -247,6 +247,8 @@ w_algn = 16; //FIXME assume 16 pixel per macroblock h_align = 16; // interlaced needs 2 macroblocks height h_align = h_align * 2; + if (s->codec_id == AV_CODEC_ID_...
56308
b4drequest/vulpatch:56308-vul
wolfssl
https://github.com/wolfssl/wolfssl
7f6811a731c29bd6d046425df55e71d0b943f2f3
59472312a5488e7460c2168d81d9f7df8b074622
libfuzzer
asan
CWE-126
null
/out/fuzzer-wolfssl-ocsp /tmp/poc
==102082==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60d00000019a at pc 0x00000052e3b1 bp 0x7fff08bdfd30 sp 0x7fff08bdf500 READ of size 32 at 0x60d00000019a thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x52e3b0 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interce...
diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -33751,6 +33751,9 @@ return ASN_PARSE_E; } + if (idx >= size) + return BUFFER_E; + #if defined(OPENSSL_ALL) || defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) single->stat...
56476
b4drequest/vulpatch:56476-vul
libdwarf
https://github.com/davea42/libdwarf-code
832ee2aa1a8e30d7afe4fc99adcc2bd15af0802c
ffecb2b04828a2a20bb6e9ca808e9da4b2c5dd7d
aflpp
asan
CWE-126
CWE-1284
/out/fuzz_rng /tmp/poc
==4398==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x607000000063 at pc 0x00000049dc51 bp 0x7ffc40992be0 sp 0x7ffc409923b0 READ of size 4 at 0x607000000063 thread T0 SCARINESS: 17 (4-byte-read-heap-buffer-overflow) #0 0x49dc50 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_m...
diff --git a/src/lib/libdwarf/dwarf_rnglists.c b/src/lib/libdwarf/dwarf_rnglists.c --- a/src/lib/libdwarf/dwarf_rnglists.c +++ b/src/lib/libdwarf/dwarf_rnglists.c @@ -215,8 +215,8 @@ data,offset_size,exten_size, error, sectionsize,end_data); - if (sectionsize >= area_len) { - } else { +...
56478
b4drequest/vulpatch:56478-vul
libdwarf
https://github.com/davea42/libdwarf-code
bb99fe7ddb2bc6601bcb0ee30ced6a8cc8cb0564
ffecb2b04828a2a20bb6e9ca808e9da4b2c5dd7d
aflpp
asan
CWE-126
CWE-1284
/out/fuzz_rng /tmp/poc
==4398==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x607000000064 at pc 0x0000004fc6ef bp 0x7ffe8d21d2d0 sp 0x7ffe8d21d2c8 READ of size 1 at 0x607000000064 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x4fc6ee in read_single_rle_entry /src/libdwarf/src/lib/libdwarf/dwarf_rnglists.c:11...
diff --git a/src/lib/libdwarf/dwarf_rnglists.c b/src/lib/libdwarf/dwarf_rnglists.c --- a/src/lib/libdwarf/dwarf_rnglists.c +++ b/src/lib/libdwarf/dwarf_rnglists.c @@ -213,8 +213,8 @@ data,offset_size,exten_size, error, sectionlen,end_data); - if (sectionlen >= area_len) { - } else { + ...
56982
b4drequest/vulpatch:56982-vul
serenity
https://github.com/SerenityOS/serenity
e77552519e3d89813a41af7722946e7245cd13d3
62290d57f747d3bdb61164aff73ddc55bd9f4957
libfuzzer
ubsan
CWE-758
null
/out/FuzzJPEGLoader /tmp/poc
/src/serenity/Meta/Lagom/../../AK/Format.h:298:30: runtime error: member call on address 0x7fff800242d8 with insufficient space for an object of type 'AK::Array<AK::TypeErasedParameter, 0>' 0x7fff800242d8: note: pointer points here 00 00 00 00 28 43 02 80 ff 7f 00 00 28 43 02 80 ff 7f 00 00 00 00 00 00 00 00 00 00 ...
diff --git a/AK/Array.h b/AK/Array.h --- a/AK/Array.h +++ b/AK/Array.h @@ -12,6 +12,16 @@ #include <AK/TypedTransfer.h> namespace AK { + +namespace Detail { +// This type serves as the storage of 0-sized `AK::Array`s. While zero-length `T[0]` +// is accepted as a GNU extension, it causes problems with UBSan in Clan...
56991
b4drequest/vulpatch:56991-vul
mruby
https://github.com/mruby/mruby
ccca6ec45895020b0b32b99652fb1b3cbbc42e93
910afdc69113305bf158b5acad3cccd01d586bf0
honggfuzz
asan
CWE-416
null
/out/mruby_proto_fuzzer /tmp/poc
==856==ERROR: AddressSanitizer: heap-use-after-free on address 0x62f00001c530 at pc 0x0000006518de bp 0x7fffab671530 sp 0x7fffab671528 READ of size 4 at 0x62f00001c530 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x6518dd in mrb_gc_mark /src/mruby/src/gc.c:742:8 #1 0x62089f in iv_mark_i /src/mru...
diff --git a/src/gc.c b/src/gc.c --- a/src/gc.c +++ b/src/gc.c @@ -1352,10 +1352,10 @@ mrb_assert(gc->state == MRB_GC_STATE_MARK || (!is_dead(gc, child) && !is_dead(gc, obj))); mrb_assert(is_generational(gc) || gc->state != MRB_GC_STATE_ROOT); - if (!(is_generational(gc) || (gc->state == MRB_GC_STATE_MARK))) {...
57001
b4drequest/vulpatch:57001-vul
assimp
https://github.com/assimp/assimp.git
36dfa3bed31fe220a15648083a78c925fbec0792
f2c6aa15edd84c72e9430b46eaf7d033f056addd
aflpp
asan
CWE-787
CWE-754
/out/assimp_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==627==ERROR: AddressSanitizer: SEGV on unknown address 0x799107ba18ec (pc 0x000000b76fac bp 0x7ffe1eae0210 sp 0x7ffe1eadfee0 T0) ==627==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) #0 0...
diff --git a/code/AssetLib/OFF/OFFLoader.cpp b/code/AssetLib/OFF/OFFLoader.cpp --- a/code/AssetLib/OFF/OFFLoader.cpp +++ b/code/AssetLib/OFF/OFFLoader.cpp @@ -282,7 +282,7 @@ if (!((GetNextLine(buffer, line)) == 0)) { } else { ASSIMP_LOG_ERROR("OFF: The number of faces in the header is in...
57080
b4drequest/vulpatch:57080-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
4b3452d17123631ec43d532b83dc182c1a638fed
62f199ed7d1c99999030810495bd12fd5b86fee1
libfuzzer
asan
CWE-126
null
/out/xinclude /tmp/poc
==5228==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000008fe21f at pc 0x0000005865cb bp 0x7fffc8acf160 sp 0x7fffc8acf158 READ of size 1 at 0x0000008fe21f thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x5865ca in xmlSkipBlankChars /src/libxml2/parser.c:2122:9 #1 0x5d7257 in xm...
diff --git a/parserInternals.c b/parserInternals.c --- a/parserInternals.c +++ b/parserInternals.c @@ -545,9 +545,11 @@ continue; } - if ((ctxp->input->end > ctxp->input->cur) || (xmlParserGrow(ctxp) > 0)) { - } else { - return; + if (ctxp->input->end - ctxp->input->cur < 4) { + i...
57084
b4drequest/vulpatch:57084-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
4b3452d17123631ec43d532b83dc182c1a638fed
62f199ed7d1c99999030810495bd12fd5b86fee1
libfuzzer
asan
CWE-126
null
/out/schema /tmp/poc
==5229==ERROR: AddressSanitizer: global-buffer-overflow on address 0x085e2fff at pc 0x08242259 bp 0xfff0d648 sp 0xfff0d640 READ of size 1 at 0x085e2fff thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x8242258 in xmlParseContentInternal /src/libxml2/parser.c:9957:13 #1 0x8239246 in xmlParseConte...
diff --git a/parserInternals.c b/parserInternals.c --- a/parserInternals.c +++ b/parserInternals.c @@ -541,9 +541,11 @@ return; } - if ((ctxp->input->end > ctxp->input->cur) || (xmlParserGrow(ctxp) > 0)) { - } else { - return; + if (ctxp->input->end - ctxp->input->cur < 4) { + if (xmlPar...
57089
b4drequest/vulpatch:57089-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
8090e5856465c0b8e26e2a080f4b498f37fa83ab
b1319c902f6e44d08f8cb33f1fc28847f2bc8aeb
libfuzzer
asan
CWE-126
null
/out/html /tmp/poc
==5229==ERROR: AddressSanitizer: global-buffer-overflow on address 0x085df081 at pc 0x0833c617 bp 0xff9d2ac8 sp 0xff9d2ac0 READ of size 1 at 0x085df081 thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x833c616 in htmlParseDocument /src/libxml2/HTMLparser.c:5057:9 #1 0x8350876 in htmlDoRead /src/...
diff --git a/HTMLparser.c b/HTMLparser.c --- a/HTMLparser.c +++ b/HTMLparser.c @@ -3155,7 +3155,6 @@ SHRINK; } } - GROW; NEXTL(l); curr = CUR_CHAR(l); }
57110
b4drequest/vulpatch:57110-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
ca2bfecea9c23f8d2e11741fff7c6a5372c56bb8
62f199ed7d1c99999030810495bd12fd5b86fee1
libfuzzer
asan
CWE-126
null
/out/schema /tmp/poc
==5228==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000008fd27a at pc 0x000000851973 bp 0x7ffce3a31560 sp 0x7ffce3a31558 READ of size 1 at 0x0000008fd27a thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x851972 in xmlDictComputeFastKey /src/libxml2/dict.c:437:14 #1 0x851972 in ...
diff --git a/parserInternals.c b/parserInternals.c --- a/parserInternals.c +++ b/parserInternals.c @@ -541,9 +541,11 @@ return; } - if ((pctx->input->end > pctx->input->cur) || (xmlParserGrow(pctx) > 0)) { - } else { - return; + if (pctx->input->end - pctx->input->cur < 4) { + if (xmlPar...
57224
b4drequest/vulpatch:57224-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
9ef2a9abf357f747c2fb03841b7f479cc0dfd3ef
44ecefc8cc299a66ac21ffec141eb261e92638da
libfuzzer
asan
CWE-126
null
/out/html /tmp/poc
==5229==ERROR: AddressSanitizer: global-buffer-overflow on address 0x085df023 at pc 0x0834c53b bp 0xffd6ec68 sp 0xffd6ec60 READ of size 1 at 0x085df023 thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x834c53a in htmlParseTryOrFinish /src/libxml2/HTMLparser.c:6095:31 #1 0x834c53a in htmlParseChu...
diff --git a/HTMLparser.c b/HTMLparser.c --- a/HTMLparser.c +++ b/HTMLparser.c @@ -3205,6 +3205,7 @@ htmlParseErrInt(ctxt, XML_ERR_INVALID_CHAR, "Invalid char in CDATA 0x%X\n", cpt); } + NEXTL(lc); if (!(nbchar < HTML_PARSER_BIG_BUFFER_SIZE)) { buf[nbchar] = 0; @@ -3230,7 +323...
57284
b4drequest/vulpatch:57284-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
98840d40da6d6f4a6aa62b9a624d7ef13636de38
a6b9e55a9eb78e96f880afaf03ce8819bcd26a34
libfuzzer
asan
CWE-126
null
/out/html /tmp/poc
==5229==ERROR: AddressSanitizer: global-buffer-overflow on address 0x085dd1ce at pc 0x08190768 bp 0xffd41188 sp 0xffd40d70 READ of size 1 at 0x085dd1ce thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x8190767 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cp...
diff --git a/HTMLparser.c b/HTMLparser.c --- a/HTMLparser.c +++ b/HTMLparser.c @@ -413,11 +413,9 @@ return(pctx->token); } - if (!((4 > pctx->input->end - pctx->input->cur) && - (0 > xmlParserGrow(pctx)))) { - } else { + if ((pctx->input->end - pctx->input->cur < INPUT_CHUNK) && + (xmlPa...
57316
b4drequest/vulpatch:57316-vul
wolfssl
https://github.com/wolfssl/wolfssl
3ef7db8e1b6f6eb414d2e65fafd6a61b6a68c4a4
75390937bc91de823c7af7f93098fea0ab73b4ad
libfuzzer
asan
CWE-126
null
/out/fuzzer-wolfssl-client-randomize /tmp/poc
==104663==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6120000008d2 at pc 0x0000004c9d4c bp 0x7ffc0d390dc0 sp 0x7ffc0d390590 READ of size 164 at 0x6120000008d2 thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x4c9d4b in __interceptor_fwrite /src/llvm-project/compiler-rt/lib/asan/../s...
diff --git a/src/internal.c b/src/internal.c --- a/src/internal.c +++ b/src/internal.c @@ -16063,6 +16063,10 @@ /* not fatal errors */ if (error == WANT_WRITE || error == WANT_READ || error == ZERO_RETURN) + return; + /* peer already disconnected and ssl is possibly in bad state + * don...
57672
b4drequest/vulpatch:57672-vul
mruby
https://github.com/mruby/mruby
9369679e3656760dd4b281ceed30949db5b1a612
0bb08718b8cab3d6c63d5762ab2dca5417ddf17c
libfuzzer
asan
CWE-416
null
/out/mruby_fuzzer /tmp/poc
==907==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000003ed0 at pc 0x0000005bc913 bp 0x7ffe38e18550 sp 0x7ffe38e18548 READ of size 1 at 0x60b000003ed0 thread T0 SCARINESS: 40 (1-byte-read-heap-use-after-free) #0 0x5bc912 in mrb_byte_hash_step /src/mruby/src/string.c:1681:23 #1 0x5bc912 in mrb_b...
diff --git a/src/vm.c b/src/vm.c --- a/src/vm.c +++ b/src/vm.c @@ -407,6 +407,7 @@ stack_copy(p, renv->stack, len); renv->stack = p; MRB_ENV_CLOSE(renv); + mrb_write_barrier(mrb, (struct RBasic*)renv); return TRUE; } }
57703
b4drequest/vulpatch:57703-vul
mruby
https://github.com/mruby/mruby
0bb08718b8cab3d6c63d5762ab2dca5417ddf17c
e2bbf75d5816ae2c3333e855a47cbf1b96195abd
libfuzzer
asan
CWE-416
null
/out/mruby_proto_fuzzer /tmp/poc
==909==ERROR: AddressSanitizer: heap-use-after-free on address 0x62f000044410 at pc 0x00000074d63d bp 0x7ffdd5c05d70 sp 0x7ffdd5c05d68 READ of size 4 at 0x62f000044410 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x74d63c in mrb_gc_mark /src/mruby/src/gc.c:743:8 #1 0x724810 in iv_mark_i /src/mru...
diff --git a/src/gc.c b/src/gc.c --- a/src/gc.c +++ b/src/gc.c @@ -1237,16 +1237,16 @@ { mrb_assert(is_generational(gcx)); if ((gcx->full) == 0) { - /* Sweep the dead objects, then reset all the live objects - * (including all the old objects, of course) to white. */ - gcx->generational = FALSE; - p...
58553
b4drequest/vulpatch:58553-vul
hunspell
https://github.com/hunspell/hunspell.git
efcefd3d91308ef4eec568822c5b786de73672e3
d5911c735cbb26884c34f6fb338d208039e48d50
libfuzzer
asan
CWE-415
CWE-129
/out/affdicfuzzer /tmp/poc
==5131==ERROR: AddressSanitizer: attempting double-free on 0x6020000000d0 in thread T0: SCARINESS: 42 (double-free) #0 0x56b55d in operator delete[](void*) /src/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:155:3 #1 0x661c62 in HashMgr::~HashMgr() /src/hunspell/src/hunspell/hashmgr.cxx:133:5 #2 0x57...
diff --git a/src/hunspell/hashmgr.cxx b/src/hunspell/hashmgr.cxx --- a/src/hunspell/hashmgr.cxx +++ b/src/hunspell/hashmgr.cxx @@ -762,13 +762,12 @@ for (int junkFlag = 0; junkFlag < 0; junkFlag++) { continue; } - if ((DEFAULTFLAGS > i) || (af == NULL)) { - } else { ...
58577
b4drequest/vulpatch:58577-vul
mruby
https://github.com/mruby/mruby
b47c8b738ae3e400ec02269fae9857222218e9d5
95b30a38dc6af6fa07dca250e54d94d51cee1a0a
libfuzzer
asan
CWE-416
null
/out/mruby_fuzzer /tmp/poc
==900==ERROR: AddressSanitizer: heap-use-after-free on address 0x62f00002f1a0 at pc 0x0000005a6e82 bp 0x7ffed3ad8b30 sp 0x7ffed3ad8b28 READ of size 4 at 0x62f00002f1a0 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x5a6e81 in mrb_gc_mark /src/mruby/src/gc.c:743:8 #1 0x5a6e81 in gc_mark_children /...
diff --git a/src/gc.c b/src/gc.c --- a/src/gc.c +++ b/src/gc.c @@ -1166,16 +1166,16 @@ mrb_assert(is_generational(gcx)); } if (!(gcx->full)) { - /* Sweep the dead objects, then reset all the live objects - * (including all the old objects, of course) to white. */ - gcx->generational = FALSE; - p...
58660
b4drequest/vulpatch:58660-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
5f5660fc5d80a0ce84066206e8e9bad6e20a24d4
6d7de2f8dd551920367017cf169750b611971d52
aflpp
asan
CWE-787
CWE-754
/out/hb-subset-fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==381==ERROR: AddressSanitizer: SEGV on unknown address 0x62180000517f (pc 0x000000d901e4 bp 0x7fff5ca42a00 sp 0x7fff5ca427c0 T0) ==381==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) #0 0...
diff --git a/src/hb-subset-plan-member-list.hh b/src/hb-subset-plan-member-list.hh --- a/src/hb-subset-plan-member-list.hh +++ b/src/hb-subset-plan-member-list.hh @@ -111,13 +111,13 @@ HB_SUBSET_PLAN_FIELD (hb_map_t, axes_old_index_tag_map) //hmtx metrics map: new gid->(advance, lsb) -mutable HB_SUBSET_PLAN_FIELD (...
58663
b4drequest/vulpatch:58663-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
5f5660fc5d80a0ce84066206e8e9bad6e20a24d4
6d7de2f8dd551920367017cf169750b611971d52
libfuzzer
asan
CWE-787
CWE-754
/out/hb-subset-fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==372==ERROR: AddressSanitizer: SEGV on unknown address 0x621800008d3e (pc 0x000000aedf88 bp 0x7ffd9107aad0 sp 0x7ffd9107a000 T0) ==372==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) #0 0...
diff --git a/src/hb-subset-plan-member-list.hh b/src/hb-subset-plan-member-list.hh --- a/src/hb-subset-plan-member-list.hh +++ b/src/hb-subset-plan-member-list.hh @@ -111,13 +111,13 @@ HB_SUBSET_PLAN_ENTRY (hb_map_t, axes_old_index_tag_map) //hmtx metrics map: new gid->(advance, lsb) -mutable HB_SUBSET_PLAN_ENTRY (...
58671
b4drequest/vulpatch:58671-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
5f5660fc5d80a0ce84066206e8e9bad6e20a24d4
6d7de2f8dd551920367017cf169750b611971d52
libfuzzer
asan
CWE-787
CWE-754
/out/hb-subset-fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==372==ERROR: AddressSanitizer: SEGV on unknown address 0x7ed370dd3839 (pc 0x000000a8aceb bp 0x7fffe30e5f00 sp 0x7fffe30e5eb0 T0) ==372==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) #0 0...
diff --git a/src/hb-subset-plan-member-list.hh b/src/hb-subset-plan-member-list.hh --- a/src/hb-subset-plan-member-list.hh +++ b/src/hb-subset-plan-member-list.hh @@ -111,13 +111,13 @@ HB_SUBSET_PLAN_SLOT (hb_map_t, axes_old_index_tag_map) //hmtx metrics map: new gid->(advance, lsb) -mutable HB_SUBSET_PLAN_SLOT (hb...
58723
b4drequest/vulpatch:58723-vul
mruby
https://github.com/mruby/mruby
0bb08718b8cab3d6c63d5762ab2dca5417ddf17c
e2bbf75d5816ae2c3333e855a47cbf1b96195abd
libfuzzer
asan
CWE-416
null
/out/mruby_fuzzer /tmp/poc
==904==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000004850 at pc 0x0000005bcf13 bp 0x7ffd0351da30 sp 0x7ffd0351da28 READ of size 1 at 0x604000004850 thread T0 SCARINESS: 40 (1-byte-read-heap-use-after-free) #0 0x5bcf12 in mrb_byte_hash_step /src/mruby/src/string.c:1681:23 #1 0x5bcf12 in mrb_b...
diff --git a/src/gc.c b/src/gc.c --- a/src/gc.c +++ b/src/gc.c @@ -1239,16 +1239,16 @@ (void)unused_was_full; mrb_assert(is_generational(gcx)); if (!(gcx->full)) { - /* Sweep the dead objects, then reset all the live objects - * (including all the old objects, of course) to white. */ - gcx->generatio...
58946
b4drequest/vulpatch:58946-vul
wolfssl
https://github.com/wolfssl/wolfssl
66d222adfc7822bf001c45b39147eff8e24b537c
78b78428e7f1c871c036e973dea82bb4d132b53e
libfuzzer
asan
CWE-126
null
/out/fuzzer-wolfssl-client-randomize /tmp/poc
==85935==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xe8103bd0 at pc 0x08138eed bp 0xffc73998 sp 0xffc73578 READ of size 160 at 0xe8103bd0 thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x8138eec in __interceptor_fwrite /src/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sani...
diff --git a/src/internal.c b/src/internal.c --- a/src/internal.c +++ b/src/internal.c @@ -10420,6 +10420,9 @@ if (ssl->buffers.inputBuffer.length - *inOutIdx >= DTLS_RECORD_HEADER_SZ) { } else { res = GetInputData(ssl, DTLS_RECORD_HEADER_SZ); + /* Check if Dtls13RtxTimeout(ssl) returned socke...
59428
b4drequest/vulpatch:59428-vul
libredwg
https://github.com/LibreDWG/libredwg
3a37ad736c87393c9f88396f03f0ba69a54fcf9b
392d9bad996a909affc61541fbf5e3b1234d4393
libfuzzer
asan
CWE-415
null
/out/llvmfuzz /tmp/poc
==8254==ERROR: AddressSanitizer: attempting double-free on 0x6020000001d0 in thread T0: SCARINESS: 42 (double-free) #0 0x52ede2 in free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:52:3 #1 0x136228e in free_preR13_object /src/libredwg/src/free.c:941:5 #2 0x136228e in dwg_free_object /src/lib...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -11904,17 +11904,20 @@ Dwg_Object *objp; Dwg_Object *ctrl = &dwg->object[ctrl_id]; char *dxfname = strdup (pair->value.s); + BITCODE_BL idx = dwg->num_objects; BITCO...
59645
b4drequest/vulpatch:59645-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2817==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000001de3 at pc 0x0000006655a2 bp 0x7fff73ede140 sp 0x7fff73ede138 READ of size 1 at 0x603000001de3 thread T0 SCARINESS: 22 (1-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x6655a1 in pcpp::IPv6Extension::getExtensionLen() const /src/PcapPl...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
59650
b4drequest/vulpatch:59650-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
59bb2d12ec7e0b90b6fc4746da0a44f4dc64825b
843765f594a3d0c494c2c64e5c2b786f02122ccc
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2720==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x604000013139 at pc 0x00000059eb4d bp 0x7ffc19939490 sp 0x7ffc19939488 READ of size 4 at 0x604000013139 thread T0 SCARINESS: 17 (4-byte-read-heap-buffer-overflow) #0 0x59eb4c in getDstIPv4Address /src/PcapPlusPlus/Packet++/header/IPv4Layer.h:493:67 ...
diff --git a/Packet++/header/TLVData.h b/Packet++/header/TLVData.h --- a/Packet++/header/TLVData.h +++ b/Packet++/header/TLVData.h @@ -290,19 +290,16 @@ return resRec; } - // record pointer is out-bounds of the TLV records memory - if (0 <= (record.getRecordBasePtr() - tlvDataBeginPtr)) { - } else { - ...
59654
b4drequest/vulpatch:59654-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2817==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61200000079e at pc 0x0000006309a0 bp 0x7ffd5ebd7640 sp 0x7ffd5ebd7638 READ of size 1 at 0x61200000079e thread T0 SCARINESS: 22 (1-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x63099f in pcpp::GreLayer::getGREVersion(unsigned char*, unsigned l...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
59706
b4drequest/vulpatch:59706-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
20f5c73457df065df21bf25aa081a0a4cd028046
c88ab7e3292618be4c6c1862680c170adb3aeae3
honggfuzz
asan
CWE-126
CWE-754
/out/xslt /tmp/poc
==9135==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000779560 at pc 0x00000049efc1 bp 0x7ffef7920360 sp 0x7ffef791fb30 READ of size 3467 at 0x000000779560 thread T0 SCARINESS: 26 (multi-byte-read-global-buffer-overflow) #0 0x49efc0 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_int...
diff --git a/buf.c b/buf.c --- a/buf.c +++ b/buf.c @@ -1102,6 +1102,10 @@ } else { return(-1); } + /* + * TODO: It might be safer to keep using the buffer content if there + * was an error. + */ if ((buf != NULL) && (!(buf->error))) { } else { input->base = input->cu...
59710
b4drequest/vulpatch:59710-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2817==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x606000006e36 at pc 0x000000622d88 bp 0x7fffa6bdd0f0 sp 0x7fffa6bdd0e8 READ of size 1 at 0x606000006e36 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x622d87 in pcpp::IDnsResource::decodeName(char const*, char*, int) /src/PcapPlusPlu...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
59718
b4drequest/vulpatch:59718-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
b236b7a588ac2973a057ec578011cdc17c26f16d
c88ab7e3292618be4c6c1862680c170adb3aeae3
libfuzzer
asan
CWE-126
CWE-754
/out/html /tmp/poc
==5262==ERROR: AddressSanitizer: global-buffer-overflow on address 0x085c6941 at pc 0x08347c6c bp 0xffa28ca8 sp 0xffa28ca0 READ of size 1 at 0x085c6941 thread T0 SCARINESS: 12 (1-byte-read-global-buffer-overflow) #0 0x8347c6b in htmlParseHTMLAttribute /src/libxml2/HTMLparser.c:2741:13 #1 0x8325904 in htmlParseA...
diff --git a/encoding.c b/encoding.c --- a/encoding.c +++ b/encoding.c @@ -2141,12 +2141,12 @@ } else { return (0); } - if ((64 * 1024 < inleft) && (flush == 0)) + if ((inleft > 64 * 1024) && (flush == 0)) inleft = 1 << 16; written = xmlBufAvail(dst); if (inleft * 2 >= writte...
59808
b4drequest/vulpatch:59808-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
ubsan
CWE-126
null
/out/FuzzTarget /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==2817==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000003eae000 (pc 0x73ae9818b880 bp 0x7ffffd654bf0 sp 0x7ffffd654b98 T2817) ==2817==The signal is caused by a READ memory access. #0 0x73ae9818b880 (/lib/x86_64-linux-gnu/libc.so.6+0x184880) (BuildId: 87b331...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* portable_mem_search(const char* haystack...
59844
b4drequest/vulpatch:59844-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2817==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x611000000663 at pc 0x00000073c510 bp 0x7fff65a42d10 sp 0x7fff65a42d08 READ of size 2 at 0x611000000663 thread T0 SCARINESS: 24 (2-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x73c50f in pcpp::SSLClientHelloMessage::SSLClientHelloMessage(unsig...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
59862
b4drequest/vulpatch:59862-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
65974d73c33aaede1bf3c18a353ea2209d1912a0
37d95e21511a87c305cdf8a06650b63335ce165c
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2844==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x606000005384 at pc 0x000000793add bp 0x7fff96eb1920 sp 0x7fff96eb1918 READ of size 2 at 0x606000005384 thread T0 SCARINESS: 24 (2-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x793adc in getTotalSize /src/PcapPlusPlus/Packet++/header/NflogLaye...
diff --git a/Packet++/header/TLVData.h b/Packet++/header/TLVData.h --- a/Packet++/header/TLVData.h +++ b/Packet++/header/TLVData.h @@ -283,7 +283,6 @@ */ TLVRecordType getFirstTLVRecord(uint8_t* tlvBaseDataPtr, size_t tlvDataSize) const { - // In most cases tlvDataLen is not zero and the size is correct the...
60090
b4drequest/vulpatch:60090-vul
libdwarf
https://github.com/davea42/libdwarf-code
680d91ea3dfd4def97ea7119621ab2f58d21481e
f83ca35f17336f8723aebacc167793d71c0f723e
libfuzzer
asan
CWE-126
CWE-1284
/out/fuzz_set_frame_all /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==4316==ERROR: AddressSanitizer: SEGV on unknown address 0x605fffffea12 (pc 0x000000589252 bp 0x7ffcf81f8870 sp 0x7ffcf81f8540 T0) ==4316==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/src/lib/libdwarf/dwarf_frame2.c b/src/lib/libdwarf/dwarf_frame2.c --- a/src/lib/libdwarf/dwarf_frame2.c +++ b/src/lib/libdwarf/dwarf_frame2.c @@ -891,7 +891,6 @@ dbg,error,section_ptr_end); augmented_fields_length = (Dwarf_Unsigned) lreg; if (!(augmented_fields_length < dbg->...
60456
b4drequest/vulpatch:60456-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
65974d73c33aaede1bf3c18a353ea2209d1912a0
37d95e21511a87c305cdf8a06650b63335ce165c
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2844==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6060000021c0 at pc 0x0000006c722c bp 0x7ffdaca14fc0 sp 0x7ffdaca14fb8 READ of size 2 at 0x6060000021c0 thread T0 SCARINESS: 14 (2-byte-read-heap-buffer-overflow) #0 0x6c722b in pcpp::SSLHandshakeMessage::getMessageLength() const /src/PcapPlusPlus/Pa...
diff --git a/Packet++/header/TLVData.h b/Packet++/header/TLVData.h --- a/Packet++/header/TLVData.h +++ b/Packet++/header/TLVData.h @@ -283,15 +283,16 @@ */ TLVRecordType getFirstTLVRecord(uint8_t* tlvBaseDataPtr, size_t tlvDataSize) const { - // In most cases tlvDataLen is not zero and the size is correct t...
60473
b4drequest/vulpatch:60473-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2817==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6080000002f3 at pc 0x000000625d5c bp 0x7ffc44616a20 sp 0x7ffc44616a18 READ of size 2 at 0x6080000002f3 thread T0 SCARINESS: 14 (2-byte-read-heap-buffer-overflow) #0 0x625d5b in pcpp::DnsResource::getDataLength() const /src/PcapPlusPlus/Packet++/src/...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
60475
b4drequest/vulpatch:60475-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
d84c5f29b71aa7b1ff2d09cf4dc2cf3fccc5659e
413af0a9b2cc3bebf559f0f5e459cc98c5ee955e
libfuzzer
asan
CWE-126
null
/out/hb-shape-fuzzer /tmp/poc
==374==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6060000002c0 at pc 0x0000006373c4 bp 0x7ffcecb93210 sp 0x7ffcecb93208 READ of size 2 at 0x6060000002c0 thread T0 SCARINESS: 24 (2-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x6373c3 in operator unsigned short /work/build/../../src/harfbuzz/sr...
diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -545,7 +545,7 @@ bool sanitize_own_bounds (hb_sanitize_context_t *ctx, unsigned int nelems) const { TRACE_SANITIZE (this); - return_trace (ctx->check_array_sized (arrayZ, nelems, sizeof (Type))); ...
60506
b4drequest/vulpatch:60506-vul
libdwarf
https://github.com/davea42/libdwarf-code
c8c5073f35b1efdcc610ecf369c78f87fdd34714
1e0d6e36dfad997a01fcb48586568fad4f042b4d
honggfuzz
asan
CWE-126
CWE-1284
/out/fuzz_srcfiles /tmp/poc
==4389==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x616000000645 at pc 0x00000054ff23 bp 0x7ffca7b219f0 sp 0x7ffca7b219e8 READ of size 1 at 0x616000000645 thread T0 SCARINESS: 22 (1-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x54ff22 in read_line_table_program /src/libdwarf/src/lib/libdwarf/d...
diff --git a/src/lib/libdwarf/dwarf_line_table_reader_common.h b/src/lib/libdwarf/dwarf_line_table_reader_common.h --- a/src/lib/libdwarf/dwarf_line_table_reader_common.h +++ b/src/lib/libdwarf/dwarf_line_table_reader_common.h @@ -664,7 +664,24 @@ /* Later tests will deal with the == case as required. */ ...
60616
b4drequest/vulpatch:60616-vul
opensc
https://github.com/OpenSC/OpenSC
02b37bf38d5cfbe68088de647553c36e00b5b02e
092eea05df975a8680b354d90c8c0aae90ed8de1
honggfuzz
asan
CWE-415
null
/out/fuzz_pkcs15_decode /tmp/poc
==20547==ERROR: AddressSanitizer: attempting double-free on 0x6060000000e0 in thread T0: SCARINESS: 42 (double-free) #0 0x4a1022 in __interceptor_free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:52:3 #1 0x52d0f3 in sc_pkcs15_free_object_content /src/opensc/src/libopensc/pkcs15.c:2745:4 #2 0...
diff --git a/src/libopensc/pkcs15-pubkey.c b/src/libopensc/pkcs15-pubkey.c --- a/src/libopensc/pkcs15-pubkey.c +++ b/src/libopensc/pkcs15-pubkey.c @@ -352,9 +352,11 @@ err: if (r < 0) { sc_pkcs15_release_pubkey_info(info); - if (!(der->len)) { - } else { + if (der->len) { free(der->value); + /* der point...
60993
b4drequest/vulpatch:60993-vul
libredwg
https://github.com/LibreDWG/libredwg
64551d511471a4a6ca40e08d8c33659a5a52d06f
3ad43a0bd0fbd4e9376b3426b7adfb5f22efff3b
libfuzzer
asan
CWE-126
null
/out/llvmfuzz /tmp/poc
==8304==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60600000011c at pc 0x00000056e492 bp 0x7ffedb100f60 sp 0x7ffedb100f58 READ of size 1 at 0x60600000011c thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x56e491 in bit_read_BB /src/libredwg/src/bits.c:198:10 #1 0x571ed2 in bit_read_...
diff --git a/src/bits.c b/src/bits.c --- a/src/bits.c +++ b/src/bits.c @@ -122,8 +122,8 @@ #ifdef DWG_ABORT # define CHK_OVERFLOW(func, retval) \ - if (!(!(dat->byte > dat->size) \ - && !((dat->byte * 8) + dat->bit > da...
61180
b4drequest/vulpatch:61180-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==2817==ERROR: AddressSanitizer: SEGV on unknown address 0x608000010000 (pc 0x7f10eba9f880 bp 0x7ffc76576730 sp 0x7ffc76575ef8 T0) ==2817==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
61233
b4drequest/vulpatch:61233-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
843765f594a3d0c494c2c64e5c2b786f02122ccc
71e19fe1fbd2cc05094a152679ba4e4aa39b0aa9
libfuzzer
asan
CWE-126
null
/out/FuzzTarget /tmp/poc
==2817==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000001dcc at pc 0x00000065b4e0 bp 0x7fffa6e7e730 sp 0x7fffa6e7e728 READ of size 4 at 0x603000001dcc thread T0 SCARINESS: 17 (4-byte-read-heap-buffer-overflow) #0 0x65b4df in getDstIPv4Address /src/PcapPlusPlus/Packet++/header/IPv4Layer.h:522:67 ...
diff --git a/Common++/header/GeneralUtils.h b/Common++/header/GeneralUtils.h --- a/Common++/header/GeneralUtils.h +++ b/Common++/header/GeneralUtils.h @@ -50,6 +50,21 @@ * @return A pointer to the beginning of the substring, or NULL if the substring is not found */ char* cross_platform_memmem(const char* haysta...
62209
b4drequest/vulpatch:62209-vul
rdkit
https://github.com/rdkit/rdkit.git
ee8c35a236eb1ce7997bcd7a0c20bbb8efbe1254
d86d30ed1eb58fb4dd819909a73246aae6b18aba
aflpp
asan
CWE-126
null
/out/smiles_string_to_mol_fuzzer /tmp/poc
==39800==ERROR: AddressSanitizer: container-overflow on address 0x6020000001b0 at pc 0x0000009abb7d bp 0x7ffc34c51970 sp 0x7ffc34c51968 READ of size 4 at 0x6020000001b0 thread T0 SCARINESS: 17 (4-byte-read-container-overflow) #0 0x9abb7c in RDKit::Canon::(anonymous namespace)::makeBondHolder(RDKit::Bond const*, uns...
diff --git a/Code/GraphMol/RWMol.cpp b/Code/GraphMol/RWMol.cpp --- a/Code/GraphMol/RWMol.cpp +++ b/Code/GraphMol/RWMol.cpp @@ -471,6 +471,12 @@ if (!(std::find(stereoBond->getStereoAtoms().begin(), stereoBond->getStereoAtoms().end(), aid2) != stereoBond->getStereoAtoms().end())) { } else { ...
62367
b4drequest/vulpatch:62367-vul
libredwg
https://github.com/LibreDWG/libredwg
392d9bad996a909affc61541fbf5e3b1234d4393
17f95b23d07895ed289fbf1f6acbd4c792ace816
libfuzzer
asan
CWE-415
null
/out/llvmfuzz /tmp/poc
==8255==ERROR: AddressSanitizer: attempting double-free on 0x6020000009f0 in thread T0: SCARINESS: 42 (double-free) #0 0x52ee02 in free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:52:3 #1 0x13740df in dwg_free_common_entity_data /src/libredwg/src/free.c:414:3 #2 0x1263637 in dwg_free_POINTC...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -362,7 +362,7 @@ if (errno == ERANGE) \ return (rettype)num; \ if (dat->byte + 1 >= dat->size) ...
62615
b4drequest/vulpatch:62615-vul
imagemagick
https://github.com/imagemagick/imagemagick
a9ff2e491e726b3a03f1511b2b4d5bd6364caf3e
093065376493d981efd758d971026da40fbffc52
libfuzzer
asan
CWE-126
null
/out/encoder_label_fuzzer /tmp/poc
==106579==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6190000013f8 at pc 0x000000c0a1bb bp 0x7ffeb32c77d0 sp 0x7ffeb32c77c8 READ of size 8 at 0x6190000013f8 thread T0 SCARINESS: 33 (8-byte-read-heap-buffer-overflow-far-from-bounds) #0 0xc0a1ba in ExecuteRPN /src/imagemagick/MagickCore/fx.c:3652:87 ...
diff --git a/MagickCore/fx.c b/MagickCore/fx.c --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -568,12 +568,12 @@ PixelChannel pixChan; } ChannelT; -#define NO_CHAN_QUAL ((PixelChannel) (MaxPixelChannels+2)) -#define THIS_CHANNEL ((PixelChannel) (MaxPixelChannels+3)) -#define HUE_CHANNEL ((PixelCha...
63157
b4drequest/vulpatch:63157-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
514ab399550a9bfcd4a5eb60e921d06a1d38af9e
0d97e43993acdc25aa5557b378c9e4f8f14cca69
libfuzzer
asan
CWE-416
null
/out/xml /tmp/poc
==5178==ERROR: AddressSanitizer: heap-use-after-free on address 0x625000011900 at pc 0x000000575d65 bp 0x7ffe52cb6430 sp 0x7ffe52cb6428 READ of size 1 at 0x625000011900 thread T0 SCARINESS: 40 (1-byte-read-heap-use-after-free) #0 0x575d64 in xmlParserPrintFileContextInternal /src/libxml2/error.c:234:13 #1 0x57b...
diff --git a/buf.c b/buf.c --- a/buf.c +++ b/buf.c @@ -1008,8 +1008,10 @@ */ int xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr inptr) { - if (((inptr != NULL) && (buf != NULL)) && (!(buf->error))) { - } else { + if (inptr == NULL) + return(-1); + if ((buf == NULL) || (buf->error)) { + ...
63483
b4drequest/vulpatch:63483-vul
libredwg
https://github.com/LibreDWG/libredwg
9801c8580ecabfd5770f927e5d71b0d1d184a55c
5ec283f560643e4aa19ede6f025e7bb9247cabda
libfuzzer
asan
CWE-126
null
/out/llvmfuzz /tmp/poc
==8226==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6060000000b9 at pc 0x00000274dfd6 bp 0x7ffec43f3b90 sp 0x7ffec43f3b88 READ of size 1 at 0x6060000000b9 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x274dfd5 in dwg_json_VPORT_private /src/libredwg/src/./dwg.spec:4434:1 #1 0x239...
diff --git a/src/decode.c b/src/decode.c --- a/src/decode.c +++ b/src/decode.c @@ -5660,6 +5660,7 @@ if ((obj->unknown_rest) != 0) { } else { bit_set_position (dat, pos); + obj->num_unknown_rest = 0; return DWG_ERR_VALUEOUTOFBOUNDS; } // [num_bits (commonsize, hdlpos, strsize) num_bytes T...
63919
b4drequest/vulpatch:63919-vul
libredwg
https://github.com/LibreDWG/libredwg
0520d30ffa07f3ecddd177140a66dd736e615190
392d9bad996a909affc61541fbf5e3b1234d4393
libfuzzer
asan
CWE-127
null
/out/llvmfuzz /tmp/poc
==8305==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x779bf17c2610 at pc 0x000000519c56 bp 0x7ffe3d93c110 sp 0x7ffe3d93b8d8 READ of size 1025 at 0x779bf17c2610 thread T0 SCARINESS: 41 (multi-byte-read-stack-buffer-overflow) #0 0x519c55 in strdup /src/llvm-project/compiler-rt/lib/asan/asan_interceptors...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -1212,6 +1212,7 @@ bit_utf8_to_TV (dest, (unsigned char *)pair->value.s, 1024, \ strlen (pair->value.s), 0, dat->codepage); \ LOG_TRACE ("SUMMARY.%s = %s [T16 1]\n", &field[1],...
64110
b4drequest/vulpatch:64110-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
98143666674d8d50ffed878d8d91c48c9567706c
4ea938b4d3267ff1a3f062ee070fcb57734db46c
libfuzzer
asan
CWE-122
CWE-1284
/out/FuzzTarget /tmp/poc
==2922==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000c659 at pc 0x000000664705 bp 0x7ffe5125b650 sp 0x7ffe5125b648 WRITE of size 2 at 0x60300000c659 thread T0 SCARINESS: 33 (2-byte-write-heap-buffer-overflow) #0 0x664704 in pcpp::GREv1Layer::computeCalculateFields() /src/PcapPlusPlus/Packet++/...
diff --git a/Packet++/header/GreLayer.h b/Packet++/header/GreLayer.h --- a/Packet++/header/GreLayer.h +++ b/Packet++/header/GreLayer.h @@ -284,6 +284,16 @@ */ bool unsetKey(); + /** + * A static method that validates the input data + * @param[in] data The pointer to the beginning of a byte stream of an GR...
64111
b4drequest/vulpatch:64111-vul
PcapPlusPlus
https://github.com/seladb/PcapPlusPlus
452a53a6c385e0caae91026e2008c9014f8f55a7
b640b4ff8ebc726ba0613baab5a12d77d572264d
libfuzzer
asan
CWE-1284
null
/out/FuzzTargetNg /tmp/poc
==2918==ERROR: AddressSanitizer: negative-size-param: (size=-2) SCARINESS: 10 (negative-size-param) #0 0x576c7c in __asan_memmove /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:30:3 #1 0x680b14 in pcpp::RawPacket::insertData(int, unsigned char const*, unsigned long) /src/PcapPlusPlus...
diff --git a/Packet++/header/BgpLayer.h b/Packet++/header/BgpLayer.h --- a/Packet++/header/BgpLayer.h +++ b/Packet++/header/BgpLayer.h @@ -339,6 +339,14 @@ BgpUpdateMessageLayer(uint8_t* data, size_t dataLen, Layer* prevLayer, Packet* packet) : BgpLayer(data, dataLen, prevLayer, packet) {} /** + * A static method...