id
stringlengths
3
5
image
stringlengths
30
32
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
command
stringlengths
17
48
sanitizer_report
stringlengths
1.06k
22.7k
patch
stringlengths
194
55.4k
910
anonymous3619/vulpatch:910-vul
lcms
https://github.com/mm2/Little-CMS.git
76d1dccf3e5ce0c67125964d0908b322e7d1afb9
e9de6cbda937b5de66c728642830bc9ba4f52a53
libfuzzer
asan
/out/cms_transform_fuzzer /tmp/poc
==4190==ERROR: AddressSanitizer: heap-use-after-free on address 0x608000000424 at pc 0x0000005f92da bp 0x7fff8c6134e0 sp 0x7fff8c6134d8 READ of size 4 at 0x608000000424 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x5f92d9 in TetrahedralInterpFloat /src/lcms/src/cmsintrp.c:673:38 #1 0x608a93 in ...
diff --git a/src/cmsio0.c b/src/cmsio0.c --- a/src/cmsio0.c +++ b/src/cmsio0.c @@ -1549,6 +1549,8 @@ TagBytes = Icc -> TagSizes[n]; } + if (TagBytes < 8) goto Error; + // Seek to its location if (!io -> Seek(io, TagPos)) goto Error; @@ -1572,8 +1574,7 @@ if (!IsTypeSupport...
3265
anonymous3619/vulpatch:3265-vul
librawspeed
https://github.com/darktable-org/rawspeed.git
648eef8958198e9b919f8394b73bcbb4d360b6bf
d505b6d818773a70c26ba6d31e6ae88beb0ecb0c
afl
asan
/out/TiffDecoderFuzzer-SrwDecoder /tmp/poc
==1748==ERROR: AddressSanitizer: use-after-poison on address 0x768a18d6eafe at pc 0x0000006a1c40 bp 0x7ffcc8127370 sp 0x7ffcc8127368 READ of size 2 at 0x768a18d6eafe thread T0 SCARINESS: 24 (2-byte-read-use-after-poison) #0 0x6a1c3f in void rawspeed::SamsungV2Decompressor::decompressRow<(rawspeed::SamsungV2Decompre...
diff --git a/src/librawspeed/decompressors/SamsungV2Decompressor.cpp b/src/librawspeed/decompressors/SamsungV2Decompressor.cpp --- a/src/librawspeed/decompressors/SamsungV2Decompressor.cpp +++ b/src/librawspeed/decompressors/SamsungV2Decompressor.cpp @@ -236,12 +236,19 @@ continue; } - if (...
3447
anonymous3619/vulpatch:3447-vul
librawspeed
https://github.com/darktable-org/rawspeed.git
55b420a23ab58bb7dc62fb582f205e65d6445270
0da6695fdb33f0c887d3af8e05cf5a4791b09319
afl
asan
/out/TiffDecoderFuzzer-DngDecoder /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==1748==ERROR: AddressSanitizer: ABRT on unknown address 0x0000000006d4 (pc 0x7c6f51610438 bp 0x000000771200 sp 0x7ffc9e9f8c98 T0) SCARINESS: 10 (signal) #0 0x7c6f51610437 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35...
diff --git a/src/librawspeed/common/DngOpcodes.cpp b/src/librawspeed/common/DngOpcodes.cpp --- a/src/librawspeed/common/DngOpcodes.cpp +++ b/src/librawspeed/common/DngOpcodes.cpp @@ -103,8 +103,8 @@ public: explicit FixBadPixelsList(const RawImage& im, ByteStream* bs) { - const iRectangle2D fullImage(0, 0, im-...
4296
anonymous3619/vulpatch:4296-vul
open62541
https://github.com/open62541/open62541.git
9165b056a95f3ff5db23dbf9628acb1efee6f86b
98d2160ab3c667059d8565e81f6a43726edd1fbc
libfuzzer
asan
/out/fuzz_binary_decode /tmp/poc
==424==ERROR: AddressSanitizer: attempting double-free on 0x6020000000d0 in thread T0: SCARINESS: 42 (double-free) #0 0x5133f8 in __interceptor_cfree.localalias.0 /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:76 #1 0x56ce8d in String_deleteMembers /src/open62541/src/ua_types.c:103:5 #2 0x56ce...
diff --git a/src/ua_types_encoding_binary.c b/src/ua_types_encoding_binary.c --- a/src/ua_types_encoding_binary.c +++ b/src/ua_types_encoding_binary.c @@ -908,7 +908,7 @@ if (!((type) == 0)) { } else { tgt->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING; - tgt->content.encoded.typeId = *type...
4440
anonymous3619/vulpatch:4440-vul
librawspeed
https://github.com/darktable-org/rawspeed.git
2fb7cad53e051d21db0390b370bff07fcba9f2be
ac3544e2e1fb390fd1576461663821f32214e868
afl
asan
/out/LJpegDecompressorFuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==2133==ERROR: AddressSanitizer: SEGV on unknown address 0x71907406f0c0 (pc 0x00000055fbc4 bp 0x7fff070d5af0 sp 0x7fff070d5aa0 T0) ==2133==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) #0...
diff --git a/src/librawspeed/common/RawImage.cpp b/src/librawspeed/common/RawImage.cpp --- a/src/librawspeed/common/RawImage.cpp +++ b/src/librawspeed/common/RawImage.cpp @@ -226,13 +226,10 @@ } uchar8* RawImageData::getData(uint32 xpos, uint32 ypos) { - if (dim.x > static_cast<int>(xpos)) { - } else { - Thr...
4492
anonymous3619/vulpatch:4492-vul
librawspeed
https://github.com/darktable-org/rawspeed.git
26ba04cb2b9dd09e4ecc7afba0919c1065c9340f
8ad38e272fa7c6116ea30b32daf8c78d6a4ece49
afl
asan
/out/TiffParserFuzzer-GetDecoder-Decode /tmp/poc
==3353==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6030000001d0 at pc 0x0000005c2e82 bp 0x7ffe67ae53f0 sp 0x7ffe67ae53e8 READ of size 4 at 0x6030000001d0 thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x5c2e81 in rawspeed::DngOpcodes::OffsetPerRowOrCol<rawspeed::DngOpc...
diff --git a/src/librawspeed/common/DngOpcodes.cpp b/src/librawspeed/common/DngOpcodes.cpp --- a/src/librawspeed/common/DngOpcodes.cpp +++ b/src/librawspeed/common/DngOpcodes.cpp @@ -256,6 +256,7 @@ // Add offset, so this is always first plane src = src + firstPlane; // FIXME: is op() really suppos...
4764
anonymous3619/vulpatch:4764-vul
open62541
https://github.com/open62541/open62541.git
334e25a86d977e389fabe3006be3ff1a40c16ddb
3d4b8666b02ecea0045c2ba8ae4c46a3f766c765
afl
asan
/out/fuzz_binary_message /tmp/poc
==497==ERROR: AddressSanitizer: heap-use-after-free on address 0x631000000800 at pc 0x000000562c6a bp 0x7ffdaae70050 sp 0x7ffdaae70048 WRITE of size 4 at 0x631000000800 thread T0 SCARINESS: 46 (4-byte-write-heap-use-after-free) #0 0x562c69 in UInt32_encodeBinary /src/open62541/src/ua_types_encoding_binary.c:242:5 ...
diff --git a/src/ua_securechannel.c b/src/ua_securechannel.c --- a/src/ua_securechannel.c +++ b/src/ua_securechannel.c @@ -615,7 +615,8 @@ void UA_MessageContext_abort(UA_MessageContext *mctx) { if (1) { - UA_ByteString_deleteMembers(&mctx->messageBuffer); + UA_Connection *connection = mctx->channe...
5504
anonymous3619/vulpatch:5504-vul
open62541
https://github.com/open62541/open62541.git
01f78374285f16749452ba84289356fc85e4ab22
98d2160ab3c667059d8565e81f6a43726edd1fbc
afl
asan
/out/fuzz_binary_message /tmp/poc
==497==ERROR: AddressSanitizer: heap-use-after-free on address 0x61300000c7d0 at pc 0x000000573dd8 bp 0x7ffcbd205ca0 sp 0x7ffcbd205c98 READ of size 8 at 0x61300000c7d0 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x573dd7 in UA_SecureChannel_deleteMembersCleanup /src/open62541/src/ua_securechannel.c...
diff --git a/src/server/ua_session_manager.c b/src/server/ua_session_manager.c --- a/src/server/ua_session_manager.c +++ b/src/server/ua_session_manager.c @@ -39,6 +39,9 @@ static UA_StatusCode removeSession(UA_SessionManager *smgr, session_list_entry *slentry) { + /* Detach the Session from the SecureChannel */...
5652
anonymous3619/vulpatch:5652-vul
open62541
https://github.com/open62541/open62541.git
c54a3e26439600a075c5ac427da1aae0f0781655
98d2160ab3c667059d8565e81f6a43726edd1fbc
afl
asan
/out/fuzz_binary_message /tmp/poc
==497==ERROR: AddressSanitizer: heap-use-after-free on address 0x61300000c7d0 at pc 0x000000573dd8 bp 0x7ffe06e78ee0 sp 0x7ffe06e78ed8 READ of size 8 at 0x61300000c7d0 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x573dd7 in UA_SecureChannel_deleteMembersCleanup /src/open62541/src/ua_securechannel.c...
diff --git a/src/server/ua_services_session.c b/src/server/ua_services_session.c --- a/src/server/ua_services_session.c +++ b/src/server/ua_services_session.c @@ -276,8 +276,19 @@ /* Detach the old SecureChannel */ if(session->header.channel && session->header.channel != channel) { detachFromOldChann...
6457
anonymous3619/vulpatch:6457-vul
imagemagick
https://github.com/imagemagick/imagemagick
4cd61940efb573150303c73c2be4079133da042f
4fc6fc13832a0ab0037040cc951ace96b240eb22
libfuzzer
asan
/out/encoder_pcd_fuzzer /tmp/poc
==31609==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x631000000800 in thread T0 SCARINESS: 40 (bad-free) #0 0x4e6068 in __interceptor_cfree.localalias.0 /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:76 #1 0x7b4951 in RelinquishMagickMemory /src/imagemagick/Magi...
diff --git a/coders/pcd.c b/coders/pcd.c --- a/coders/pcd.c +++ b/coders/pcd.c @@ -1134,6 +1134,8 @@ { pcd_output=rotated_image; } + DestroyBlob(rotated_image); + pcd_output->blob=ReferenceBlob(image->blob); } /* Open output image file.
9388
anonymous3619/vulpatch:9388-vul
skia
https://skia.googlesource.com/skia.git
1c5fd18927d5a128a12d7d5fe27f08d898be1e5b
b965fcb47296870643d001acb4a43cec3d88579a
libfuzzer
asan
/out/api_mock_gpu_canvas /tmp/poc
==10279==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030000004c8 at pc 0x000000926b13 bp 0x7ffe0af4cf30 sp 0x7ffe0af4cf28 WRITE of size 4 at 0x6030000004c8 thread T0 SCARINESS: 46 (4-byte-write-heap-use-after-free) #0 0x926b12 in fetch_add /usr/local/bin/../include/c++/v1/atomic:1020:17 #1 0x926b...
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h --- a/include/core/SkTextBlob.h +++ b/include/core/SkTextBlob.h @@ -14,6 +14,7 @@ #include "SkString.h" #include "SkRefCnt.h" +class SkGlyphRunList; class SkReadBuffer; class SkWriteBuffer; @@ -109,6 +110,7 @@ } } + friend cla...
10084
anonymous3619/vulpatch:10084-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
a26806801005c28115ae9e48bdcf3bbbc1bcd767
c0a3f38f78362a183b30afd109dcebfca563d144
libfuzzer
asan
/out/hb-subset-fuzzer /tmp/poc
==10494==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x606000000180 at pc 0x00000062c544 bp 0x7ffdbaad2e10 sp 0x7ffdbaad2e08 READ of size 8 at 0x606000000180 thread T0 SCARINESS: 23 (8-byte-read-heap-buffer-overflow) #0 0x62c543 in OT::Coverage::intersects(hb_set_t const*) const /src/harfbuzz/src/./hb-...
diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh --- a/src/hb-dsalgs.hh +++ b/src/hb-dsalgs.hh @@ -492,7 +492,14 @@ struct hb_auto_t : Type { hb_auto_t (void) { Type::init (); } - template <typename T1> hb_auto_t (T1 t0) { unsigned int important_var_slack; Type::init (t0); } + /* Explicitly allow the following o...
10676
anonymous3619/vulpatch:10676-vul
open62541
https://github.com/open62541/open62541.git
3354b45980db0c0a89966a6ad349ad7053a91be9
46224876f5da3fa0beda0f905f9856fb70f3c14b
afl
asan
/out/fuzz_binary_message /tmp/poc
==549==ERROR: AddressSanitizer: heap-use-after-free on address 0x613000037240 at pc 0x00000059180e bp 0x7ffd9e506650 sp 0x7ffd9e506648 READ of size 8 at 0x613000037240 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x59180d in UA_WorkQueue_manuallyProcessDelayed /src/open62541/src/ua_workqueue.c:251:5...
diff --git a/src/server/ua_session.c b/src/server/ua_session.c --- a/src/server/ua_session.c +++ b/src/server/ua_session.c @@ -36,19 +36,6 @@ UA_BrowseDescription_deleteMembers(&cp->browseDescription); UA_free(cp); } - -#ifdef UA_ENABLE_SUBSCRIPTIONS - UA_Subscription *sub, *subtemp; - LIST...
10881
anonymous3619/vulpatch:10881-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
210f899acad1959d60892538ac1968a36dbbb51b
2c824d3644e16643c2bbe85fb88f9fb6fed53ce7
libfuzzer
asan
/out/hb-shape-fuzzer /tmp/poc
==10459==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000011c at pc 0x0000005d67e0 bp 0x7ffc5f00ac60 sp 0x7ffc5f00ac58 READ of size 1 at 0x60300000011c thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x5d67df in BEInt<unsigned int, 4>::operator unsigned int() const /src/harfbuzz/src...
diff --git a/src/hb-ot-kern-table.hh b/src/hb-ot-kern-table.hh --- a/src/hb-ot-kern-table.hh +++ b/src/hb-ot-kern-table.hh @@ -437,10 +437,7 @@ inline bool sanitize (hb_sanitize_context_t *ctx) const { TRACE_SANITIZE (this); - if ((u.major.sanitize (ctx)) != 0) { - } else { - return_trace (false...
10899
anonymous3619/vulpatch:10899-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
e940530c9723c3a581a5d5b31e5f419865dd6cc7
b2f687c2569a3cc0b1cd0335c5ca0f8d193f8a39
libfuzzer
asan
/out/hb-shape-fuzzer /tmp/poc
==10756==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6100000001fc at pc 0x0000005d51ac bp 0x7ffc14b5ecf0 sp 0x7ffc14b5ece8 READ of size 1 at 0x6100000001fc thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x5d51ab in BEInt<unsigned short, 2>::operator unsigned short() const /src/harfbuzz...
diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -164,7 +164,7 @@ } protected: - HBUINT16 format; /* Format identifier--format = 2 */ + HBUINT16 format; /* Format identifier--format = 4 */ VarSizedBinSearchArrayO...
10986
anonymous3619/vulpatch:10986-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
e940530c9723c3a581a5d5b31e5f419865dd6cc7
b2f687c2569a3cc0b1cd0335c5ca0f8d193f8a39
afl
asan
/out/hb-shape-fuzzer /tmp/poc
==10829==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b000000157 at pc 0x000000546c2e bp 0x7ffde05daab0 sp 0x7ffde05daaa8 READ of size 1 at 0x60b000000157 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x546c2d in BEInt<unsigned short, 2>::operator unsigned short() const /src/harfbuzz...
diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -164,7 +164,7 @@ } protected: - HBUINT16 format; /* Format identifier--format = 2 */ + HBUINT16 format; /* Format identifier--format = 4 */ VarSizedBinSearchArrayO...
11040
anonymous3619/vulpatch:11040-vul
skia
https://skia.googlesource.com/skia.git
701167cfb9bf3e94ff2d8ebafb4eb9eff1f2e35e
57862f68330e3bb48ae0ce89023ac4d8d24e67fe
afl
asan
/out/android_codec /tmp/poc
==10556==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x624000003fec at pc 0x000000979afe bp 0x7fff1f37ab70 sp 0x7fff1f37ab68 WRITE of size 4 at 0x624000003fec thread T0 SCARINESS: 36 (4-byte-write-heap-buffer-overflow) #0 0x979afd in swizzle_index_to_n32(void*, unsigned char const*, int, int, int, int,...
diff --git a/src/codec/SkSwizzler.cpp b/src/codec/SkSwizzler.cpp --- a/src/codec/SkSwizzler.cpp +++ b/src/codec/SkSwizzler.cpp @@ -1216,6 +1216,15 @@ fSwizzleWidth = compute_scaled_extent(fSrcWidth, sampX); fAllocatedWidth = compute_scaled_extent(fDstWidth, sampX); + if (fDstByteOffset > 0) { + co...
11245
anonymous3619/vulpatch:11245-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
f074da8c2b6a7061c71d12213a6c494c119eb20e
ab57bcae0fd4505c80bb4ccdef6838bb2805ce79
libfuzzer
asan
/out/hb-shape-fuzzer /tmp/poc
==10762==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6040000002ee at pc 0x0000005dc24e bp 0x7fff5f2aa7e0 sp 0x7fff5f2aa7d8 READ of size 1 at 0x6040000002ee thread T0 SCARINESS: 22 (1-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x5dc24d in BEInt<unsigned char, 1>::operator unsigned char() const...
diff --git a/src/hb-ot-kern-table.hh b/src/hb-ot-kern-table.hh --- a/src/hb-ot-kern-table.hh +++ b/src/hb-ot-kern-table.hh @@ -78,7 +78,6 @@ inline bool sanitize (hb_sanitize_context_t *ctx) const { TRACE_SANITIZE (this); - trace_return (true); /* Disabled. See above. */ for (unsigned int probe_roun...
11351
anonymous3619/vulpatch:11351-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
11aa0468ac2c62ff734ba6b0f6eb43d1bd6f602b
af727b4e629f8b07d7afb809be69d053827f6a51
afl
asan
/out/hb-subset-fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==9229==ERROR: AddressSanitizer: SEGV on unknown address 0x60ef8d2020ab (pc 0x000000538074 bp 0x7ffd9a570e30 sp 0x7ffd9a570e20 T0) ==9229==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc --- a/src/hb-subset-plan.cc +++ b/src/hb-subset-plan.cc @@ -67,6 +67,17 @@ gids_to_preserve); } +static void +_remove_invalid_gids (hb_set_t *glyphs, + unsigned int num_glyphs) +{ + hb_codepoint_t gid = HB_SET_VALUE_INVALID; + while (glyphs...
11713
anonymous3619/vulpatch:11713-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
c31092ab34641072606f854408eb1bea18ed2507
ddd29e5594ccc9d0281e6da7373a1f115f6f6f3a
libfuzzer
asan
/out/hb-subset-fuzzer /tmp/poc
==9042==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61300000037f at pc 0x0000004ea8dd bp 0x7fffe80166f0 sp 0x7fffe8015ea0 READ of size 62017 at 0x61300000037f thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x4ea8dc in __asan_memcpy /src/llvm/projects/compiler-rt/lib/asan/asan_inter...
diff --git a/src/hb-ot-cff2-table.hh b/src/hb-ot-cff2-table.hh --- a/src/hb-ot-cff2-table.hh +++ b/src/hb-ot-cff2-table.hh @@ -120,7 +120,7 @@ { TRACE_SANITIZE (this); const bool structOk = ctx->check_struct (this); - return_trace (likely (structOk) && varStore.sanitize (ctx)); + return_trace (likely...
11753
anonymous3619/vulpatch:11753-vul
yara
https://github.com/VirusTotal/yara.git
8eeed3ef5e2bbd5b927bf1b72879c1fa9ab979cb
4df40fca364a8fdf29b2f84b2abac26cd16ca75f
libfuzzer
asan
/out/rules_fuzzer /tmp/poc
==18648==ERROR: AddressSanitizer: heap-use-after-free on address 0x6070000000c0 at pc 0x0000005c30f1 bp 0x7ffc464878b0 sp 0x7ffc464878a8 READ of size 8 at 0x6070000000c0 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x5c30f0 in yr_re_node_destroy /src/yara/libyara/re.c:155:25 #1 0x5c3418 in yr_re...
diff --git a/libyara/re.c b/libyara/re.c --- a/libyara/re.c +++ b/libyara/re.c @@ -522,6 +522,8 @@ for (; subnode != NULL; ) { if (!(!subnode->greedy && subnode->type == RE_NODE_RANGE_ANY && + subnode->prev_sibling != NULL && + subnode->next_sibling != NULL && (YR_STRING_CHAIN...
12241
anonymous3619/vulpatch:12241-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
3b81442cd5c11099ae9245074d24ef679b4473fa
ab2258a419abbace9ff27916143b46f88e8ccef3
libfuzzer
asan
/out/hb-subset-fuzzer /tmp/poc
==9382==ERROR: AddressSanitizer: attempting double-free on 0x619000000080 in thread T0: SCARINESS: 42 (double-free) #0 0x4ec420 in __interceptor_free /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:124 #1 0x63b5e8 in hb_vector_t<CFF::op_str_t, 8u>::fini() /src/harfbuzz/src/./hb-vector.hh:62:7 #...
diff --git a/src/hb-vector.hh b/src/hb-vector.hh --- a/src/hb-vector.hh +++ b/src/hb-vector.hh @@ -32,7 +32,7 @@ #include "hb-null.hh" -template <typename Type, unsigned int PrereserveCount=8> +template <typename Type, unsigned int PrereserveCount=2> struct hb_vector_t { typedef Type item_t;
12312
anonymous3619/vulpatch:12312-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
a3fa7d33360a58df5333dbbd121328e580f08849
f60282c5bff4a317ba3180e3519274963c6e8849
libfuzzer
asan
/out/hb-shape-fuzzer /tmp/poc
==9382==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x613000000350 at pc 0x0000005d080d bp 0x7fff0bdbfd70 sp 0x7fff0bdbfd68 READ of size 2 at 0x613000000350 thread T0 SCARINESS: 14 (2-byte-read-heap-buffer-overflow) #0 0x5d080c in BEInt<unsigned short, 2>::operator unsigned short() const /src/harfbuzz/...
diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -333,10 +333,8 @@ trace_and_return (false); } - if ((Types::extended) != 0) { - } else { - trace_and_return (true); - } + if (!...
12419
anonymous3619/vulpatch:12419-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
619534ef2ed501e5206915064a5bc36153a897f7
d19bab68f49e641a8551ef22cf3cee9a0144deea
afl
asan
/out/libxml2_xml_reader_for_file_fuzzer /tmp/poc
==8433==ERROR: AddressSanitizer: attempting double-free on 0x6020000001d0 in thread T0: SCARINESS: 42 (double-free) #0 0x4ec510 in __interceptor_free /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:124 #1 0x5cfac8 in xmlFreeID /src/libxml2/xmlreader.c:249:2 #2 0x56192c in xmlHashFree /src/libxm...
diff --git a/xmlreader.c b/xmlreader.c --- a/xmlreader.c +++ b/xmlreader.c @@ -282,6 +282,7 @@ return(-1); } else { id->name = attrib->name; + attrib->name = NULL; id->attr = NULL; return(0); }
14916
anonymous3619/vulpatch:14916-vul
gdal
https://github.com/OSGeo/gdal
9343a91ef8ff16c7716dfe8e31fe9c2b0f6fd8a6
8661f4f171c20e0c5f67e82fab3f166ffc544d72
afl
asan
/out/gtiff_mmap /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==45924==ERROR: AddressSanitizer: SEGV on unknown address 0x621020205d21 (pc 0x7e6feccf6c67 bp 0x7ffdc5f0b1d0 sp 0x7ffdc5f0a988 T0) ==45924==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0...
diff --git a/gdal/frmts/gtiff/libtiff/tif_dirread.c b/gdal/frmts/gtiff/libtiff/tif_dirread.c --- a/gdal/frmts/gtiff/libtiff/tif_dirread.c +++ b/gdal/frmts/gtiff/libtiff/tif_dirread.c @@ -6222,7 +6222,9 @@ } else { *pbErr = 1; } - return 0; + ...
15270
anonymous3619/vulpatch:15270-vul
ffmpeg
https://git.ffmpeg.org/ffmpeg.git
247a1de7f7d9c5628cf188e677d10ce9e12bd2f2
4057a060f62b2f1dade799fb9fdf0eec5708e0a7
afl
asan
/out/ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer /tmp/poc
==155483==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61a0000004cc at pc 0x0000004e9328 bp 0x7ffe712651c0 sp 0x7ffe712651b8 WRITE of size 4 at 0x61a0000004cc thread T0 SCARINESS: 36 (4-byte-write-heap-buffer-overflow) #0 0x4e9327 in cmap_read_palette /src/ffmpeg/libavcodec/iff.c:180:20 #1 0x4e0f4...
diff --git a/libavcodec/utils.c b/libavcodec/utils.c --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -785,6 +785,10 @@ res = AVERROR(EINVAL); goto free_and_end; } + if (avctx->bits_per_coded_sample < 0) { + res = AVERROR(EINVAL); + goto free_and_end; ...
15775
anonymous3619/vulpatch:15775-vul
imagemagick
https://github.com/imagemagick/imagemagick
364908fa52a94322d810fe59168db0b7e30c179b
79db70a3524bdcf20a0e9480e56638aa8252eccf
libfuzzer
asan
/out/ping_ps_fuzzer /tmp/poc
==89649==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7aeaf5de6838 at pc 0x0000008ada52 bp 0x7ffc396657b0 sp 0x7ffc396657a8 READ of size 1 at 0x7aeaf5de6838 thread T0 SCARINESS: 27 (1-byte-read-stack-buffer-overflow) #0 0x8ada51 in GetNextUTFCode /src/imagemagick/./MagickCore/token-private.h:125:14 ...
diff --git a/MagickCore/blob.h b/MagickCore/blob.h --- a/MagickCore/blob.h +++ b/MagickCore/blob.h @@ -23,6 +23,7 @@ #endif #define MagickMaxBufferExtent 81920 +#define MagickMinBufferExtent 16384 typedef enum { diff --git a/coders/bytebuffer-private.h b/coders/bytebuffer-private.h --- a/coders/bytebuffer-pri...
15776
anonymous3619/vulpatch:15776-vul
imagemagick
https://github.com/imagemagick/imagemagick
364908fa52a94322d810fe59168db0b7e30c179b
79db70a3524bdcf20a0e9480e56638aa8252eccf
libfuzzer
asan
/out/ping_eps_fuzzer /tmp/poc
==89647==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7d9122b43838 at pc 0x000000433359 bp 0x7ffc4a0e5ac0 sp 0x7ffc4a0e5280 READ of size 8188 at 0x7d9122b43838 thread T0 SCARINESS: 41 (multi-byte-read-stack-buffer-overflow) #0 0x433358 in strlen /src/llvm/projects/compiler-rt/lib/asan/../sanitizer_co...
diff --git a/MagickCore/blob.h b/MagickCore/blob.h --- a/MagickCore/blob.h +++ b/MagickCore/blob.h @@ -23,6 +23,7 @@ #endif #define MagickMaxBufferExtent 81920 +#define MagickMinBufferExtent 16384 typedef enum { diff --git a/coders/bytebuffer-private.h b/coders/bytebuffer-private.h --- a/coders/bytebuffer-pri...
17228
anonymous3619/vulpatch:17228-vul
matio
git://git.code.sf.net/p/matio/matio
b783c3e234ceac1d933266707e453b085f1112c6
26a6c7177b179153f254f17f6d3b313a1e107a2f
libfuzzer
ubsan
/out/matio_fuzzer /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==20474==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x00008cc48d20 (pc 0x73381f9bb268 bp 0x7ffe66b32f90 sp 0x7ffe66b32f78 T20474) ==20474==The signal is caused by a READ memory access. #0 0x73381f9bb268 (/lib/x86_64-linux-gnu/libc.so.6+0x14e268) #1 0x799f...
diff --git a/src/mat73.c b/src/mat73.c --- a/src/mat73.c +++ b/src/mat73.c @@ -797,8 +797,12 @@ if (1) { ref_id = H5RDEREFERENCE(dset_id,H5R_OBJECT,ref_ids+i); } - cells[i]->internal->id = ref_id; - ret = Mat_H5Read...
19744
anonymous3619/vulpatch:19744-vul
imagemagick
https://github.com/imagemagick/imagemagick
df9e141e9a5e82b61123e1aebebc10f7a14d5a5d
2cfafdb095287a032c284a029fff2df78e5b7456
libfuzzer
asan
/out/encoder_psd_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==110571==ERROR: AddressSanitizer: SEGV on unknown address 0x61a003c3a848 (pc 0x000000a3c016 bp 0x7fffbf7bd5f0 sp 0x7fffbf7bd5b0 T0) ==110571==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) ...
diff --git a/coders/psd.c b/coders/psd.c --- a/coders/psd.c +++ b/coders/psd.c @@ -1658,6 +1658,8 @@ ctype; ctype=layer_info->channel_info[k].type; + if ((k == 0) && (psd_info->mode == IndexedMode) && (ctype != 0)) + return(MagickFalse); if (ctype != -1) { }
20061
anonymous3619/vulpatch:20061-vul
open62541
https://github.com/open62541/open62541.git
89b73e8ba0b025983e1d81d7aa203e6a462da04d
09ccc06730d2a9a89fd11937f23ae860a2771301
libfuzzer
asan
/out/fuzz_json_decode /tmp/poc
==920==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030000000d8 at pc 0x000000573fe8 bp 0x7ffe2673dff0 sp 0x7ffe2673dfe8 READ of size 8 at 0x6030000000d8 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x573fe7 in String_clear /src/open62541/src/ua_types.c:160:24 #1 0x573fe7 in Locali...
diff --git a/src/ua_types_encoding_json.c b/src/ua_types_encoding_json.c --- a/src/ua_types_encoding_json.c +++ b/src/ua_types_encoding_json.c @@ -2982,6 +2982,7 @@ break; default: UA_free(dest->data); + dest->data = NULL; break; } } else if(encod...
20062
anonymous3619/vulpatch:20062-vul
open62541
https://github.com/open62541/open62541.git
89b73e8ba0b025983e1d81d7aa203e6a462da04d
09ccc06730d2a9a89fd11937f23ae860a2771301
libfuzzer
asan
/out/fuzz_json_decode /tmp/poc
==920==ERROR: AddressSanitizer: attempting double-free on 0x602000000090 in thread T0: SCARINESS: 42 (double-free) #0 0x51e6bd in free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:123:3 #1 0x56f50e in UA_Array_delete /src/open62541/src/ua_types.c:1312:5 #2 0x56f50e in Variant_clear /src/open...
diff --git a/src/ua_types_encoding_json.c b/src/ua_types_encoding_json.c --- a/src/ua_types_encoding_json.c +++ b/src/ua_types_encoding_json.c @@ -2980,6 +2980,7 @@ if (rc == UA_STATUSCODE_GOOD) { } else { UA_free(dest->data); + dest->data = NULL; } } else { ...
20113
anonymous3619/vulpatch:20113-vul
arrow
https://github.com/apache/arrow.git
8b09ecc5c690dd270dea83490f292c2e00eef75b
92931939ac2c8c89c278c2413608c3f1d2663f91
libfuzzer
asan
/out/arrow-ipc-stream-fuzz /tmp/poc
==400==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61a000000f60 at pc 0x0000010130c3 bp 0x7fff1a9ba7b0 sp 0x7fff1a9ba7a8 READ of size 4 at 0x61a000000f60 thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x10130c2 in Visit /src/arrow/cpp/src/arrow/array/validate.cc:380:32 ...
diff --git a/cpp/src/arrow/io/interfaces.cc b/cpp/src/arrow/io/interfaces.cc --- a/cpp/src/arrow/io/interfaces.cc +++ b/cpp/src/arrow/io/interfaces.cc @@ -227,6 +227,17 @@ } } +Result<int64_t> ValidateReadRegion(int64_t offset, int64_t size, int64_t file_size) { + if (offset < 0 || size < 0) { + return Status...
20115
anonymous3619/vulpatch:20115-vul
arrow
https://github.com/apache/arrow.git
8b09ecc5c690dd270dea83490f292c2e00eef75b
220c43789fc0e2b6b623c30a18e5464ffa9f1e82
afl
asan
/out/arrow-ipc-stream-fuzz /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==442==ERROR: AddressSanitizer: SEGV on unknown address 0x6250000034b0 (pc 0x000001525e8c bp 0x7ffdaa5919b0 sp 0x7ffdaa591900 T0) ==442==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0x1...
diff --git a/cpp/src/arrow/io/interfaces.cc b/cpp/src/arrow/io/interfaces.cc --- a/cpp/src/arrow/io/interfaces.cc +++ b/cpp/src/arrow/io/interfaces.cc @@ -227,6 +227,17 @@ } } +Result<int64_t> ValidateReadRegion(int64_t offset, int64_t size, int64_t file_size) { + if (offset < 0 || size < 0) { + return Status...
20135
anonymous3619/vulpatch:20135-vul
arrow
https://github.com/apache/arrow.git
8b09ecc5c690dd270dea83490f292c2e00eef75b
92931939ac2c8c89c278c2413608c3f1d2663f91
libfuzzer
asan
/out/arrow-ipc-stream-fuzz /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==400==ERROR: AddressSanitizer: SEGV on unknown address 0x61e0003d1558 (pc 0x00000100fc7a bp 0x7fff967c7010 sp 0x7fff967c6f00 T0) ==400==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0x1...
diff --git a/cpp/src/arrow/io/interfaces.cc b/cpp/src/arrow/io/interfaces.cc --- a/cpp/src/arrow/io/interfaces.cc +++ b/cpp/src/arrow/io/interfaces.cc @@ -227,6 +227,17 @@ } } +Result<int64_t> ValidateReadRegion(int64_t offset, int64_t size, int64_t file_size) { + if (offset < 0 || size < 0) { + return Status...
20139
anonymous3619/vulpatch:20139-vul
arrow
https://github.com/apache/arrow.git
8b09ecc5c690dd270dea83490f292c2e00eef75b
92931939ac2c8c89c278c2413608c3f1d2663f91
libfuzzer
ubsan
/out/arrow-ipc-stream-fuzz /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==400==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x00013314f5e4 (pc 0x000000b3522b bp 0x7ffe58c52c50 sp 0x7ffe58c52c20 T400) ==400==The signal is caused by a READ memory access. #0 0xb3522b in GetBit /src/arrow/cpp/src/arrow/util/bit_util.h:428:11 #1 0xb3...
diff --git a/cpp/src/arrow/io/interfaces.cc b/cpp/src/arrow/io/interfaces.cc --- a/cpp/src/arrow/io/interfaces.cc +++ b/cpp/src/arrow/io/interfaces.cc @@ -227,6 +227,17 @@ } } +Result<int64_t> ValidateReadRegion(int64_t offset, int64_t size, int64_t file_size) { + if (offset < 0 || size < 0) { + return Status...
20810
anonymous3619/vulpatch:20810-vul
open62541
https://github.com/open62541/open62541.git
8a38852f9c7da025602aa81ff83f1ae2ef8e21e0
0db99235b08359a3bb5844cfc2d02d36eadd70c0
libfuzzer
ubsan
/out/fuzz_json_decode_encode /tmp/poc
/src/open62541/src/ua_types_encoding_json.c:110:5: runtime error: index 100 out of bounds for type 'UA_Boolean [100]' #0 0x548bc8 in writeJsonObjStart /src/open62541/src/ua_types_encoding_json.c:110:34 #1 0x54d8f3 in DiagnosticInfo_encodeJson /src/open62541/src/ua_types_encoding_json.c:1334:12 #2 0x54dc74 i...
diff --git a/src/ua_types_encoding_json.c b/src/ua_types_encoding_json.c --- a/src/ua_types_encoding_json.c +++ b/src/ua_types_encoding_json.c @@ -102,24 +102,24 @@ WRITE_JSON_ELEMENT(ObjStart) { /* increase depth, save: before first key-value no comma needed. */ - if (UA_JSON_ENCODING_MAX_RECURSION > ctx->d...
20944
anonymous3619/vulpatch:20944-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
e642aab1166cf7782fb55f1721eba057c2bfd609
5cab55ca90a64da281ef2c55e892bb0d6ebb3019
libfuzzer
asan
/out/hb-draw-fuzzer /tmp/poc
==9178==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x625000005caa at pc 0x00000055d02d bp 0x7ffe496304d0 sp 0x7ffe496304c8 READ of size 2 at 0x625000005caa thread T0 SCARINESS: 24 (2-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x55d02c in BEInt<unsigned short, 2>::operator unsigned short() cons...
diff --git a/src/hb-ot-glyf-table.hh b/src/hb-ot-glyf-table.hh --- a/src/hb-ot-glyf-table.hh +++ b/src/hb-ot-glyf-table.hh @@ -850,6 +850,7 @@ glyf_table = hb_sanitize_context_t ().reference_table<glyf> (face); glyph_count = hb_max (1u, loca_table.get_length () / (short_offset ? 2 : 4)) - 1; + glyp...
21026
anonymous3619/vulpatch:21026-vul
harfbuzz
https://github.com/harfbuzz/harfbuzz.git
99b5b3f1b125010aea0cbb9183950fa18fe089b5
29dd1fe506d254abdf8b4cccd7dfdf48d6f5e7e6
afl
asan
/out/hb-draw-fuzzer /tmp/poc
==9403==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61b00000066b at pc 0x0000004dab50 bp 0x7ffd1da4b070 sp 0x7ffd1da4b068 READ of size 2 at 0x61b00000066b thread T0 SCARINESS: 14 (2-byte-read-heap-buffer-overflow) #0 0x4dab4f in BEInt<short, 2>::operator short() const /src/harfbuzz/src/./hb.hh:541:59...
diff --git a/src/hb-ot-var-gvar-table.hh b/src/hb-ot-var-gvar-table.hh --- a/src/hb-ot-var-gvar-table.hh +++ b/src/hb-ot-var-gvar-table.hh @@ -224,9 +224,9 @@ bool is_valid () const { - return (var_data->tupleVarCount.get_count () > index) && + return (index < var_data->tupleVarCount.get_count ())...
21464
anonymous3619/vulpatch:21464-vul
open62541
https://github.com/open62541/open62541.git
89b73e8ba0b025983e1d81d7aa203e6a462da04d
09ccc06730d2a9a89fd11937f23ae860a2771301
libfuzzer
asan
/out/fuzz_json_decode_encode /tmp/poc
==920==ERROR: AddressSanitizer: heap-use-after-free on address 0x60d000000044 at pc 0x0000005738de bp 0x7ffc15392f00 sp 0x7ffc15392ef8 READ of size 4 at 0x60d000000044 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x5738dd in NodeId_clear /src/open62541/src/ua_types.c:289:15 #1 0x5754b7 in clearS...
diff --git a/src/ua_types_encoding_json.c b/src/ua_types_encoding_json.c --- a/src/ua_types_encoding_json.c +++ b/src/ua_types_encoding_json.c @@ -2980,6 +2980,7 @@ if (!(rc != UA_STATUSCODE_GOOD)) { } else { UA_free(dest->data); + dest->data = NULL; } } else if(e...
22320
anonymous3619/vulpatch:22320-vul
rdkit
https://github.com/rdkit/rdkit.git
ef5ec47b1d7d09e46b7d3f898477e9a48bfecf3f
e1322f73c6b62c8ebc5438ff8f110fe72b82334a
afl
asan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
==37860==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000007f18 at pc 0x00000094d7df bp 0x7fff98981990 sp 0x7fff98981988 WRITE of size 4 at 0x602000007f18 thread T0 SCARINESS: 36 (4-byte-write-heap-buffer-overflow) #0 0x94d7de in RDKit::Chirality::iterateCIPRanks(RDKit::ROMol const&, std::__1::vect...
diff --git a/Code/GraphMol/FileParsers/FileParserUtils.h b/Code/GraphMol/FileParsers/FileParserUtils.h --- a/Code/GraphMol/FileParsers/FileParserUtils.h +++ b/Code/GraphMol/FileParsers/FileParserUtils.h @@ -34,7 +34,7 @@ } } RDKIT_FILEPARSERS_EXPORT int toInt(const std::string &input, - ...
22718
anonymous3619/vulpatch:22718-vul
rdkit
https://github.com/rdkit/rdkit.git
ef5ec47b1d7d09e46b7d3f898477e9a48bfecf3f
e1322f73c6b62c8ebc5438ff8f110fe72b82334a
libfuzzer
ubsan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
/src/rdkit/Code/GraphMol/QueryOps.cpp:746:21: runtime error: downcast of address 0x000030f55e70 which does not point to an object of type 'RDKit::ATOM_EQUALS_QUERY' (aka 'EqualityQuery<int, const RDKit::Atom *, true>') 0x000030f55e70: note: object is of type 'Queries::AndQuery<int, RDKit::Atom const*, true>' 00 00 00 ...
diff --git a/Code/GraphMol/FileParsers/FileParserUtils.h b/Code/GraphMol/FileParsers/FileParserUtils.h --- a/Code/GraphMol/FileParsers/FileParserUtils.h +++ b/Code/GraphMol/FileParsers/FileParserUtils.h @@ -34,7 +34,7 @@ } } RDKIT_FILEPARSERS_EXPORT int toInt(const std::string &input, - ...
23046
anonymous3619/vulpatch:23046-vul
ndpi
https://github.com/ntop/nDPI.git
6a9f5e4f7c3fd5ddab3e6727b071904d76773952
8ca13bc46aa14a108290e887d7c0930422bca009
libfuzzer
asan
/out/fuzz_ndpi_reader /tmp/poc
==7612==ERROR: AddressSanitizer: heap-use-after-free on address 0x62b000012b9a at pc 0x0000004bc596 bp 0x7ffc7fd9d1d0 sp 0x7ffc7fd9c978 READ of size 3 at 0x62b000012b9a thread T0 SCARINESS: 43 (3-byte-read-heap-use-after-free) #0 0x4bc595 in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned ...
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 @@ -4441,7 +4441,8 @@ pktptr->accept_line.len = 0, pktptr->user_agent_line.ptr = NULL, pktptr->user_agent_line.len = 0, pktptr->http_encoding.len = 0, pktptr->http_transfer_encoding.ptr = NULL, pktptr->h...
23120
anonymous3619/vulpatch:23120-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
00ed736eecf93aeab49089abb06e0e5fc0e7e091
f0fd1b67fc883a24cdd039abb3d4fe4696104d72
honggfuzz
asan
/out/xml /tmp/poc
==4922==ERROR: AddressSanitizer: heap-use-after-free on address 0x6020000014f0 at pc 0x00000043aa68 bp 0x7fff18728b70 sp 0x7fff187282f8 READ of size 2 at 0x6020000014f0 thread T0 SCARINESS: 42 (2-byte-read-heap-use-after-free) #0 0x43aa67 in printf_common(void*, char const*, __va_list_tag*) /src/llvm-project/compil...
diff --git a/xmlreader.c b/xmlreader.c --- a/xmlreader.c +++ b/xmlreader.c @@ -288,6 +288,59 @@ } /** + * xmlTextReaderWalkRemoveRef: + * @data: Contents of current link + * @user: Value supplied by the user + * + * Returns 0 to abort the walk or 1 to continue + */ +static int +xmlTextReaderWalkRemoveRef(const vo...
23352
anonymous3619/vulpatch:23352-vul
rdkit
https://github.com/rdkit/rdkit.git
ef5ec47b1d7d09e46b7d3f898477e9a48bfecf3f
e1322f73c6b62c8ebc5438ff8f110fe72b82334a
libfuzzer
asan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
==37802==ERROR: AddressSanitizer: stack-buffer-overflow on address 0xe90489af at pc 0x082bd321 bp 0xffc00948 sp 0xffc00940 READ of size 1 at 0xe90489af thread T0 SCARINESS: 27 (1-byte-read-stack-buffer-overflow) #0 0x82bd320 in ParseOldAtomList /src/rdkit/Code/GraphMol/FileParsers/MolFileParser.cpp:227:63 #1 0x...
diff --git a/Code/GraphMol/FileParsers/FileParserUtils.h b/Code/GraphMol/FileParsers/FileParserUtils.h --- a/Code/GraphMol/FileParsers/FileParserUtils.h +++ b/Code/GraphMol/FileParsers/FileParserUtils.h @@ -34,7 +34,7 @@ } } RDKIT_FILEPARSERS_EXPORT int toInt(const std::string &input, - ...
23427
anonymous3619/vulpatch:23427-vul
rdkit
https://github.com/rdkit/rdkit.git
ef5ec47b1d7d09e46b7d3f898477e9a48bfecf3f
e1322f73c6b62c8ebc5438ff8f110fe72b82334a
afl
asan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
==37859==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x7a67c901a480 in thread T0 SCARINESS: 40 (bad-free) #0 0x51620d in operator delete(void*) /src/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:160:3 #1 0x6aec53 in __do_call /usr/local/bin/../include/c++/v1/new:334:12...
diff --git a/Code/GraphMol/FileParsers/MolFileParser.cpp b/Code/GraphMol/FileParsers/MolFileParser.cpp --- a/Code/GraphMol/FileParsers/MolFileParser.cpp +++ b/Code/GraphMol/FileParsers/MolFileParser.cpp @@ -785,8 +785,7 @@ // M MRV SMA 1 [*;A] // 01234567890123456789 // 1111111111 - if (!(lineStr...
23765
anonymous3619/vulpatch:23765-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
f8329fdc234a43b858271acc75ea70881e35fcae
fc842f6eba81f3b630e1ff1ffea69c6f4dd66ccc
honggfuzz
asan
/out/html /tmp/poc
==7430==ERROR: AddressSanitizer: heap-use-after-free on address 0x62100000a100 at pc 0x0000004d2a99 bp 0x7fff161bef50 sp 0x7fff161bef48 READ of size 1 at 0x62100000a100 thread T0 SCARINESS: 40 (1-byte-read-heap-use-after-free) #0 0x4d2a98 in xmlParserPrintFileContextInternal /src/libxml2/error.c:194:10 #1 0x4d6...
diff --git a/HTMLparser.c b/HTMLparser.c --- a/HTMLparser.c +++ b/HTMLparser.c @@ -5160,11 +5160,13 @@ return (-1); } - if (base >= ctx->checkIndex) { - } else { + if (ctx->checkIndex > base) { if (1) { base = ctx->checkIndex; } + /* Abuse inSubset member t...
23801
anonymous3619/vulpatch:23801-vul
mruby
https://github.com/mruby/mruby
ac8360003ecfa1ec21295533c9213f17fd8e39bb
b6b9c57f247a26fb5dbea129cd81fcc9b7d485a3
honggfuzz
asan
/out/mruby_proto_fuzzer /tmp/poc
==1057==ERROR: AddressSanitizer: attempting double-free on 0x60300001afb0 in thread T0: SCARINESS: 42 (double-free) #0 0x49794d in free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:123:3 #1 0x618cde in mrb_default_allocf /src/mruby/src/state.c:64:5 #2 0x6375c0 in mrb_free /src/mruby/src/gc.c...
diff --git a/src/gc.c b/src/gc.c --- a/src/gc.c +++ b/src/gc.c @@ -232,9 +232,14 @@ mrbp->gc.out_of_memory = FALSE; } } else { - mrb_free(mrbp, p); - mrbp->gc.out_of_memory = TRUE; - mrb_raise_nomemory(mrbp); + if (mrbp->gc.out_of_memory) { + mrb_raise_nomemory(mrbp); + /* mrb_panic...
24406
anonymous3619/vulpatch:24406-vul
rdkit
https://github.com/rdkit/rdkit.git
f829c877d8fbbebb1f6b59983e4bc3ad563be9b8
c55182a8e00d7c3191e9511eb447b385102d8928
aflpp
asan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
==38438==ERROR: AddressSanitizer: heap-use-after-free on address 0x607000001ef4 at pc 0x0000010f50ca bp 0x7ffe31404e30 sp 0x7ffe31404e28 READ of size 4 at 0x607000001ef4 thread T0 SCARINESS: 45 (4-byte-read-heap-use-after-free) #0 0x10f50c9 in RDKit::Atom::getIdx() const /src/rdkit/Code/GraphMol/Atom.h:132:40 #...
diff --git a/Code/GraphMol/RWMol.cpp b/Code/GraphMol/RWMol.cpp --- a/Code/GraphMol/RWMol.cpp +++ b/Code/GraphMol/RWMol.cpp @@ -141,10 +141,19 @@ atom_p->updateProps(*d_graph[vtx], replaceExistingData); } removeSubstanceGroupsReferencingAtom(*this, idx); - delete d_graph[vtx]; + + const auto orig_p = d_grap...
24808
anonymous3619/vulpatch:24808-vul
rdkit
https://github.com/rdkit/rdkit.git
f829c877d8fbbebb1f6b59983e4bc3ad563be9b8
c55182a8e00d7c3191e9511eb447b385102d8928
libfuzzer
ubsan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
/src/rdkit/Code/GraphMol/SubstanceGroup.cpp:63:27: runtime error: member call on address 0x000033836cc0 which does not point to an object of type 'RDKit::Atom' 0x000033836cc0: note: object has invalid vptr 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
diff --git a/Code/GraphMol/RWMol.cpp b/Code/GraphMol/RWMol.cpp --- a/Code/GraphMol/RWMol.cpp +++ b/Code/GraphMol/RWMol.cpp @@ -141,10 +141,19 @@ atom_p->updateProps(*d_graph[vtx], replaceExistingData); } dropSGroupsOnAtom(*this, idx); - delete d_graph[vtx]; + + const auto orig_p = d_graph[vtx]; + delete o...
24884
anonymous3619/vulpatch:24884-vul
arrow
https://github.com/apache/arrow.git
525a5e96a4c460a8cd0a5c6965a39529926035aa
54b715c70310811d301ea11bdedde78cd308b9fd
honggfuzz
asan
/out/arrow-ipc-stream-fuzz /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==478==ERROR: AddressSanitizer: ABRT on unknown address 0x0000000001de (pc 0x7bfae387b438 bp 0x7ffda9505580 sp 0x7ffda95053c8 T0) SCARINESS: 10 (signal) #0 0x7bfae387b438 in raise (/lib/x86_64-linux-gnu/libc.so.6+0x35438...
diff --git a/cpp/src/arrow/ipc/metadata_internal.cc b/cpp/src/arrow/ipc/metadata_internal.cc --- a/cpp/src/arrow/ipc/metadata_internal.cc +++ b/cpp/src/arrow/ipc/metadata_internal.cc @@ -260,8 +260,7 @@ return Status::OK(); case flatbuf::Type::FixedSizeBinary: { auto fs_binary = static_cast<const fla...
25014
anonymous3619/vulpatch:25014-vul
libxml2
https://gitlab.gnome.org/GNOME/libxml2.git
d63cfeca3577dfa2e658b33c56889dbab7de8ff5
85cb388ff1b0ac9739a7c0bcb11916b47f612351
libfuzzer
asan
/out/xml /tmp/poc
==4624==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000000468 at pc 0x00000077696a bp 0x7ffce2d58340 sp 0x7ffce2d58338 READ of size 8 at 0x604000000468 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x776969 in xmlNodeDumpOutputInternal /src/libxml2/xmlsave.c:911:48 #1 0x7726c2 in...
diff --git a/xinclude.c b/xinclude.c --- a/xinclude.c +++ b/xinclude.c @@ -1997,7 +1997,8 @@ break; } - xctx->incTab[nr]->inc = fallback->children; + xctx->incTab[nr]->inc = xmlDocCopyNodeList(xctx->doc, + fallback->children); if (xctx->incTab[nr]->inc == NU...
25257
anonymous3619/vulpatch:25257-vul
php-src
https://github.com/php/php-src.git
138f14160569a52ffedfb789d0a8162741ec87b3
b230593b0e2c0d8284dc1032246f1bc21c325a42
libfuzzer
asan
/out/php-fuzz-parser /tmp/poc
==71090==ERROR: AddressSanitizer: heap-use-after-free on address 0xf10298ec at pc 0x088c204c bp 0xffd4b738 sp 0xffd4b730 READ of size 1 at 0xf10298ec thread T0 SCARINESS: 40 (1-byte-read-heap-use-after-free) #0 0x88c204b in shutdown_executor /src/php-src/Zend/zend_execute_API.c:285:18 #1 0x8902fab in zend_deact...
diff --git a/Zend/zend_API.c b/Zend/zend_API.c --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2878,9 +2878,43 @@ /* Disabled functions support */ -ZEND_API zend_result zend_disable_function(const char *func_name_str, size_t function_name_len) /* {{{ */ -{ - return zend_hash_str_del(CG(function_table), func_name_s...
25341
anonymous3619/vulpatch:25341-vul
assimp
https://github.com/assimp/assimp.git
30f17aa2064b86c0096f0ec701b9e8ea9312fef2
b41ffa556184b471912319a790d2fefc9f0c8fe2
libfuzzer
asan
/out/assimp_fuzzer /tmp/poc
==615==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000214 at pc 0x0000009b7564 bp 0x7ffeec2703f0 sp 0x7ffeec2703e8 READ of size 1 at 0x602000000214 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x9b7563 in operator!= /src/assimp/include/assimp/texture.h:102:16 #1 0x9b7563 in...
diff --git a/code/AssetLib/MDL/MDLMaterialLoader.cpp b/code/AssetLib/MDL/MDLMaterialLoader.cpp --- a/code/AssetLib/MDL/MDLMaterialLoader.cpp +++ b/code/AssetLib/MDL/MDLMaterialLoader.cpp @@ -132,6 +132,9 @@ pcTex->mWidth = pcHeader->skinwidth; pcTex->mHeight = pcHeader->skinheight; + if(pcTex->mWidth != ...
25384
anonymous3619/vulpatch:25384-vul
php-src
https://github.com/php/php-src.git
6b521a98d457ae4265f38a65861c723220256110
0ffb7d228b48164a3f3c50e2e53e688a262d7eac
honggfuzz
asan
/out/php-fuzz-execute /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==81184==ERROR: AddressSanitizer: SEGV on unknown address 0x72b4f93cb800 (pc 0x000000b6376b bp 0x7ffef5fe5270 sp 0x7ffef5fe5250 T0) ==81184==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0...
diff --git a/Zend/zend_string.h b/Zend/zend_string.h --- a/Zend/zend_string.h +++ b/Zend/zend_string.h @@ -222,7 +222,6 @@ if (!ZSTR_IS_INTERNED(zs)) { if (!(EXPECTED(GC_REFCOUNT(zs) == 1))) { - gc_drop_ref(zs); } else { ret = (zend_string *)perealloc(zs, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), pe...
25468
anonymous3619/vulpatch:25468-vul
ndpi
https://github.com/ntop/nDPI.git
fb2027cc8ec246cf10fe24784c3569f97ddfa6f1
1fb1848586af7b5b121a3e08ed31e607c5758aab
afl
asan
/out/fuzz_process_packet /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==7846==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x00000041f3e4 bp 0x000000000000 sp 0x7fffe6d26980 T0) ==7846==The signal is caused by a READ memory access. ==7846==Hint: this fault was caused by a dereference o...
diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -151,6 +151,13 @@ { return (is_version_quic(ver_num) && is_quic_ver_greater_than(ver_num, 27)) || (ver_num == V_T051); +} +int is_version_with_ietf_long_header(uint32_t version) +{ ...
26015
anonymous3619/vulpatch:26015-vul
ndpi
https://github.com/ntop/nDPI.git
ec2735694b4b1906658fc96dad2d5a095033559f
da47357762746c7fc5c537b575b5b56f252320a5
afl
asan
/out/fuzz_ndpi_reader /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==9079==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x71d14783b7c6 bp 0x7fff70e98af0 sp 0x7fff70e982a8 T0) ==9079==The signal is caused by a READ memory access. ==9079==Hint: this fault was caused by a dereference o...
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1281,8 +1281,8 @@ struct { char ssl_version_str[12]; u_int16_t ssl_version, server_names_len; - char client_sni_hostname[64], *server_names, - *alpn, *tls_of...
26345
anonymous3619/vulpatch:26345-vul
fluent-bit
https://github.com/fluent/fluent-bit/
d67f28b5b28253ff1d0732c79762bda2a12e207b
6f04fcb868efbd043956bf08fbdcb1bd1454f5b1
libfuzzer
asan
/out/flb-it-fuzz-parser_fuzzer_OSSFUZZ /tmp/poc
==10675==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000000818 at pc 0x0000005a6bb7 bp 0x7ffe960e9e20 sp 0x7ffe960e9e18 READ of size 8 at 0x602000000818 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x5a6bb6 in flb_parser_decoder_list_destroy /src/fluent-bit/src/flb_parser_decoder.c:...
diff --git a/src/flb_parser.c b/src/flb_parser.c --- a/src/flb_parser.c +++ b/src/flb_parser.c @@ -108,6 +108,37 @@ void **out_buf, size_t *out_size, struct flb_time *out_time); +/* + * This function is used to free all aspects of a parser + * which is provided by t...
26952
anonymous3619/vulpatch:26952-vul
wireshark
https://github.com/wireshark/wireshark.git
e1b3fb02627779f7e2c44386e65da57c320a5b40
f94f22b7f8661e1b071e69cd8c394b7cf1003bcb
libfuzzer
asan
/out/fuzzshark_ip /tmp/poc
==4125==ERROR: AddressSanitizer: attempting double-free on 0x6030000d1f80 in thread T0: SCARINESS: 42 (double-free) #0 0x524162 in free /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:127:3 #1 0x949226 in wmem_simple_free_all /src/wireshark/epan/wmem/wmem_allocator_simple.c:97:9 #2 0x94deb5 in ...
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c --- a/epan/dissectors/packet-rtps.c +++ b/epan/dissectors/packet-rtps.c @@ -11931,8 +11931,7 @@ */ if ((pktinfo->private_table != NULL) || (pktinfo->ptype != PT_TCP)) { } else { - pktinfo->private_table = g_hash_table_new_fu...
27315
anonymous3619/vulpatch:27315-vul
rdkit
https://github.com/rdkit/rdkit.git
f829c877d8fbbebb1f6b59983e4bc3ad563be9b8
c55182a8e00d7c3191e9511eb447b385102d8928
libfuzzer
ubsan
/out/mol_data_stream_to_mol_fuzzer /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==38435==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000200000000 (pc 0x0000008ddf2a bp 0x000000d4e120 sp 0x7fffabb0cdd0 T38435) ==38435==The signal is caused by a READ memory access. #0 0x8ddf2a in __dynamic_cast (/out/mol_data_stream_to_mol_fuzzer+0x8ddf2a)...
diff --git a/Code/GraphMol/RWMol.cpp b/Code/GraphMol/RWMol.cpp --- a/Code/GraphMol/RWMol.cpp +++ b/Code/GraphMol/RWMol.cpp @@ -141,12 +141,21 @@ atom_p->updateProps(*d_graph[vtx], replaceExistingData); } removeSubstanceGroupsReferencingAtom(*this, idx); - delete d_graph[vtx]; + + const auto orig_p = d_grap...
27676
anonymous3619/vulpatch:27676-vul
skia
https://skia.googlesource.com/skia.git
f77b6e6a684331bf596de10c427d34507866cda5
da1c4d2a29c7f76fade6ccbdd37e27aafb0876ca
libfuzzer
ubsan
/out/api_raster_n32_canvas /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==6432==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x00001795d0e4 (pc 0x000000654389 bp 0x7fffb307c150 sp 0x7fffb307c080 T6432) ==6432==The signal is caused by a READ memory access. #0 0x654389 in load<unsigned int __attribute__((ext_vector_type(4))), unsigned...
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -2561,7 +2561,7 @@ // returns false if the entire rectangle is entirely clipped out // If non-NULL, The imageFilter parameter will be used to expand the clip // and offscreen boun...
27678
anonymous3619/vulpatch:27678-vul
skia
https://skia.googlesource.com/skia.git
f77b6e6a684331bf596de10c427d34507866cda5
da1c4d2a29c7f76fade6ccbdd37e27aafb0876ca
libfuzzer
asan
/out/api_raster_n32_canvas /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==6432==ERROR: AddressSanitizer: SEGV on unknown address 0x631fff7f0a04 (pc 0x0000007996de bp 0x7fff64c548e0 sp 0x7fff64c54800 T0) ==6432==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0...
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -2561,7 +2561,7 @@ // returns false if the entire rectangle is entirely clipped out // If non-NULL, The imageFilter parameter will be used to expand the clip // and offscreen boun...
29081
anonymous3619/vulpatch:29081-vul
ndpi
https://github.com/ntop/nDPI.git
ec2735694b4b1906658fc96dad2d5a095033559f
da47357762746c7fc5c537b575b5b56f252320a5
libfuzzer
ubsan
/out/fuzz_process_packet /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==9033==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x0606060605fe (pc 0x7742b6c53562 bp 0x7ffea53708f0 sp 0x7ffea5370890 T9033) ==9033==The signal is caused by a READ memory access. #0 0x7742b6c53562 in free (/lib/x86_64-linux-gnu/libc.so.6+0x84562) #1 0x4...
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1281,8 +1281,8 @@ struct { char ssl_version_str[12]; u_int16_t ssl_version, server_names_len; - char requested_sni_name[64], *server_names, - *alpn, *tls_sup...
29185
anonymous3619/vulpatch:29185-vul
wolfssl
https://github.com/wolfssl/wolfssl
85faf974aad869493935f96f1e5f2f09db645f9a
5dbc6db295ba271400267625feb078fb95c00aa5
honggfuzz
asan
/out/cryptofuzz-sp-math-all /tmp/poc
==44159==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020000006f1 at pc 0x00000083544c bp 0x7fff934cc230 sp 0x7fff934cc228 WRITE of size 1 at 0x6020000006f1 thread T0 SCARINESS: 31 (1-byte-write-heap-buffer-overflow) #0 0x83544b in sp_tohex /src/wolfssl-sp-math-all/wolfcrypt/src/sp_int.c:12517:26 ...
diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -12057,7 +12057,7 @@ } if (!(err == MP_OKAY)) { } else { - + sp_clamp(nres); } return err;
29265
anonymous3619/vulpatch:29265-vul
skia
https://skia.googlesource.com/skia.git
6a718c4e909e07b3626297da342e3d2859ef8b9f
d15176dbabede810b3242a34da93af1b3d2eaa65
libfuzzer
asan
/out/skruntimeeffect /tmp/poc
==6446==ERROR: AddressSanitizer: use-after-poison on address 0x631000004f18 at pc 0x0000008a9d0e bp 0x7ffff62fa0a0 sp 0x7ffff62fa098 READ of size 8 at 0x631000004f18 thread T0 SCARINESS: 33 (8-byte-read-use-after-poison) #0 0x8a9d0d in std::__1::unique_ptr<SkSL::Expression, std::__1::default_delete<SkSL::Expression...
diff --git a/src/sksl/SkSLIRGenerator.cpp b/src/sksl/SkSLIRGenerator.cpp --- a/src/sksl/SkSLIRGenerator.cpp +++ b/src/sksl/SkSLIRGenerator.cpp @@ -1596,6 +1596,16 @@ } } +/* + * Defines the set of operators allowed by The OpenGL ES Shading Language 1.00, Section 5.1. + * The set of illegal (reserved) operators ...
29444
anonymous3619/vulpatch:29444-vul
skia
https://skia.googlesource.com/skia.git
94730febf9c56d5ee58da51db816cfcc422c986a
5878ecef2f6a20ca409cc997e7befcf05e5d431f
honggfuzz
asan
/out/skruntimeeffect /tmp/poc
==6442==ERROR: AddressSanitizer: use-after-poison on address 0x631000014b80 at pc 0x00000085de89 bp 0x7ffc0274d750 sp 0x7ffc0274d748 READ of size 4 at 0x631000014b80 thread T0 SCARINESS: 27 (4-byte-read-use-after-poison) #0 0x85de88 in SkSL::Type::isScalar() const /src/skia/out/Fuzz/../../src/sksl/ir/SkSLType.h:352...
diff --git a/src/sksl/SkSLIRGenerator.cpp b/src/sksl/SkSLIRGenerator.cpp --- a/src/sksl/SkSLIRGenerator.cpp +++ b/src/sksl/SkSLIRGenerator.cpp @@ -263,6 +263,31 @@ } } +int IRGenerator::convertArraySize(int offset, const ASTNode& s) { + if (!s) { + this->errorReporter().error(offset, "array must have ...
29451
anonymous3619/vulpatch:29451-vul
selinux
https://github.com/SELinuxProject/selinux
2d2c76fc613ba338476a3a1741c2a3af5e04d154
26a4c19ecff545324aa21eb0afbc3d10d3356313
libfuzzer
asan
/out/secilc-fuzzer /tmp/poc
==1664==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x612000000a48 at pc 0x0000005784b6 bp 0x7ffd5f35b910 sp 0x7ffd5f35b908 WRITE of size 8 at 0x612000000a48 thread T0 SCARINESS: 42 (8-byte-write-heap-buffer-overflow) #0 0x5784b5 in cil_classorder_to_policydb /src/selinux/libsepol/src/../cil/src/cil_bi...
diff --git a/libsepol/cil/src/cil_build_ast.c b/libsepol/cil/src/cil_build_ast.c --- a/libsepol/cil/src/cil_build_ast.c +++ b/libsepol/cil/src/cil_build_ast.c @@ -449,6 +449,7 @@ if (CIL_PERMS_PER_CLASS >= class->num_perms) { } else { cil_tree_log(parse_current, CIL_ERR, "Too many permissions in class '%s'", ...
29517
anonymous3619/vulpatch:29517-vul
matio
git://git.code.sf.net/p/matio/matio
2f19958fade08de870257f099d88ecc813ab623f
d8d09d579ae06114f56a1f402c82bb7344803c7e
libfuzzer
asan
/out/matio_fuzzer /tmp/poc
==20482==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x614000006788 at pc 0x000000a2f8cd bp 0x7fff934bbb10 sp 0x7fff934bbb08 READ of size 1 at 0x614000006788 thread T0 SCARINESS: 22 (1-byte-read-heap-buffer-overflow-far-from-bounds) #0 0xa2f8cc in H5O__sdspace_decode /src/hdf5-1.12.0/src/H5Osdspace.c:1...
diff --git a/src/mat73.c b/src/mat73.c --- a/src/mat73.c +++ b/src/mat73.c @@ -884,6 +884,10 @@ return MATIO_E_NO_ERROR; } + if (MAT_C_STRUCT != mat_var->class_type ) { + return MATIO_E_GENERIC_READ_ERROR; + } + /* Check if the structure defines its fields in MATLAB_fields */ if (...
29538
anonymous3619/vulpatch:29538-vul
php-src
https://github.com/php/php-src.git
141c4be70a97ea9dd99b3a80543098c677d12c1e
9862296d46013aa87b367ecd2b258fd8dd6614bf
libfuzzer
asan
/out/php-fuzz-unserializehash /tmp/poc
==67437==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000014ca0 at pc 0x000000548707 bp 0x7fffc44a0a90 sp 0x7fffc44a0258 READ of size 4294967258 at 0x603000014ca0 thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x548706 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_...
diff --git a/ext/hash/hash_xxhash.c b/ext/hash/hash_xxhash.c --- a/ext/hash/hash_xxhash.c +++ b/ext/hash/hash_xxhash.c @@ -17,6 +17,11 @@ #include "php_hash.h" #include "php_hash_xxhash.h" +static int php_hash_xxh32_unserialize( + php_hashcontext_object *hash, zend_long magic, const zval *zv); +static int php_hash...
29816
anonymous3619/vulpatch:29816-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
fdfeb753f3c14b20e33611da4a0a39d3b57a57ab
c91ed64cc5403478c2ebce420f84dd3a2a0540dd
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==1857==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6080000000f9 at pc 0x0000005bae5a bp 0x7ffc84947f50 sp 0x7ffc84947f48 READ of size 4 at 0x6080000000f9 thread T0 SCARINESS: 17 (4-byte-read-heap-buffer-overflow) #0 0x5bae59 in sw32_ /src/c-blosc2/blosc/blosc-private.h:44:13 #1 0x5bae59 in blosc...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -426,9 +426,8 @@ } } - if (*frame_len >= *header_size) { - } else { - BLOSC_TRACE_ERROR("Header length exceeds length of the frame."); + if (*header_size <= 0 || *header_size > *frame_len) { + BLOSC_TRACE_ERROR("Hea...
29849
anonymous3619/vulpatch:29849-vul
skia
https://skia.googlesource.com/skia.git
dac139abd9f2c09f3a91f904172d60fbd7fb5dc9
11a15b11818ac05b4916427932b76c3226db6d4f
libfuzzer
asan
/out/sksl2pipeline /tmp/poc
==6506==ERROR: AddressSanitizer: use-after-poison on address 0x6310000009b8 at pc 0x00000073e68e bp 0x7ffd64f99920 sp 0x7ffd64f99918 READ of size 8 at 0x6310000009b8 thread T0 SCARINESS: 33 (8-byte-read-use-after-poison) #0 0x73e68d in std::__1::unique_ptr<SkSL::Expression, std::__1::default_delete<SkSL::Expression...
diff --git a/src/sksl/SkSLIRGenerator.cpp b/src/sksl/SkSLIRGenerator.cpp --- a/src/sksl/SkSLIRGenerator.cpp +++ b/src/sksl/SkSLIRGenerator.cpp @@ -123,6 +123,38 @@ fSymbolTable = fSymbolTable->fParent; } +bool IRGenerator::detectVarDeclarationWithoutScope(const Statement& stmt) { + // Parsing an AST node con...
29947
anonymous3619/vulpatch:29947-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
c91ed64cc5403478c2ebce420f84dd3a2a0540dd
df2bff1dac30f19e4c4625af533fc46535d00e18
libfuzzer
ubsan
/out/decompress_frame_fuzzer /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==1857==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x00006a060da9 (pc 0x0000004e3354 bp 0x7ffee6bc21f0 sp 0x7ffee6bc2140 T1857) ==1857==The signal is caused by a READ memory access. #0 0x4e3354 in sw32_ /src/c-blosc2/blosc/blosc-private.h:44:13 #1 0x4e3354...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -1141,7 +1141,7 @@ int frame_get_metalayers(blosc2_frame* frame, blosc2_schunk* schunkp) { int32_t header_size; int64_t frame_bytes; - int64_t frame_pos = FRAME_IDX_SIZE; + int64_t header_pos = FRAME_IDX_SIZE; int64_t nbyt...
30250
anonymous3619/vulpatch:30250-vul
matio
git://git.code.sf.net/p/matio/matio
26a6c7177b179153f254f17f6d3b313a1e107a2f
d8d09d579ae06114f56a1f402c82bb7344803c7e
libfuzzer
asan
/out/matio_fuzzer /tmp/poc
==20481==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b000023d54 at pc 0x000000523d77 bp 0x7ffe8a04bef0 sp 0x7ffe8a04b6b8 READ of size 201326594 at 0x60b000023d54 thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x523d76 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_i...
diff --git a/src/mat.c b/src/mat.c --- a/src/mat.c +++ b/src/mat.c @@ -600,11 +600,17 @@ if (*(hid_t*)mat->fp <= -1) { } else { H5G_info_t group_desc; + herr_t herr; int important_var_probe; memset(&group_desc, 0, sizeof(group_desc)); - H5Gg...
30950
anonymous3619/vulpatch:30950-vul
skia
https://skia.googlesource.com/skia.git
84ded4d46c6916fba9bfd895ef65d757eaa54f5e
a0e56e3647859e50822b50a699b3d064b3960a4a
honggfuzz
asan
/out/skruntimeeffect /tmp/poc
==6638==ERROR: AddressSanitizer: use-after-poison on address 0x631000000978 at pc 0x00000085096f bp 0x7ffdbcb24410 sp 0x7ffdbcb24408 READ of size 8 at 0x631000000978 thread T0 SCARINESS: 33 (8-byte-read-use-after-poison) #0 0x85096e in std::__1::unique_ptr<SkSL::Expression, std::__1::default_delete<SkSL::Expression...
diff --git a/src/gpu/effects/generated/GrDitherEffect.cpp b/src/gpu/effects/generated/GrDitherEffect.cpp --- a/src/gpu/effects/generated/GrDitherEffect.cpp +++ b/src/gpu/effects/generated/GrDitherEffect.cpp @@ -36,7 +36,7 @@ uint x = uint(sk_FragCoord.x); uint y = uint(sk_FragCoord.y) ^ x; uint m = (((((...
30974
anonymous3619/vulpatch:30974-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
49357bd0cf2f48aa45117a650cbde7240098b602
e411d87705c65db2aafb0e774092fe57647fb31c
honggfuzz
asan
/out/decompress_frame_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==1835==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x0000004a0042 bp 0x7ffce3a06ac0 sp 0x7ffce3a06278 T0) ==1835==The signal is caused by a READ memory access. ==1835==Hint: this fault was caused by a dereference o...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -1030,12 +1030,13 @@ return frame->coffsets; } if (frame->cframe != NULL) { - int64_t ofs_pos; - ofs_pos = header_size + cbytes; + int64_t ofs_pos = header_size; + if (cbytes < INT64_MAX - header_size) { + ...
31065
anonymous3619/vulpatch:31065-vul
selinux
https://github.com/SELinuxProject/selinux
e13c8162656665f9ec1c76a033cae5b011b8c658
8a74c05b97050bd226d61fc162e04dcdf8e91247
libfuzzer
asan
/out/secilc-fuzzer /tmp/poc
==1620==ERROR: AddressSanitizer: heap-use-after-free on address 0x603000014cb8 at pc 0x000000615c56 bp 0x7ffe81517aa0 sp 0x7ffe81517a98 READ of size 8 at 0x603000014cb8 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x615c55 in __cil_verify_classperms /src/selinux/libsepol/src/../cil/src/cil_verify.c:...
diff --git a/libsepol/cil/src/cil_reset_ast.c b/libsepol/cil/src/cil_reset_ast.c --- a/libsepol/cil/src/cil_reset_ast.c +++ b/libsepol/cil/src/cil_reset_ast.c @@ -56,7 +56,7 @@ return; } - cil_reset_perm_list(cperm->classperms); + cil_list_destroy(&cperm->classperms, CIL_FALSE); } static void cil_reset_class...
31189
anonymous3619/vulpatch:31189-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
cb44cf0fc82cf19efb002bba0eb5cc42e9527c3f
85d3e78e5fd4f23612c13fa71c9ee1ba5c4d5894
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==1835==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xed15e56e at pc 0x08247c2e bp 0xff974ac8 sp 0xff974ac0 READ of size 4 at 0xed15e56e thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x8247c2d in sw32_ /src/c-blosc2/blosc/blosc-private.h:90:13 #1 0x8247c2d in frame_g...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -2553,28 +2553,30 @@ return ntbytes; } +int blosc2_getitem(const void* src, int32_t srcsize, int start, int nitems, void* dest, int32_t destsize) { + blosc2_context context; + int result; + + /* Minimally populate the con...
31241
anonymous3619/vulpatch:31241-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
5eff30b8b3bc8753baa98020300bddd4e158f6ad
85d3e78e5fd4f23612c13fa71c9ee1ba5c4d5894
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==1835==ERROR: AddressSanitizer: SEGV on unknown address 0xf1c0381c (pc 0x0820dc4a bp 0xffce0e08 sp 0xffce0d40 T0) ==1835==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0x820dc4a in sw32...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -2553,28 +2553,30 @@ return ucbytes; } +int blosc2_getitem(const void* src, int32_t srcsize, int start, int nitems, void* dest, int32_t destsize) { + blosc2_context context; + int result; + + /* Minimally populate the con...
31556
anonymous3619/vulpatch:31556-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
54a7337f5e0524633a700b9e4cc4d4adf2c130e4
2324c9516ee9ea321d312b28a644236aa9ee1d9d
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==1835==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf095e54e at pc 0x0820e947 bp 0xffffa008 sp 0xffffa000 READ of size 4 at 0xf095e54e thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x820e946 in sw32_ /src/c-blosc2/blosc/blosc-private.h:90:13 #1 0x820e946 in blosc_d...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -995,8 +995,7 @@ return NULL; } *off_cbytes = (int32_t)chunk_cbytes; - if ((0 <= *off_cbytes) && (*off_cbytes <= frame->len)) { - } else { + if (*off_cbytes < 0 || ofs_pos + *off_cbytes > frame->l...
31585
anonymous3619/vulpatch:31585-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
54a7337f5e0524633a700b9e4cc4d4adf2c130e4
f489cdbd0a2567e07365671618fd859a31eec4ae
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==2571==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60f000005b0d at pc 0x00000056dd70 bp 0x7ffd887b24d0 sp 0x7ffd887b24c8 READ of size 4 at 0x60f000005b0d thread T0 SCARINESS: 27 (4-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x56dd6f in sw32_ /src/c-blosc2/blosc/blosc-private.h:98:13 #1 0...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -994,8 +994,7 @@ } *off_cbytes = (int32_t)chunk_cbytes; } - if ((0 <= *off_cbytes) && (*off_cbytes <= frame->len)) { - } else { + if (*off_cbytes < 0 || ofs_pos + *off_cbytes > frame->len) { ...
31586
anonymous3619/vulpatch:31586-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
54a7337f5e0524633a700b9e4cc4d4adf2c130e4
f489cdbd0a2567e07365671618fd859a31eec4ae
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==2571==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60f0000001d5 at pc 0x0000005290f7 bp 0x7ffdfec764b0 sp 0x7ffdfec75c78 READ of size 222 at 0x60f0000001d5 thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) #0 0x5290f6 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_intercep...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -995,8 +995,7 @@ break; } *off_cbytes = (int32_t)chunk_cbytes; - if ((0 <= *off_cbytes) && (*off_cbytes <= frame->len)) { - } else { + if (*off_cbytes < 0 || ofs_pos + *off_cbytes > frame->len) ...
31591
anonymous3619/vulpatch:31591-vul
libredwg
https://github.com/LibreDWG/libredwg
bb967665384d2f2539f81d773d0c8099e6e30aa3
83a71b19797ac78eba855faa7df6908d55d2f65d
libfuzzer
asan
/out/llvmfuzz /tmp/poc
==7571==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x613000000363 at pc 0x0000009729a7 bp 0x7fff38315980 sp 0x7fff38315978 READ of size 1 at 0x613000000363 thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x9729a6 in dwg_decode_LWPOLYLINE_private /src/libredwg/src/./dwg.spec:5239:7 #1...
diff --git a/src/bits.c b/src/bits.c --- a/src/bits.c +++ b/src/bits.c @@ -57,13 +57,14 @@ const unsigned long pos = bit_position (bch); const unsigned long span_hint = bch->size; (void)span_hint; - const unsigned long maxpos = bch->size * 8; + const unsigned long maxpos = bch->size * 8 - 1; long bits = ...
31741
anonymous3619/vulpatch:31741-vul
libredwg
https://github.com/LibreDWG/libredwg
bb967665384d2f2539f81d773d0c8099e6e30aa3
83a71b19797ac78eba855faa7df6908d55d2f65d
libfuzzer
asan
/out/llvmfuzz /tmp/poc
==7879==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6060000000ba at pc 0x000000757e51 bp 0x7ffe8933ae30 sp 0x7ffe8933ae28 READ of size 1 at 0x6060000000ba thread T0 SCARINESS: 12 (1-byte-read-heap-buffer-overflow) #0 0x757e50 in dwg_decode_MINSERT_private /src/libredwg/src/./dwg.spec:840:15 #1 0x...
diff --git a/src/bits.c b/src/bits.c --- a/src/bits.c +++ b/src/bits.c @@ -59,13 +59,14 @@ { continue; } - const unsigned long maxpos = bch->size * 8; + const unsigned long maxpos = bch->size * 8 - 1; long bits = (long)bch->bit + advance; - if (maxpos < pos + advance) + if (pos + advance > maxpo...
31754
anonymous3619/vulpatch:31754-vul
skia
https://skia.googlesource.com/skia.git
d60ecb7b7f235ea42c10b239e81f5926cd4856a0
4b76265c6660d94a50cc5c492821d254a52aa21e
libfuzzer
asan
/out/api_mock_gpu_canvas /tmp/poc
==6594==ERROR: AddressSanitizer: heap-use-after-free on address 0x611000015200 at pc 0x000000d26373 bp 0x7ffdf8284470 sp 0x7ffdf8284468 READ of size 8 at 0x611000015200 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0xd26372 in GrGpuResource::release() /src/skia/out/Fuzz/../../src/gpu/GrGpuResource.cp...
diff --git a/src/shaders/SkPictureShader.cpp b/src/shaders/SkPictureShader.cpp --- a/src/shaders/SkPictureShader.cpp +++ b/src/shaders/SkPictureShader.cpp @@ -403,7 +403,7 @@ for (int junkIdx = 0; junkIdx < 0; ++junkIdx) { continue; } - if (auto proxy = proxyProv->findProxyByUniqueKey(key)) { + ...
31765
anonymous3619/vulpatch:31765-vul
skia
https://skia.googlesource.com/skia.git
cc13b3522ab662c18308d05d50bde6fddd24abba
c8e31ea399eab60bcc09e78f183c312aef709a42
honggfuzz
asan
/out/sksl2pipeline /tmp/poc
==6644==ERROR: AddressSanitizer: use-after-poison on address 0x631000000ae8 at pc 0x0000006de2bf bp 0x7ffe7e1e6890 sp 0x7ffe7e1e6888 READ of size 8 at 0x631000000ae8 thread T0 SCARINESS: 33 (8-byte-read-use-after-poison) #0 0x6de2be in std::__1::unique_ptr<SkSL::Expression, std::__1::default_delete<SkSL::Expression...
diff --git a/src/sksl/SkSLCompiler.cpp b/src/sksl/SkSLCompiler.cpp --- a/src/sksl/SkSLCompiler.cpp +++ b/src/sksl/SkSLCompiler.cpp @@ -749,6 +749,9 @@ delete_left(&b, iter, optimizationContext); break; } + + // TODO(skia:11319): this optimization logic is redund...
31901
anonymous3619/vulpatch:31901-vul
gpac
https://github.com/gpac/gpac
b03c9f252526bb42fbd1b87b9f5e339c3cf2390a
cd86adc7bda0a72736e2680831c84f6c818d0da2
libfuzzer
asan
/out/fuzz_parse /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==2694==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x000000718652 bp 0x7ffd3b6d2700 sp 0x7ffd3b6d2700 T0) ==2694==The signal is caused by a READ memory access. ==2694==Hint: this fault was caused by a dereference o...
diff --git a/src/isomedia/box_code_meta.c b/src/isomedia/box_code_meta.c --- a/src/isomedia/box_code_meta.c +++ b/src/isomedia/box_code_meta.c @@ -312,7 +312,8 @@ } for (i = 0; item_total > i; ) { - GF_ItemLocationEntry *item_loc_entry = (GF_ItemLocationEntry *)gf_malloc(sizeof(GF_ItemLocationEntry)); + GF_Item...
32040
anonymous3619/vulpatch:32040-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
f1f42afb9a7f6b554a71270e5060dc7d33b66145
f84af976e1d85953d2392dd6f27fa1886059955a
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==2553==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xe51cb883 at pc 0x085e86f4 bp 0xffcfe658 sp 0xffcfe650 WRITE of size 2 at 0xe51cb883 thread T0 SCARINESS: 43 (2-byte-write-heap-buffer-overflow-far-from-bounds) #0 0x85e86f3 in bshuf_shuffle_bit_eightelem_sse2 /src/c-blosc2/blosc/bitshuffle-sse2.c:44...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -701,6 +701,10 @@ if ((hdrptr->blocksize > 0) && (hdrptr->blocksize <= hdrptr->nbytes)) { } else { BLOSC_TRACE_ERROR("`blocksize` is zero or greater than uncompressed size"); + return BLOSC2_ERROR_INVALID_HEADER; + ...
32076
anonymous3619/vulpatch:32076-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
f84af976e1d85953d2392dd6f27fa1886059955a
8a8a941d671e76e787ab00e34ebcb19e3a58b6f4
aflpp
asan
/out/decompress_frame_fuzzer /tmp/poc
==2724==ERROR: AddressSanitizer: heap-use-after-free on address 0x62b000006cc0 at pc 0x00000049de77 bp 0x7fff3ca31290 sp 0x7fff3ca30a58 READ of size 24 at 0x62b000006cc0 thread T0 SCARINESS: 54 (multi-byte-read-heap-use-after-free) #0 0x49de76 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interceptor...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -1000,7 +1000,8 @@ // Get the compressed data offsets -uint8_t* get_coffsets(blosc2_frame_s *fr_ctx, int32_t header_len, int64_t cbytes, int32_t *off_cbytes) { +uint8_t* get_coffsets(blosc2_frame_s *fr_ctx, int32_t header_len, in...
32092
anonymous3619/vulpatch:32092-vul
selinux
https://github.com/SELinuxProject/selinux
b839e9a1cb78d67c18df8b2e75e2fa53cca74392
63ce05ba07fc3517900fac22efe1c761d856762f
libfuzzer
asan
/out/secilc-fuzzer /tmp/poc
==1620==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7cbc649667f0 at pc 0x000000628559 bp 0x7ffeec423e20 sp 0x7ffeec423e18 READ of size 8 at 0x7cbc649667f0 thread T0 SCARINESS: 33 (8-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x628558 in ebitmap_match_any /src/selinux/libsepol/src/ebitmap.c:23...
diff --git a/libsepol/cil/src/cil_copy_ast.c b/libsepol/cil/src/cil_copy_ast.c --- a/libsepol/cil/src/cil_copy_ast.c +++ b/libsepol/cil/src/cil_copy_ast.c @@ -100,15 +100,16 @@ struct cil_block *orig = data; char *sym = orig->datum.name; struct cil_symtab_datum *datum = NULL; + struct cil_block *new; cil_symt...
32140
anonymous3619/vulpatch:32140-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
e670bb4036fd7c840b1c206b8739f292346b1aa9
f84af976e1d85953d2392dd6f27fa1886059955a
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==2553==ERROR: AddressSanitizer: negative-size-param: (size=605032464) SCARINESS: 10 (negative-size-param) #0 0x81742b1 in __asan_memset /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:26:3 #1 0x81c304a in blosc_d /src/c-blosc2/blosc/blosc2.c:1535:7 #2 0x81c11e6 in _blosc_getitem ...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -696,6 +696,10 @@ if ((hdr->blocksize > 0) && (hdr->blocksize <= hdr->nbytes)) { } else { BLOSC_TRACE_ERROR("`blocksize` is zero or greater than uncompressed size"); + return BLOSC2_ERROR_INVALID_HEADER; + } + if (...
32260
anonymous3619/vulpatch:32260-vul
selinux
https://github.com/SELinuxProject/selinux
e293718f0edf553593b2f0687ea9c1294199f764
a46ade3f8f9e8bb12189b1282f798dbb59360fce
libfuzzer
ubsan
/out/secilc-fuzzer /tmp/poc
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==1671==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x70ceb78d9008 (pc 0x00000054acf2 bp 0x7fff1ba3f350 sp 0x7fff1ba3f2c0 T1671) ==1671==The signal is caused by a READ memory access. #0 0x54acf2 in is_avrule_redundant /src/selinux/libsepol/src/optimize.c:211:34...
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...
32336
anonymous3619/vulpatch:32336-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
f1f42afb9a7f6b554a71270e5060dc7d33b66145
f84af976e1d85953d2392dd6f27fa1886059955a
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==2553==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xe4f03e30 at pc 0x08174101 bp 0xffe370e8 sp 0xffe36cc8 WRITE of size 16 at 0xe4f03e30 thread T0 SCARINESS: 45 (multi-byte-write-heap-buffer-overflow) #0 0x8174100 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics...
diff --git a/blosc/blosc2.c b/blosc/blosc2.c --- a/blosc/blosc2.c +++ b/blosc/blosc2.c @@ -696,6 +696,10 @@ if ((hdrptr->blocksize > 0) && (hdrptr->blocksize <= hdrptr->nbytes)) { } else { BLOSC_TRACE_ERROR("`blocksize` is zero or greater than uncompressed size"); + return BLOSC2_ERROR_INVALID_HEADER; + ...
32356
anonymous3619/vulpatch:32356-vul
gpac
https://github.com/gpac/gpac
fe8430a3095f38a2a50ef6fd9ae04e80de18e1a5
a549f6d4ef842ac34f5474319ab4f2dcf3fed934
aflpp
asan
/out/fuzz_parse /tmp/poc
==2668==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000000068 at pc 0x0000008e509a bp 0x7ffd96a476d0 sp 0x7ffd96a476c8 READ of size 8 at 0x604000000068 thread T0 SCARINESS: 51 (8-byte-read-heap-use-after-free) #0 0x8e5099 in gf_isom_box_del /src/gpac/src/isomedia/box_funcs.c:1812:19 #1 0x8e6aeb...
diff --git a/src/isomedia/box_funcs.c b/src/isomedia/box_funcs.c --- a/src/isomedia/box_funcs.c +++ b/src/isomedia/box_funcs.c @@ -1737,6 +1737,10 @@ } else { GF_LOG(GF_LOG_WARNING, GF_LOG_CONTAINER, ("[iso file] Box \"%s\" is larger than container box\n", gf_4cc_to_str(bx->type))); } + if (!gf_opts_get_...
32604
anonymous3619/vulpatch:32604-vul
libredwg
https://github.com/LibreDWG/libredwg
85b1abf3aad0add9336c5876ea892013aa63e4e6
02e5fad125ea394278705460492b05f8d254bc70
libfuzzer
asan
/out/llvmfuzz /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==7263==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x00000100d573 bp 0x7ffd57673fb0 sp 0x7ffd57673f80 T0) ==7263==The signal is caused by a READ memory access. ==7263==Hint: this fault was caused by a dereference o...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -8979,33 +8979,38 @@ ctrl = &dwg->object[ctrl_id]; { + const Dwg_DYNAPI_field *f1; BITCODE_B is_xref_ref = 1; // set defaults not in dxf: if (dwg_dynapi_entity_field (obj->name, "is_xref_ref")) dwg_dynapi_...
32675
anonymous3619/vulpatch:32675-vul
selinux
https://github.com/SELinuxProject/selinux
8a74c05b97050bd226d61fc162e04dcdf8e91247
ea34dbf041f0c75f2b0261ddf6fa014121d69a1a
libfuzzer
asan
/out/secilc-fuzzer /tmp/poc
==1620==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x786cc3fa87f0 at pc 0x000000627cf9 bp 0x7ffdb58f58c0 sp 0x7ffdb58f58b8 READ of size 8 at 0x786cc3fa87f0 thread T0 SCARINESS: 33 (8-byte-read-heap-buffer-overflow-far-from-bounds) #0 0x627cf8 in ebitmap_match_any /src/selinux/libsepol/src/ebitmap.c:23...
diff --git a/libsepol/cil/src/cil_build_ast.c b/libsepol/cil/src/cil_build_ast.c --- a/libsepol/cil/src/cil_build_ast.c +++ b/libsepol/cil/src/cil_build_ast.c @@ -52,6 +52,7 @@ struct cil_tree_node *tunif; struct cil_tree_node *in; struct cil_tree_node *macro; + struct cil_tree_node *optional; struct cil_tree_n...
33059
anonymous3619/vulpatch:33059-vul
libredwg
https://github.com/LibreDWG/libredwg
0880ca6688895e79c3672ea4bce906039bca744e
3548f29b979b8b73fc2ea86bbb641711fa924145
libfuzzer
asan
/out/llvmfuzz /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==7372==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x0000004a5834 bp 0x000000000000 sp 0x7fff87ca4560 T0) ==7372==The signal is caused by a READ memory access. ==7372==Hint: this fault was caused by a dereference o...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -1251,6 +1251,7 @@ dwg->summaryinfo.props = (Dwg_SummaryInfo_Property*)realloc (dwg->summaryinfo.props, (var_1 + 1) * sizeof (Dwg_SummaryInfo_Property)); + ...
33554
anonymous3619/vulpatch:33554-vul
wasm3
https://github.com/wasm3/wasm3
7db4a5c3b47db9a1f7f0a61c57a8dc72f7425462
79d412ea5fcf92f0efe658d52827a0e0a96ff442
honggfuzz
asan
/out/fuzzer /tmp/poc
==223==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60d0000000d0 at pc 0x00000050a9d5 bp 0x7ffe0e585dd0 sp 0x7ffe0e585dc8 WRITE of size 8 at 0x60d0000000d0 thread T0 SCARINESS: 42 (8-byte-write-heap-buffer-overflow) #0 0x50a9d4 in op_Const64 /src/wasm3/source/./m3_exec.h:1253:16 #1 0x4e7f97 in Run...
diff --git a/source/m3_compile.c b/source/m3_compile.c --- a/source/m3_compile.c +++ b/source/m3_compile.c @@ -329,10 +329,8 @@ static inline void TouchSlot (IM3Compilation c, u16 slot_i) { - if (!(c->function)) { - } else { - RaiseMaxStackSlots (c, slot_i); - } + // op_Entry uses this value to ...
33682
anonymous3619/vulpatch:33682-vul
wasm3
https://github.com/wasm3/wasm3
bc32ee0367d6736edd41c4d94b96cca5d096aaa8
f81f4da5a868544298e76cd621c96f82eaa8d26a
libfuzzer
asan
/out/fuzzer /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==407==ERROR: AddressSanitizer: SEGV on unknown address 0x2000000000000 (pc 0x7f7f9c5857c6 bp 0x7ffcbad21229 sp 0x7ffcbad209e1 T0) ==407==The signal is caused by a READ memory access. SCARINESS: 20 (wild-addr-read) #0 0x...
diff --git a/source/m3_compile.c b/source/m3_compile.c --- a/source/m3_compile.c +++ b/source/m3_compile.c @@ -1121,7 +1121,10 @@ continue; } - M3Compiler compiler = GetOpInfo (i_extOpcode)->compiler; + const M3OpInfo* opinfo = GetOpInfo (i_extOpcode); + _throwif (m3Err_unknownOpcode, not opinf...
34259
anonymous3619/vulpatch:34259-vul
c-blosc2
https://github.com/Blosc/c-blosc2.git
ac7b9359e84d796bfb1ff1fd3f7c9eaf9a506799
9bb5304afa621babb22330ff55dbdf5fa0651006
libfuzzer
asan
/out/decompress_frame_fuzzer /tmp/poc
==2930==ERROR: AddressSanitizer: negative-size-param: (size=2147483647) SCARINESS: 10 (negative-size-param) #0 0x81728b4 in __asan_memcpy /src/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:22:3 #1 0x81fcb0c in get_vlmeta_from_trailer /src/c-blosc2/blosc/frame.c:1482:5 #2 0x81fcb0c in...
diff --git a/blosc/frame.c b/blosc/frame.c --- a/blosc/frame.c +++ b/blosc/frame.c @@ -419,12 +419,10 @@ } if (!(itemsize == NULL)) { from_big(itemsize, framep + FRAME_TYPESIZE, sizeof(*itemsize)); - } - - if ((FRAME_HEADER_MINLEN <= *header_len) && (*header_len <= *frame_len)) { - } else { - BLOSC_TRA...
34766
anonymous3619/vulpatch:34766-vul
libredwg
https://github.com/LibreDWG/libredwg
78ffe2a4064935824b274d38cae3429c940bdc0b
dd9cf871b8db719826dc6c71e9e0951918bde2e8
libfuzzer
asan
/out/llvmfuzz /tmp/poc
AddressSanitizer:DEADLYSIGNAL ================================================================= ==8418==ERROR: AddressSanitizer: SEGV on unknown address 0x601ffffffff0 (pc 0x0000004a5854 bp 0x000000000000 sp 0x7ffff5b80c00 T0) ==8418==The signal is caused by a WRITE memory access. SCARINESS: 30 (wild-addr-write) #0...
diff --git a/src/in_dxf.c b/src/in_dxf.c --- a/src/in_dxf.c +++ b/src/in_dxf.c @@ -11943,8 +11943,8 @@ LOG_TRACE ("%s.handle = (0.%d.%lx)\n", ctrl->name, ctrl->handle.size, ctrl->handle.value); } - if (!(_cntrl)) { - } else { + ...