issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"libming",
"libming"
] | Hi ,I use static analysis tool to find a vulnerable func similar to [readSBits(util/read.c)](https://github.com/libming/libming/commit/9141f1df0d6ecb84f298633ba03569bbf5c842d0).
Just similar to commit [9141f1d](https://github.com/libming/libming/commit/9141f1df0d6ecb84f298633ba03569bbf5c842d0),in func getsbits (src/... | Similar to CVE-2018-5294,left shift of a negative value in getsbits,src/blocks/fromswf.c:158 | https://api.github.com/repos/libming/libming/issues/214/comments | 0 | 2020-12-02T13:06:46Z | 2020-12-02T13:10:51Z | https://github.com/libming/libming/issues/214 | 755,258,136 | 214 |
[
"libming",
"libming"
] | Hi ,I use static analysis tool to find a vulnerable func similar to [readMovie(util/main.c)](https://github.com/libming/libming/commit/7fed314748be817c7ded84854acb649786625cb6)
Just similar to commit [7fed314](https://github.com/libming/libming/commit/7fed314748be817c7ded84854acb649786625cb6),in func parseSWF_DEFINE... | Similar to CVE-2017-11704 ,Integer overflow in function parseSWF_DEFINESPRITE,util/parser.c:2302 | https://api.github.com/repos/libming/libming/issues/213/comments | 0 | 2020-12-02T10:22:48Z | 2020-12-02T10:22:48Z | https://github.com/libming/libming/issues/213 | 755,141,212 | 213 |
[
"libming",
"libming"
] | Hi ,I use static analysis tool to find a vulnerable func similar to [readString(util/read.c)](https://github.com/libming/libming/commit/befb7439c2cf4768bcca09651d6325e8f078e992)
Just similar to commit [befb74](https://github.com/libming/libming/commit/befb7439c2cf4768bcca09651d6325e8f078e992),in func readString (src... | Similar to CVE-2017-8782,Integer overflow in function readString,src/actioncompiler/listaction.c:103 | https://api.github.com/repos/libming/libming/issues/212/comments | 0 | 2020-12-02T09:29:57Z | 2020-12-02T09:29:57Z | https://github.com/libming/libming/issues/212 | 755,101,489 | 212 |
[
"libming",
"libming"
] | Just similar to commit [befb74](https://github.com/libming/libming/commit/befb7439c2cf4768bcca09651d6325e8f078e992),in func readSizedString() (util/read.c) ,there should be a check to avoid buflen integer overflow before line 397. What's more ,there should be a check for buf which is initialized in line 389 in case o... | Similar to CVE-2017-8782,Integer overflow in function readSizedString,util/read.c:397 | https://api.github.com/repos/libming/libming/issues/211/comments | 1 | 2020-12-02T09:21:25Z | 2020-12-02T09:32:28Z | https://github.com/libming/libming/issues/211 | 755,095,005 | 211 |
[
"libming",
"libming"
] | Hi, there.
There is a buffer write in the newest master branch 04aee52 which could cause a denial of service or arbitrary code execution.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC (unzip first):
[overwrite-decompile105.zip](https://github.com/libming/libming/files/5182986/overwrite-decompil... | buffer overwrite in deputs, decompile.c:105 | https://api.github.com/repos/libming/libming/issues/209/comments | 1 | 2020-09-07T12:03:10Z | 2020-09-07T12:04:57Z | https://github.com/libming/libming/issues/209 | 695,031,690 | 209 |
[
"libming",
"libming"
] | Hi, there.
There is a buffer write in the newest master branch 04aee52 which causes a denial of service or arbitrary code execution.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[overwrite-decompile2924.zip](https://github.com/libming/libming/files/5148435/overwrite-decompile2924.zip)
... | Stack buffer overwrite in decompileDEFINEFUNCTION, decompile.c:2924 | https://api.github.com/repos/libming/libming/issues/208/comments | 0 | 2020-08-31T05:20:55Z | 2020-08-31T05:20:55Z | https://github.com/libming/libming/issues/208 | 688,907,178 | 208 |
[
"libming",
"libming"
] | Hi, there.
There is a buffer overflow in the newest master branch 04aee52 which make the memory writable for the adversary.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[overflow-decompile116.zip](https://github.com/libming/libming/files/5127852/overflow-decompile116.zip)
Here is the... | Buffer overwrite in dcputchar, decompile.c:116 | https://api.github.com/repos/libming/libming/issues/207/comments | 0 | 2020-08-26T05:54:22Z | 2020-08-26T05:54:22Z | https://github.com/libming/libming/issues/207 | 686,029,337 | 207 |
[
"libming",
"libming"
] | Hi, there.
There is a buffer overflow in the newest master branch 04aee52 which related to incomplete fix of CVE-2019-9114 mentioned in issue #170.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[overflow-decompiler259-20199114.zip](https://github.com/libming/libming/files/5123322/overflow-deco... | Incomplete fix of buffer overflow in strcpyext, decompile.c:259 | https://api.github.com/repos/libming/libming/issues/206/comments | 2 | 2020-08-25T11:03:54Z | 2020-08-31T05:23:17Z | https://github.com/libming/libming/issues/206 | 685,390,569 | 206 |
[
"libming",
"libming"
] | Hi, there.
There is a buffer overflow in the newest master branch 04aee52 which causes a huge memory information leakage.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[overflow-decompiler751.zip](https://github.com/libming/libming/files/5123287/overflow-decompiler751.zip)
Here is the r... | Buffer overflow in newVar_N, decompile.c:751 | https://api.github.com/repos/libming/libming/issues/205/comments | 0 | 2020-08-25T10:55:36Z | 2020-08-25T10:55:36Z | https://github.com/libming/libming/issues/205 | 685,385,426 | 205 |
[
"libming",
"libming"
] | Hi, there.
There is a buffer overflow in the newest master branch 04aee52.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[overflow-decompiler2516.zip](https://github.com/libming/libming/files/5123238/overflow-decompiler2516.zip)
Here is the reproduce trace reported by ASAN:
~~~~
==16585... | Buffer overflow in decompileIF, decompile.c:2516 | https://api.github.com/repos/libming/libming/issues/204/comments | 0 | 2020-08-25T10:45:49Z | 2020-08-25T10:45:49Z | https://github.com/libming/libming/issues/204 | 685,379,611 | 204 |
[
"libming",
"libming"
] | Hi, there.
There is a segmentation fault in the newest master branch 04aee52.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[seg-decompile1640.zip](https://github.com/libming/libming/files/5123144/seg-decompile1640.zip)
Here is the reproduce trace reported by ASAN:
~~~~
==79767==ERROR: ... | Segmentation fault in function decompileINCR_DECR, decompile.c 1640 | https://api.github.com/repos/libming/libming/issues/203/comments | 0 | 2020-08-25T10:33:55Z | 2020-08-25T10:33:55Z | https://github.com/libming/libming/issues/203 | 685,372,287 | 203 |
[
"libming",
"libming"
] | Hi, there.
There is a segmentation fault in the newest master branch 04aee52.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[seg-decompile380.zip](https://github.com/libming/libming/files/5118100/seg-decompile380.zip)
Here is the reproduce trace reported by ASAN:
~~~~
==187067==ERROR: A... | Segmentation fault in function getString, decompile.c:380 | https://api.github.com/repos/libming/libming/issues/202/comments | 1 | 2020-08-24T13:33:55Z | 2020-08-24T14:49:29Z | https://github.com/libming/libming/issues/202 | 684,675,767 | 202 |
[
"libming",
"libming"
] | Hi, there.
There is a segmentation fault in the newest master branch 04aee52.
Here is the reproducing command:
~~~~
swftophp poc
~~~~
POC:
[seg-decompile457.zip](https://github.com/libming/libming/files/5118022/seg-decompile457.zip)
Here is the reproduce trace reported by ASAN:
~~~~
==19422==ERROR: Addr... | Segmentation fault in function getName, decompile.c:457 | https://api.github.com/repos/libming/libming/issues/201/comments | 0 | 2020-08-24T13:27:16Z | 2020-08-24T13:30:07Z | https://github.com/libming/libming/issues/201 | 684,668,891 | 201 |
[
"libming",
"libming"
] | Hi there.
It seems there are potential memory leak in parserSWF_MORPHFILLSTYLES (parser.c:827) and parseSWF_SHAPE (parser.c:845) on the newest master branch 04aee52363688426eab74f5d618.
<img width="1009" alt="image" src="https://user-images.githubusercontent.com/7632714/91017887-6588e100-e621-11ea-8868-20d1c6ea7b4c... | Memory leak in parser.c:827 and 845 | https://api.github.com/repos/libming/libming/issues/200/comments | 0 | 2020-08-24T07:58:07Z | 2020-08-24T08:35:47Z | https://github.com/libming/libming/issues/200 | 684,454,972 | 200 |
[
"libming",
"libming"
] |
CC=clang CXX=clang++ CFLAGS="-g -O0 " CXXFLAGS="-g -O0 " ./configure --prefix=$(dirname ${BIN_PATH})/libming/SRC/build --disable-shared
make install
./src/.libs/libming.a(swf4compiler.tab.o):/home/bao00065/AFL/evaluation/BUILD/libming/SRC/src/actioncompiler/swf4compiler.tab.c:1490: multiple definition of `swf4deb... | Failed to compile libming with clang | https://api.github.com/repos/libming/libming/issues/199/comments | 0 | 2020-07-30T22:34:40Z | 2020-07-30T22:34:40Z | https://github.com/libming/libming/issues/199 | 669,252,685 | 199 |
[
"libming",
"libming"
] | ./swftocxx $poc
[segmentaion_fault_decompile_569-out_of_bound-idx:0x1186-0x10.zip](https://github.com/libming/libming/files/4490668/segmentaion_fault_decompile_569-out_of_bound-idx.0x1186-0x10.zip)
```
root@ubuntu:/home/tim/libming/util# ../../libming-asan/util/swftocxx overflows/segmentaion_fault_decompile_56... | heap overflow in decompileIF decompile.c:2436 | https://api.github.com/repos/libming/libming/issues/197/comments | 0 | 2020-04-17T02:50:13Z | 2020-04-17T02:50:13Z | https://github.com/libming/libming/issues/197 | 601,663,990 | 197 |
[
"libming",
"libming"
] | ./swftocxx $poc
[segmentaion_fault_decompile_569-out_of_bound-idx:0x1199-0xb.zip](https://github.com/libming/libming/files/4490660/segmentaion_fault_decompile_569-out_of_bound-idx.0x1199-0xb.zip)
```
root@ubuntu:/home/tim/libming/util# ../../libming-asan/util/swftocxx overflows/segmentaion_fault_decompile_56... | heap overflow in decompileIF decompile.c:2473 | https://api.github.com/repos/libming/libming/issues/196/comments | 0 | 2020-04-17T02:47:07Z | 2020-04-17T02:47:07Z | https://github.com/libming/libming/issues/196 | 601,663,070 | 196 |
[
"libming",
"libming"
] | ./swftoperl POC.zip
poc:[POC.zip](https://github.com/libming/libming/files/4422326/POC.zip)
```c
$m->add(new SWF::InitAction(*** buffer overflow detected ***: ../../../SRC/build/bin/swftoperl terminated
[2] 7511 abort sudo ../../../SRC/build/bin/swftoperl -v swf/samples/bubblewrap.swf
```
ASAN log
```c... | heap-buffer-overflow in getString at decompile.c:362 | https://api.github.com/repos/libming/libming/issues/195/comments | 0 | 2020-04-02T16:43:09Z | 2020-04-02T16:43:46Z | https://github.com/libming/libming/issues/195 | 592,771,607 | 195 |
[
"libming",
"libming"
] | I found a memory leaks in util/read.c
commit : 5009802
version : Ubuntu 18.04.3 LTS
How to reproduce:
$ ./listswf -v POC.zip
[POC.zip](https://github.com/libming/libming/files/4413606/POC.zip)
Asan log
```C
Direct leak of 67354 byte(s) in 55 object(s) allocated from:
#0 0x4da230 in malloc /mnt/d... | memory leaks in util/read.c | https://api.github.com/repos/libming/libming/issues/194/comments | 1 | 2020-04-01T07:55:30Z | 2020-04-01T10:41:12Z | https://github.com/libming/libming/issues/194 | 591,704,671 | 194 |
[
"libming",
"libming"
] | I found a heap-buffer-overflow in dcputs at decompile.c:105
How to reproduce:
`$ swftocxx $PoC`
Version : 0.4.8
commit 50098023446a5412efcfbd40552821a8cba983a6
[PoC](https://github.com/SuhwanSong/PoC/blob/master/libming/heap_dcputs)
Asan log
```
==22645==ERROR: AddressSanitizer: heap-buffer-overflow on addr... | heap-buffer-overflow in dcputs at decompile.c:105 | https://api.github.com/repos/libming/libming/issues/192/comments | 0 | 2020-02-24T15:10:50Z | 2020-02-24T15:10:50Z | https://github.com/libming/libming/issues/192 | 569,919,553 | 192 |
[
"libming",
"libming"
] | export ASAN_OPTIONS=allocator_may_return_null=1
./swftopython $poc
[segmentaion_fault_decompile_569-use_after_free-idx:0x1365-0x2.zip](https://github.com/libming/libming/files/4028582/segmentaion_fault_decompile_569-use_after_free-idx.0x1365-0x2.zip)
asan output
```
root@ubuntu:/home/tim/libming/util# export ASA... | heap overflow in decompile_SWITCH | https://api.github.com/repos/libming/libming/issues/191/comments | 0 | 2020-01-07T01:51:41Z | 2020-01-07T01:51:41Z | https://github.com/libming/libming/issues/191 | 546,033,507 | 191 |
[
"libming",
"libming"
] | swftophp $poc
[libming_decompile762poc-out_of_mem-idx:0xfcd-0x0.zip](https://github.com/libming/libming/files/4028435/libming_decompile762poc-out_of_mem-idx.0xfcd-0x0.zip)
asan output
```
root@ubuntu:/home/tim/libming/util# ../../asan/libming/util/swftophp overflows/libming_decompile762poc-out_of_mem-idx\:0xf... | null pointer reference in decompileGETURL2 | https://api.github.com/repos/libming/libming/issues/190/comments | 0 | 2020-01-07T00:53:16Z | 2020-01-07T00:53:16Z | https://github.com/libming/libming/issues/190 | 546,016,991 | 190 |
[
"libming",
"libming"
] | There are several memory leaks in decompile.c as follows:
```
==48795==ERROR: LeakSanitizer: detected memory leaks
...
SUMMARY: AddressSanitizer: 613842280 byte(s) leaked in 37014 allocation(s).
```
They seems to be similar with issue #119(CVE-2018-7869), but I found there also exists a crash. **Member pointer... | Improper boundary checks in decompileSETTARGET() in decompile.c | https://api.github.com/repos/libming/libming/issues/189/comments | 1 | 2019-11-29T09:06:32Z | 2020-11-26T11:11:41Z | https://github.com/libming/libming/issues/189 | 530,231,921 | 189 |
[
"libming",
"libming"
] | In decomile.c:762, newVar_N2():
```C
while ( strlen(v->p.String)+ 3 + strlen(pops1)+ strlen(pops2) +slen >= psize)
```
In fact, this is a similar bug with [#187](https://github.com/libming/libming/issues/187).
A heap address with content 0 from ``pop()`` was passede to ``getName()``, and ``getName()`` just retu... | Null pointer dereference in newVar_N2 (decompile.c:762) | https://api.github.com/repos/libming/libming/issues/188/comments | 0 | 2019-11-27T04:33:11Z | 2019-11-29T14:00:55Z | https://github.com/libming/libming/issues/188 | 529,108,868 | 188 |
[
"libming",
"libming"
] | In decomile.c:583, newVar5():
```C
v->p.String = malloc(strlen(var)+strlen(var2)+strlen(var3)+strlen(var4)+strlen(var5)+1);
```
More specifically, ``decompileGETPROPERTY()`` passed a heap address with content 0 to ``getName()``, and ``getName()`` just return 0. However, ``decompileGETPROPERTY()`` didn't check the r... | Null pointer dereference in newVar5 (decompile.c:583) | https://api.github.com/repos/libming/libming/issues/187/comments | 0 | 2019-11-26T05:11:38Z | 2020-01-06T11:58:47Z | https://github.com/libming/libming/issues/187 | 528,492,181 | 187 |
[
"libming",
"libming"
] | ./swftocxx $POC
[poc1.zip](https://github.com/libming/libming/files/3856699/poc1.zip)
```
root@ubuntu:/home/tim/asan/libming/util# ./swftocxx crashes/008-heap-over-swf-out_of_bound-idx\:0x1329-0x1
header indicates a filesize of 522 but filesize is 2748
#include <mingpp.h>
main(){
SWFMovie* m = new SWFMo... | heapoverflow in decompile.c:440 | https://api.github.com/repos/libming/libming/issues/186/comments | 0 | 2019-11-18T03:38:55Z | 2019-11-18T03:38:55Z | https://github.com/libming/libming/issues/186 | 524,115,692 | 186 |
[
"libming",
"libming"
] | ./swftocxx $POC
[poc.zip](https://github.com/libming/libming/files/3856669/poc.zip)
asan output
```
root@ubuntu:/home/tim/asan/libming/util# ./swftocxx crashes/008-heap-over-swf-out_of_bound-idx\:0x1341-0x0
header indicates a filesize of 522 but filesize is 2748
#include <mingpp.h>
main(){
SWFMovie* m = ... | Heapoverflow in decompile.c:370 | https://api.github.com/repos/libming/libming/issues/185/comments | 0 | 2019-11-18T03:27:47Z | 2019-11-18T03:27:47Z | https://github.com/libming/libming/issues/185 | 524,112,693 | 185 |
[
"libming",
"libming"
] | ==28990==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 168 byte(s) in 7 object(s) allocated from:
#0 0x7fcbc87082d0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xee2d0)
#1 0x7fcbc83e030d in newSWFSolidFillStyle (/usr/lib/libming.so.1+0x3030d)
SUMMARY: AddressSanitizer: 1... | memory allocated by newSWFSolidFillStyle is leaked | https://api.github.com/repos/libming/libming/issues/182/comments | 0 | 2019-07-22T15:19:31Z | 2019-07-22T15:19:31Z | https://github.com/libming/libming/issues/182 | 471,156,595 | 182 |
[
"libming",
"libming"
] | POC:
[POC.zip](https://github.com/libming/libming/files/3341652/POC.zip)
Reproduce:
`listswf $POC`
```
AddressSanitizer:DEADLYSIGNAL
=================================================================
==12691==ERROR: AddressSanitizer: stack-overflow on address 0x7ffcbf939fe8 (pc 0x0000005bdd62 bp 0x7ffcbf93a... | AddressSanitizer: stack-overflow on parseSWF_ACTIONRECORD function | https://api.github.com/repos/libming/libming/issues/181/comments | 0 | 2019-06-29T08:15:52Z | 2019-06-29T08:15:52Z | https://github.com/libming/libming/issues/181 | 462,279,420 | 181 |
[
"libming",
"libming"
] | Would be nice to have a new release with all of these security fixes... | Please issue a new release | https://api.github.com/repos/libming/libming/issues/180/comments | 1 | 2019-03-24T21:33:45Z | 2019-09-22T18:42:44Z | https://github.com/libming/libming/issues/180 | 424,662,804 | 180 |
[
"libming",
"libming"
] | # Description
An out of bound read was found in function OpCode(file util/decompile.c 957).
# Details:
```
==30829==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61400000f5d0 at pc 0x000000413ddb bp 0x7ffeb39e6460 sp 0x7ffeb39e6450
READ of size 1 at 0x61400000f5d0 thread T0
#0 0x413dda in OpC... | Heap Buffer Overflow (OOB Read) in function OpCode decompile.c 957 | https://api.github.com/repos/libming/libming/issues/178/comments | 0 | 2019-02-28T08:05:46Z | 2019-08-29T09:18:26Z | https://github.com/libming/libming/issues/178 | 415,495,144 | 178 |
[
"libming",
"libming"
] | Building and using the python extension with python3 fails. Apart from fixing detection in `configure` ([macros/python.m4](https://github.com/libming/libming/blob/master/macros/python.m4)), it's also necessary to port ([py_ext/ming.py](https://github.com/libming/libming/blob/master/py_ext/ming.py)) to python3 (`2to3` w... | python3 support | https://api.github.com/repos/libming/libming/issues/177/comments | 1 | 2019-02-25T10:52:41Z | 2020-09-12T02:54:29Z | https://github.com/libming/libming/issues/177 | 414,045,139 | 177 |
[
"libming",
"libming"
] | Hi,
I found a stack-buffer-overflow at line 411 of makeswf.c.
Here are the details:
```
$ ./makeswf -o $(printf "%0.sa" {1..5000}) a
Output file name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... | stack-buffer-overflow in makeswf.c:411 | https://api.github.com/repos/libming/libming/issues/176/comments | 0 | 2019-02-18T03:35:34Z | 2019-02-18T04:11:56Z | https://github.com/libming/libming/issues/176 | 411,288,152 | 176 |
[
"libming",
"libming"
] | Hi, I found a null pointer dereference in function decompileINCR_DECR at util/decompile.c:1597 on the latest master (5009802).
The details are as follows:
`==17334==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x0000004161cf bp 0x7fff4e703770 sp 0x7fff4e703730 T0)
#0 0x4161ce in decompil... | Null pointer dereference in decompileINCR_DECR (util/decompile.c:1597) | https://api.github.com/repos/libming/libming/issues/175/comments | 0 | 2019-02-11T06:11:27Z | 2019-02-11T06:11:27Z | https://github.com/libming/libming/issues/175 | 408,646,284 | 175 |
[
"libming",
"libming"
] | Hi, I found a heap buffer overflow in function getName at util/compile.c:455 on the latest master (5009802).
The details are as follows:
`==18470==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000efb8 at pc 0x000000411bef bp 0x7ffe69a3aaa0 sp 0x7ffe69a3aa90
READ of size 8 at 0x60200000efb8 thread T... | Heap-buffer-overflow in getName(util/decompile.c:455) | https://api.github.com/repos/libming/libming/issues/174/comments | 0 | 2019-02-11T05:55:26Z | 2019-02-11T05:56:48Z | https://github.com/libming/libming/issues/174 | 408,643,645 | 174 |
[
"libming",
"libming"
] | version: master(**commit 50098023446a5412efcfbd40552821a8cba983a6**)
command: **listswf $FILE**
OS: **Ubuntu 16.04.4 LTS 64bit**
```
$ ./install-asan/bin/listswf poc>/dev/null
header indicates a filesize of 808464488 but filesize is 430
Stream out of sync after parse of blocktype 24 (SWF_PROTECT). 33 but expec... | Memory allocation failure in parseSWF_ACTIONRECORD (parser.c: 1142), different from #109 | https://api.github.com/repos/libming/libming/issues/173/comments | 2 | 2019-01-17T09:18:12Z | 2019-03-09T02:21:40Z | https://github.com/libming/libming/issues/173 | 400,178,750 | 173 |
[
"libming",
"libming"
] | version: master(**commit 50098023446a5412efcfbd40552821a8cba983a6**)
command: **listswf $FILE**
OS: **Ubuntu 16.04.4 LTS 64bit**
```
$ ./install-asan/bin/listswf poc >/dev/null
header indicates a filesize of 1995 but filesize is 1916
==19625==WARNING: AddressSanitizer failed to allocate 0xfffffffffffffffe bytes... | Memory allocation failure in readBytes (read.c:252) | https://api.github.com/repos/libming/libming/issues/172/comments | 2 | 2019-01-17T09:17:38Z | 2019-03-09T02:21:54Z | https://github.com/libming/libming/issues/172 | 400,178,531 | 172 |
[
"libming",
"libming"
] | A null pointer dereference was found in function getString() (decompile.c line 381)
Details is as below:
```
ASAN:SIGSEGV
=================================================================
==30834==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000411266 bp 0x7ffd28773620 sp 0x7ffd287735... | Null pointer dereference in getString (decompile.c 381) | https://api.github.com/repos/libming/libming/issues/171/comments | 1 | 2019-01-02T06:33:17Z | 2019-03-01T14:19:12Z | https://github.com/libming/libming/issues/171 | 395,159,602 | 171 |
[
"libming",
"libming"
] | An Out Of Bound Write bug was found in function strcpyext() in decompile.c .
Details with asan output is as below:
```
==30836==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000ee18 at pc 0x000000410767 bp 0x7fff7361f360 sp 0x7fff7361f350
WRITE of size 1 at 0x60300000ee18 thread T0
#0 0x410... | Out Of Bound Write in function strcpyext() | https://api.github.com/repos/libming/libming/issues/170/comments | 1 | 2019-01-02T06:25:41Z | 2019-03-01T14:19:41Z | https://github.com/libming/libming/issues/170 | 395,158,669 | 170 |
[
"libming",
"libming"
] | I found a a heap-buffer-overflow problem in function writePNG in file ./util/dbl2png.c:234.
[poc.zip](https://github.com/libming/libming/files/2714649/poc.zip)
./debug/bin/dbl2png --verbose in2.dbl out.png
image data RGB
outsize=1605
size 65535 x 33023
unpacked data size t=1600 byte
channel count=3
Segment... | a heap-buffer-overflow problem in function writePNG in file ./util/dbl2png.c:234 | https://api.github.com/repos/libming/libming/issues/169/comments | 1 | 2018-12-28T10:35:44Z | 2019-01-07T16:23:12Z | https://github.com/libming/libming/issues/169 | 394,605,758 | 169 |
[
"libming",
"libming"
] | Hi, there.
A Heap-buffer-overflow problem was discovered in decompileJUMP function in util/decompile.c of libming v0.4.8. This problem can be reproduced in the latest code base, too. A crafted input can cause segment faults and I have confirmed them with address sanitizer too.
Here is the POC file. Please use the... | Heap-buffer-overflow problem in decompileJUMP function in util/decompile.c of libming v0.4.8 | https://api.github.com/repos/libming/libming/issues/168/comments | 0 | 2018-12-20T07:03:46Z | 2018-12-20T07:03:46Z | https://github.com/libming/libming/issues/168 | 392,916,628 | 168 |
[
"libming",
"libming"
] | There is a SEGV in util/decompile.c:1651 at libming HEAD (a89a619). A crafted input will lead to denial of service attack.
Steps to Reproduce:
#./swftocxx POC_C6 /dev/null
POC File: https://github.com/puppet-meteor/swftocxx_POC/blob/master/POC_C6
Information from addresssanitizer:
```
ASAN:SIGSEGV
==... | a SEGV in util/decompile.c:1651 | https://api.github.com/repos/libming/libming/issues/166/comments | 0 | 2018-11-03T13:16:06Z | 2018-11-03T13:16:06Z | https://github.com/libming/libming/issues/166 | 377,053,607 | 166 |
[
"libming",
"libming"
] | There is a SEGV in util/decompile.c:726 at libming HEAD (a89a619). A crafted input will lead to denial of service attack.
Steps to Reproduce:
#./swftocxx POC_C79 /dev/null
POC File: https://github.com/puppet-meteor/swftocxx_POC/blob/master/POC_C79
Information from addresssanitizer:
```
ASAN:SIGSEGV
=... | SEGV in util/decompile.c:726 | https://api.github.com/repos/libming/libming/issues/165/comments | 0 | 2018-11-03T13:12:55Z | 2018-11-03T13:12:55Z | https://github.com/libming/libming/issues/165 | 377,053,348 | 165 |
[
"libming",
"libming"
] | A null pointer dereference bug was found in function getInt (decompile.c 477)
This is not the same issue with #133
```
Program received signal SIGSEGV, Segmentation fault.
0x0000000000408606 in getInt (act=0x0) at decompile.c:477
477 switch( act->Type )
(gdb) p act->Type
Cannot access memory a... | Null pointer dereference in getInt (decompile.c 477) | https://api.github.com/repos/libming/libming/issues/164/comments | 2 | 2018-09-21T09:12:00Z | 2023-07-17T04:08:01Z | https://github.com/libming/libming/issues/164 | 362,524,010 | 164 |
[
"libming",
"libming"
] | A null pointer dereference bug was found in function pushdup()(decompile.c:627)
```
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x0000... | Null pointer dereference in pushdup (decompile.c 627) | https://api.github.com/repos/libming/libming/issues/163/comments | 1 | 2018-09-21T09:02:41Z | 2019-02-25T08:48:41Z | https://github.com/libming/libming/issues/163 | 362,520,735 | 163 |
[
"libming",
"libming"
] | A null pointer dereference bug was found in function newVar3() (in master version,not the issue #118 )
```
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/str... | Null pointer dereference in newVar3 (decompile.c) | https://api.github.com/repos/libming/libming/issues/162/comments | 1 | 2018-09-21T08:39:32Z | 2019-02-25T08:51:29Z | https://github.com/libming/libming/issues/162 | 362,512,905 | 162 |
[
"libming",
"libming"
] | A null pointer dereference bug was found in function strlenext()(decompile.c:238)
```
Program received signal SIGSEGV, Segmentation fault.
0x0000000000407d27 in strlenext (str=0x0) at decompile.c:238
238 while (*str)
(gdb) bt
#0 0x0000000000407d27 in strlenext (str=0x0) at decompile.c:238
#1 0x00... | Null pointer dereference in strlenext (decompile.c) | https://api.github.com/repos/libming/libming/issues/161/comments | 1 | 2018-09-21T08:24:35Z | 2019-02-25T09:09:52Z | https://github.com/libming/libming/issues/161 | 362,507,123 | 161 |
[
"libming",
"libming"
] | A null pointer dereference bug was found in function getName()(decompile.c:407)
```
Program received signal SIGSEGV, Segmentation fault.
0x0000000000408376 in getName (act=0x0) at decompile.c:407
407 switch( act->Type )
(gdb) bt
#0 0x0000000000408376 in getName (act=0x0) at decompile.c:407
#1 0x0000000000... | Null pointer dereference in getName (decompile.c) | https://api.github.com/repos/libming/libming/issues/160/comments | 1 | 2018-09-21T03:21:35Z | 2019-02-25T09:10:31Z | https://github.com/libming/libming/issues/160 | 362,441,777 | 160 |
[
"libming",
"libming"
] | A Segmentation fault bug was found in function newVar_N() (decompile.c:714)
```
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x0000000000408f... | SIGSEGV in function newVar_N at decompile.c:714 | https://api.github.com/repos/libming/libming/issues/159/comments | 0 | 2018-09-21T03:08:12Z | 2018-11-21T07:36:22Z | https://github.com/libming/libming/issues/159 | 362,439,640 | 159 |
[
"libming",
"libming"
] | A Segmentation fault bug was found in function push()(decompile.c:600)
Program received signal SIGSEGV, Segmentation fault.
push (val=0x7ffff78ccff8) at decompile.c:600
600 t->type = val->Type;
(gdb) bt
#0 push (val=0x7ffff78ccff8) at decompile.c:600
#1 0x000000000040a8c3 in decompilePUSH (act=<optimized out... | SIGSEGV in push at decompile.c:600 | https://api.github.com/repos/libming/libming/issues/158/comments | 0 | 2018-09-21T02:50:40Z | 2018-11-21T07:37:03Z | https://github.com/libming/libming/issues/158 | 362,436,925 | 158 |
[
"libming",
"libming"
] | A Segmentation fault bug was found in function getString(decompile.c:370)
```
Program received signal SIGSEGV, Segmentation fault.
0x0000000000406c67 in getString (act=act@entry=0x6293c0) at decompile.c:370
370 t=malloc(strlenext(pool[act->p.Constant8])+3); /* 2 "'"s and a NULL */
(gdb) bt
#0 0x0000000000406... | Segmentation fault in getString at decompile.c:370 | https://api.github.com/repos/libming/libming/issues/157/comments | 0 | 2018-09-21T02:24:47Z | 2018-11-21T07:40:30Z | https://github.com/libming/libming/issues/157 | 362,432,777 | 157 |
[
"libming",
"libming"
] | A Segmentation fault bug was found in function decompileCAST(decompile.c:440)
```
Program received signal SIGSEGV, Segmentation fault.
0x0000000000407127 in getName (act=act@entry=0x629570) at decompile.c:440
440 t=malloc(strlenext(pool[act->p.Constant8])+1);
(gdb) bt
#0 0x0000000000407127 in getName (act=act@... | Segmentation fault in getName at decompile.c:440 | https://api.github.com/repos/libming/libming/issues/156/comments | 0 | 2018-09-21T02:05:23Z | 2018-11-21T07:41:17Z | https://github.com/libming/libming/issues/156 | 362,429,764 | 156 |
[
"libming",
"libming"
] | tested in Ubuntu 16.04, 64bit, libming(master a89a619)
`$ listswf $POC`
https://github.com/Marsman1996/pocs/blob/master/libming/poc1
```
==29773==ERROR: AddressSanitizer failed to allocate 0x400002000 (17179877376) bytes of LargeMmapAllocator (errno: 12)
==29773==Process memory map follows:
0x00000040000... | AddressSanitizer: memory exhaustion in parseABC_NS_SET_INFO:parser.c 3081 | https://api.github.com/repos/libming/libming/issues/155/comments | 0 | 2018-09-17T01:00:21Z | 2022-03-23T08:28:01Z | https://github.com/libming/libming/issues/155 | 360,697,378 | 155 |
[
"libming",
"libming"
] | There is an infinite loop bug in readMovie fuction (utils/main.c) , an crafted file can cause listswf tool run infinitedly.
To reproduce it ,run listswf with poc:
```
$./listswf ./loop-poc
... run infinitely
```
stack trace:
```
#0 0x00007fbc5a42e2c0 in __write_nocancel () at ../sysdeps/unix/syscall-template.... | Infinite loop in readMovie function() | https://api.github.com/repos/libming/libming/issues/154/comments | 1 | 2018-09-03T06:15:36Z | 2018-09-03T06:27:52Z | https://github.com/libming/libming/issues/154 | 356,370,406 | 154 |
[
"libming",
"libming"
] | Function getName() allocates space and returns a `char*`. Function newVar_N() copies from the space allocated by getName() but leaves the space leaked. The space is not freed after used.
https://github.com/libming/libming/blob/a89a619e187ebe070db2a1760f3b90489bfff382/util/decompile.c#L3198 | Memory leak in function decompileCAST(): decompile.c | https://api.github.com/repos/libming/libming/issues/153/comments | 0 | 2018-08-28T02:33:57Z | 2018-08-28T02:33:57Z | https://github.com/libming/libming/issues/153 | 354,547,348 | 153 |
[
"libming",
"libming"
] | There is a memory leak in function printDefineFont2(). "offset" is leaked because it's not freed before returning.
https://github.com/libming/libming/blob/a89a619e187ebe070db2a1760f3b90489bfff382/util/listfdb.c#L189
| Memory leak in printDefineFont2() : listfdb.c | https://api.github.com/repos/libming/libming/issues/152/comments | 0 | 2018-08-28T02:25:08Z | 2018-08-28T02:25:08Z | https://github.com/libming/libming/issues/152 | 354,545,750 | 152 |
[
"libming",
"libming"
] | ```
make[4]: Entering directory '/home/stly/Documents/TargetFuzz/Benchmark/libming/src/actioncompiler'
CC assembler.lo
CC compile.lo
CC listaction.lo
CC compileaction.lo
CC swf4compiler.tab.lo
./swf4compiler.y: In function ‘swf4parse’:
./swf4compiler.y:812:43: error: ‘YYS... | errors occur when compiling libming | https://api.github.com/repos/libming/libming/issues/151/comments | 0 | 2018-07-20T22:06:05Z | 2018-07-20T22:06:05Z | https://github.com/libming/libming/issues/151 | 343,260,940 | 151 |
[
"libming",
"libming"
] | File: libming/libming/blob/master/util/decompile.c#L415
i.e
`else if (strlen(act->p.String)) /* Not a zero length string */`
Does not handle strings which are not \0-terminated if passed one it may perform an over-read or may cause a crash.
Thanks! | bufferover-read | https://api.github.com/repos/libming/libming/issues/150/comments | 0 | 2018-07-10T14:16:33Z | 2018-07-10T14:16:33Z | https://github.com/libming/libming/issues/150 | 339,863,007 | 150 |
[
"libming",
"libming"
] | ```jsx
==76614==WARNING: AddressSanitizer failed to allocate 0xfffffffffffffffe bytes
==76614==AddressSanitizer's allocator is terminating the process instead of returning 0
==76614==If you don't like this behavior set allocator_may_return_null=1
==76614==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/... | An integer overflow | https://api.github.com/repos/libming/libming/issues/149/comments | 0 | 2018-07-04T13:18:41Z | 2018-07-04T13:18:41Z | https://github.com/libming/libming/issues/149 | 338,273,158 | 149 |
[
"libming",
"libming"
] | ```jsx
=================================================================
==105317==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62e000082400 at pc 0x7f7de115606e bp 0x7ffedc440790 sp 0x7ffedc43ff38
WRITE of size 45 at 0x62e000082400 thread T0
#0 0x7f7de115606d in strcat (/usr/lib/x86_64-linux-gnu/... | Heap-buffer-overflow on dcputs | https://api.github.com/repos/libming/libming/issues/148/comments | 0 | 2018-07-04T12:39:47Z | 2018-07-05T14:12:31Z | https://github.com/libming/libming/issues/148 | 338,260,174 | 148 |
[
"libming",
"libming"
] | ```jsx
=================================================================
==50118==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000041083c bp 0x7fffdac0fb10 sp 0x7fffdac0faf0 T0)
#0 0x41083b in getString /home/aflgo/libming-ming-0_4_8/util/decompile.c:349
#1 0x412015 in newVar_N /h... | SEGV on decompile.c | https://api.github.com/repos/libming/libming/issues/147/comments | 0 | 2018-07-04T12:38:26Z | 2018-07-04T12:38:26Z | https://github.com/libming/libming/issues/147 | 338,259,760 | 147 |
[
"libming",
"libming"
] | ```jsx
=================================================================
==126868==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 19008 byte(s) in 3 object(s) allocated from:
#0 0x7f0031261961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x430013 in parseSWF_SHAPEWITHSTYLE /... | Memory leak in parser.c | https://api.github.com/repos/libming/libming/issues/146/comments | 0 | 2018-07-02T14:21:04Z | 2018-07-04T00:32:58Z | https://github.com/libming/libming/issues/146 | 337,539,408 | 146 |
[
"libming",
"libming"
] | ERROR: type should be string, got "https://docs.google.com/document/d/1NtI3PiiL55SMj-kmdwJhMViIALGHPnLZYRxOgNCfhYA/edit\r\nhttps://drive.google.com/open?id=1qT1VRbszb343p7_w56pHPn3eLUCdj-ep\r\n\r\nProgram received signal SIGABRT, Aborted.\r\n0x00007ffff751f428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54\r\n54\t../sysdeps/unix/sysv/linux/raise.c: No such file or directory.\r\n(gdb) bt\r\n#0 0x00007ffff751f428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54\r\n#1 0x00007ffff752102a in __GI_abort () at abort.c:89\r\n#2 0x00007ffff75617ea in __libc_message (do_abort=do_abort@entry=2, \r\n fmt=fmt@entry=0x7ffff767949f \"*** %s ***: %s terminated\\n\") at ../sysdeps/posix/libc_fatal.c:175\r\n#3 0x00007ffff760315c in __GI___fortify_fail (msg=<optimized out>, \r\n msg@entry=0x7ffff7679430 \"buffer overflow detected\") at fortify_fail.c:37\r\n#4 0x00007ffff7601160 in __GI___chk_fail () at chk_fail.c:28\r\n#5 0x00007ffff76006c9 in _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:31\r\n#6 0x00007ffff75656b0 in __GI__IO_default_xsputn (f=0x7fffffffddb0, data=<optimized out>, n=10) at genops.c:455\r\n#7 0x00007ffff7537e00 in _IO_vfprintf_internal (s=s@entry=0x7fffffffddb0, format=<optimized out>, \r\n format@entry=0x4824af \"%ld\", ap=ap@entry=0x7fffffffdee8) at vfprintf.c:1631\r\n#8 0x00007ffff7600754 in ___vsprintf_chk (s=0x6b1430 \"264435123\", flags=1, slen=10, format=0x4824af \"%ld\", \r\n args=args@entry=0x7fffffffdee8) at vsprintf_chk.c:82\r\n#9 0x00007ffff76006ad in ___sprintf_chk (s=s@entry=0x6b1430 \"264435123\", flags=flags@entry=1, slen=slen@entry=10, \r\n format=format@entry=0x4824af \"%ld\") at sprintf_chk.c:31\r\n#10 0x0000000000418e04 in sprintf (__fmt=0x4824af \"%ld\", __s=0x6b1430 \"264435123\")\r\n at /usr/include/x86_64-linux-gnu/bits/stdio2.h:33\r\n#11 getString (act=act@entry=0x691ee0) at decompile.c:362\r\n#12 0x00000000004199bb in getName (act=act@entry=0x691ee0) at decompile.c:465\r\n#13 0x000000000041e9e9 in decompileSETVARIABLE (islocalvar=islocalvar@entry=0, maxn=8, actions=0x6a6e20, n=4)\r\n at decompile.c:1863\r\n#14 0x000000000042bc9b in decompileAction (n=4, actions=0x6a6e20, maxn=8) at decompile.c:3303\r\n#15 0x0000000000451d6d in decompileActions (indent=<optimized out>, actions=<optimized out>, n=8) at decompile.c:3494\r\n#16 decompile_SWITCH (n=0, off1end=<optimized out>, maxn=<optimized out>, actions=0x6a6ce0) at decompile.c:2235\r\n#17 decompileIF (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>) at decompile.c:2594\r\n#18 0x0000000000440a65 in decompileActions (indent=<optimized out>, actions=0x69c780, n=11) at decompile.c:3494\r\n#19 decompileSETTARGET (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>, is_type2=<optimized out>)\r\n at decompile.c:3169\r\n#20 0x0000000000451d6d in decompileActions (indent=<optimized out>, actions=<optimized out>, n=13) at decompile.c:3494\r\n#21 decompile_SWITCH (n=0, off1end=<optimized out>, maxn=<optimized out>, actions=0x69c5f0) at decompile.c:2235\r\n#22 decompileIF (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>) at decompile.c:2594\r\n#23 0x0000000000440a65 in decompileActions (indent=<optimized out>, actions=0x6921e0, n=12) at decompile.c:3494\r\n#24 decompileSETTARGET (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>, is_type2=<optimized out>)\r\n at decompile.c:3169\r\n#25 0x000000000045752d in decompileActions (indent=<optimized out>, actions=0x692140, n=13) at decompile.c:3494\r\n#26 decompile5Action (n=13, actions=0x692140, indent=indent@entry=0) at decompile.c:3517\r\n#27 0x000000000040f34a in outputSWF_DOACTION (pblock=0x691250) at outputscript.c:1551\r\n#28 0x000000000040211e in readMovie (f=0x690010) at main.c:281\r\n#29 main (argc=<optimized out>, argv=<optimized out>) at main.c:354\r\n\r\nBreakpoint 1, getString (act=act@entry=0x691ee0) at decompile.c:361\r\n361\t\t\tt=malloc(10); /* 32-bit decimal */\r\n(gdb) l\r\n356\t\t\tt = malloc(needed_length);\r\n357\t\t\tsprintf(t, \"%g\", act->p.Double );\r\n358\t\t\treturn t;\r\n359\t\t}\r\n360\t\tcase PUSH_INT: /* INTEGER */\r\n361\t\t\tt=malloc(10); /* 32-bit decimal */\r\n362\t\t\tsprintf(t,\"%ld\", act->p.Integer );\r\n363\t\t\treturn t;\r\n364\t\tcase PUSH_CONSTANT: /* CONSTANT8 */\r\n365\t\t\tif (act->p.Constant8 > poolcounter)\r\n(gdb) n\r\n362\t\t\tsprintf(t,\"%ld\", act->p.Integer );\r\n(gdb) n\r\n361\t\t\tt=malloc(10); /* 32-bit decimal */\r\n(gdb) n\r\n362\t\t\tsprintf(t,\"%ld\", act->p.Integer );\r\n(gdb) n\r\n*** buffer overflow detected ***: /home/afl/parse/eval/new_swftophp/swftophp terminated\r\n" | buffer overflow in getString in decompile.c:362 | https://api.github.com/repos/libming/libming/issues/144/comments | 4 | 2018-05-16T21:22:41Z | 2020-07-12T20:31:15Z | https://github.com/libming/libming/issues/144 | 323,791,835 | 144 |
[
"libming",
"libming"
] | https://docs.google.com/document/d/1gTd44AjxkCNkoDDh28NwiSeLDa5poBYROEoLEG4JVCA/edit
https://drive.google.com/open?id=1221B4Z577S9YMY_E_C3N9myR2aMGxwKe
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb)... | SEGV in dcputs in decompile.c:103 | https://api.github.com/repos/libming/libming/issues/143/comments | 2 | 2018-05-16T21:17:43Z | 2018-06-30T18:43:58Z | https://github.com/libming/libming/issues/143 | 323,790,266 | 143 |
[
"libming",
"libming"
] | ERROR: type should be string, got "https://docs.google.com/document/d/1N-_obGIyAM5DGcrB7gHy89Oy68aDvxSMjrKaaM7KOFA/edit\r\nhttps://drive.google.com/open?id=1VIFH7AuKjxhGnOvkqkbGpdgxRWLyX75e\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\ndecompileSETTARGET (n=2, actions=0x691cb0, maxn=9, is_type2=<optimized out>) at decompile.c:3153\r\n3153\t\tif (*name)\r\n(gdb) bt\r\n#0 decompileSETTARGET (n=2, actions=0x691cb0, maxn=9, is_type2=<optimized out>) at decompile.c:3153\r\n#1 0x0000000000452755 in decompileActions (indent=2, actions=0x691cb0, n=9) at decompile.c:3494\r\n#2 decompileIF (n=10, actions=0x691400, maxn=<optimized out>) at decompile.c:2656\r\n#3 0x0000000000440a65 in decompileActions (indent=<optimized out>, actions=0x691400, n=12) at decompile.c:3494\r\n#4 decompileSETTARGET (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>, is_type2=<optimized out>)\r\n at decompile.c:3169\r\n#5 0x000000000045752d in decompileActions (indent=<optimized out>, actions=0x691360, n=13) at decompile.c:3494\r\n#6 decompile5Action (n=13, actions=0x691360, indent=indent@entry=0) at decompile.c:3517\r\n#7 0x000000000040f34a in outputSWF_DOACTION (pblock=0x691250) at outputscript.c:1551\r\n#8 0x000000000040211e in readMovie (f=0x690010) at main.c:281\r\n#9 main (argc=<optimized out>, argv=<optimized out>) at main.c:354\r\n\r\n(gdb) l\r\n3148\t{\r\n3149\t\tint action_cnt=0;\r\n3150\t\tchar *name;\r\n3151\t\tOUT_BEGIN2(SWF_ACTIONSETTARGET);\r\n3152\t\tname = is_type2 ? getString(pop()) : sact->TargetName;\r\n3153\t\tif (*name)\r\n3154\t\t{\r\n3155\t\t\tINDENT\r\n3156\t\t\tprintln(\"tellTarget('%s') {\" ,name);\r\n3157\t\t\twhile(action_cnt+n<maxn)\r\n\r\n(gdb) info all-registers \r\nrax 0x0\t0\r\nrbx 0x9\t9\r\nrcx 0xc\t12\r\nrdx 0xc\t12\r\nrsi 0x691a20\t6887968\r\nrdi 0x6919c0\t6887872\r\nrbp 0x0\t0x0\r\nrsp 0x7fffffffe160\t0x7fffffffe160\r\nr8 0x20\t32\r\nr9 0x42a2ff\t4367103\r\nr10 0xfffffffffffa5c73\t-369549\r\nr11 0x7ffff76720c4\t140737344118980\r\nr12 0x0\t0\r\nr13 0x2\t2\r\nr14 0x691cb0\t6888624\r\nr15 0xa\t10\r\nrip 0x43f00e\t0x43f00e <decompileSETTARGET+222>\r\neflags 0x10246\t[ PF ZF IF RF ]\r\ncs 0x33\t51\r\nss 0x2b\t43\r\nds 0x0\t0\r\nes 0x0\t0\r\nfs 0x0\t0\r\ngs 0x0\t0\r\nst0 0\t(raw 0x00000000000000000000)\r\nst1 0\t(raw 0x00000000000000000000)\r\nst2 0\t(raw 0x00000000000000000000)\r\nst3 0\t(raw 0x00000000000000000000)\r\n---Type <return> to continue, or q <return> to quit---\r\nst4 0\t(raw 0x00000000000000000000)\r\nst5 0\t(raw 0x00000000000000000000)\r\nst6 0\t(raw 0x00000000000000000000)\r\nst7 0\t(raw 0x00000000000000000000)\r\nfctrl 0x37f\t895\r\nfstat 0x0\t0\r\nftag 0xffff\t65535\r\nfiseg 0x0\t0\r\nfioff 0x0\t0\r\nfoseg 0x0\t0\r\nfooff 0x0\t0\r\nfop 0x0\t0\r\n\r\n--------------------------------------------------------------------------------------\r\nhttps://docs.google.com/document/d/1mmYrxpW0RUvE0fYgvPIUZSXTW1FP1DJspurusTRQP0w/edit\r\nhttps://drive.google.com/open?id=1kqgqgli5FgzgxsWUBe2fhVKY04ZSOtpF\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\ndecompileSETTARGET (n=9, actions=0x69c5d0, maxn=13, is_type2=<optimized out>) at decompile.c:3153\r\n3153\t\tif (*name)\r\n(gdb) bt\r\n#0 decompileSETTARGET (n=9, actions=0x69c5d0, maxn=13, is_type2=<optimized out>) at decompile.c:3153\r\n#1 0x0000000000451d6d in decompileActions (indent=<optimized out>, actions=<optimized out>, n=13) at decompile.c:3494\r\n#2 decompile_SWITCH (n=0, off1end=<optimized out>, maxn=<optimized out>, actions=0x69c490) at decompile.c:2235\r\n#3 decompileIF (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>) at decompile.c:2594\r\n#4 0x0000000000440a65 in decompileActions (indent=<optimized out>, actions=0x692040, n=12) at decompile.c:3494\r\n#5 decompileSETTARGET (n=<optimized out>, actions=<optimized out>, maxn=<optimized out>, is_type2=<optimized out>)\r\n at decompile.c:3169\r\n#6 0x000000000045752d in decompileActions (indent=<optimized out>, actions=0x691fa0, n=13) at decompile.c:3494\r\n#7 decompile5Action (n=13, actions=0x691fa0, indent=indent@entry=0) at decompile.c:3517\r\n#8 0x000000000040f34a in outputSWF_DOACTION (pblock=0x691250) at outputscript.c:1551\r\n#9 0x000000000040211e in readMovie (f=0x690010) at main.c:281\r\n#10 main (argc=<optimized out>, argv=<optimized out>) at main.c:354\r\n(gdb) l\r\n3148\t{\r\n3149\t\tint action_cnt=0;\r\n3150\t\tchar *name;\r\n3151\t\tOUT_BEGIN2(SWF_ACTIONSETTARGET);\r\n3152\t\tname = is_type2 ? getString(pop()) : sact->TargetName;\r\n3153\t\tif (*name)\r\n3154\t\t{\r\n3155\t\t\tINDENT\r\n3156\t\t\tprintln(\"tellTarget('%s') {\" ,name);\r\n3157\t\t\twhile(action_cnt+n<maxn)\r\n(gdb) info all-registers \r\nrax 0x0\t0\r\nrbx 0xd\t13\r\nrcx 0xc\t12\r\nrdx 0xc\t12\r\nrsi 0x6a6ec0\t6975168\r\nrdi 0x691640\t6886976\r\nrbp 0x0\t0x0\r\nrsp 0x7fffffffe160\t0x7fffffffe160\r\nr8 0x20\t32\r\nr9 0x42a2ff\t4367103\r\nr10 0xfffffffffffa5c73\t-369549\r\nr11 0x7ffff76720c4\t140737344118980\r\nr12 0x0\t0\r\nr13 0x9\t9\r\nr14 0x69c5d0\t6931920\r\nr15 0x11\t17\r\nrip 0x43f00e\t0x43f00e <decompileSETTARGET+222>\r\neflags 0x10246\t[ PF ZF IF RF ]\r\ncs 0x33\t51\r\nss 0x2b\t43\r\nds 0x0\t0\r\nes 0x0\t0\r\nfs 0x0\t0\r\ngs 0x0\t0\r\nst0 0\t(raw 0x00000000000000000000)\r\nst1 0\t(raw 0x00000000000000000000)\r\nst2 0\t(raw 0x00000000000000000000)\r\nst3 0\t(raw 0x00000000000000000000)\r\n" | Multiple SIGSEGV in decompileSETTARGET in decompile.c:3153 | https://api.github.com/repos/libming/libming/issues/142/comments | 4 | 2018-05-15T00:29:54Z | 2018-09-22T19:23:33Z | https://github.com/libming/libming/issues/142 | 323,026,200 | 142 |
[
"libming",
"libming"
] | https://docs.google.com/document/d/13xJhiIgDbqYwmR4j7aGEbKUU8KDl195mkw4rcvhT4J8/edit?usp=sharing
https://drive.google.com/open?id=1E7fkmjdvePRnsDoI1wpuZka0moHG7egl
Program received signal SIGSEGV, Segmentation fault.
0x000000000043a1e9 in decompileJUMP (maxn=6, actions=0x691740, n=4) at decompile.c:1932
1932 ... | SIGSEGV in decompileJUMP in decompile.c:1932 | https://api.github.com/repos/libming/libming/issues/141/comments | 3 | 2018-05-14T12:56:04Z | 2018-06-30T20:07:23Z | https://github.com/libming/libming/issues/141 | 322,804,605 | 141 |
[
"libming",
"libming"
] | The command to trigger the segfault
`./listswf $POC`
The gdb dump:
```
Program received signal SIGSEGV, Segmentation fault.
0x080af993 in parseABC_METHOD_INFO (method=0x5c795148, f=0x80be008) at parser.c:3238
3238 method->ParamType[i] = readEncUInt30(f);
(gdb) bt
#0 0x080af993 in parseABC_METHOD_INFO (met... | SEGV in parseABC_METHOD_INFO in parser.c:3238 | https://api.github.com/repos/libming/libming/issues/140/comments | 0 | 2018-05-05T14:47:13Z | 2018-05-05T14:47:13Z | https://github.com/libming/libming/issues/140 | 320,514,929 | 140 |
[
"libming",
"libming"
] | See [Writing configure.ac](https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Writing-Autoconf-Input.html#Writing-Autoconf-Input) from the GNU autoconf documentation:
```
Previous versions of Autoconf promoted the name configure.in, which is somewhat ambiguous (the
tool needed to pro... | Please rename configure.in to configure.ac | https://api.github.com/repos/libming/libming/issues/139/comments | 0 | 2018-05-04T16:09:50Z | 2018-05-20T15:10:12Z | https://github.com/libming/libming/issues/139 | 320,333,448 | 139 |
[
"libming",
"libming"
] | The command to trigger the segfault
`./listswf $POC`
The gdb dump:
```
Program received signal SIGSEGV, Segmentation fault.
0x080aff3b in parseABC_METADATA_INFO (meta=0x3ee76008, f=0x80be008) at parser.c:3258
3258 meta->Items[i].Key = readEncUInt30(f);
(gdb) bt
#0 0x080aff3b in parseABC_METADATA_INFO (met... | SEGV in parseABC_METADATA_INFO in parser.c:3258 | https://api.github.com/repos/libming/libming/issues/137/comments | 0 | 2018-04-30T13:38:40Z | 2018-04-30T13:38:40Z | https://github.com/libming/libming/issues/137 | 318,892,996 | 137 |
[
"libming",
"libming"
] | There is an access violation in `parseSWF_SHAPERECORD` that generates a segmentation fault at util/parser.c:473. I'm testing version 0.4.8 on Ubuntu 16.04.04, kernel 4.13.16-041316-generic. To reproduce extract from the attached archive and:
```
$ ulimit -v $[200 * 1024]
$ listswf POC_input
```
gdb's `bt` and `exp... | SEGV in parseSWF_SHAPERECORD (util/parser.c) | https://api.github.com/repos/libming/libming/issues/136/comments | 0 | 2018-04-18T18:21:53Z | 2018-04-18T18:21:53Z | https://github.com/libming/libming/issues/136 | 315,590,315 | 136 |
[
"libming",
"libming"
] | There is an unchecked `malloc` in `parseABC_CONSTANT_POOL` that generates a segmentation fault at `util/parser.c:3153`. I'm testing version 0.4.8 on Ubuntu 16.04.04, kernel 4.13.16-041316-generic. To reproduce extract from the attached archive and:
```
$ ulimit -v $[50 * 1024]
$ listswf POC_input
```
gdb's `bt` ou... | SEGV in parseABC_CONSTANT_POOL (util/parser.c) | https://api.github.com/repos/libming/libming/issues/135/comments | 0 | 2018-04-18T14:33:33Z | 2018-04-18T14:37:27Z | https://github.com/libming/libming/issues/135 | 315,506,952 | 135 |
[
"libming",
"libming"
] | Hey there, I have come across some integer behaviour runtime issues in the commit 50e2bf750fd857edc86dc06a0c615dbe5a166d71.
The shift operations left-shift an integer outside the number of bits supported by the data type, and is an undefined behavior in C according to ISO C99.
The unsigned integer overflow could c... | Multiple integer misbehaviours (excessive shift, signed integer overflow) in readBits/readSBits of util/read.c | https://api.github.com/repos/libming/libming/issues/134/comments | 0 | 2018-04-13T08:47:25Z | 2018-05-24T12:37:15Z | https://github.com/libming/libming/issues/134 | 314,020,305 | 134 |
[
"libming",
"libming"
] | On latest version (0.4.8) of libming and commit 50e2bf750fd857edc86dc06a0c615dbe5a166d71, there is a null pointer dereference in getInt function of decompile.c file, which could be triggered by the POC below.
To reproduce the issue, run ./swftophp $POC
The POC is attached.
==146840==ERROR: AddressSanitizer: SEGV... | Null pointer dereference in getInt (decompile.c) | https://api.github.com/repos/libming/libming/issues/133/comments | 1 | 2018-03-29T14:59:42Z | 2020-07-12T20:31:13Z | https://github.com/libming/libming/issues/133 | 309,789,637 | 133 |
[
"libming",
"libming"
] | git log
```
commit 50e2bf750fd857edc86dc06a0c615dbe5a166d71
Author: Sandro Santilli <strk@kbt.io>
Date: Tue Mar 13 08:35:40 2018 +0100
Add Hugo Lefeuvre to AUTHORS
```
./swftocxx ./libming_read_memory_leaks /dev/null
```
==373==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 3 byte(s) in ... | memory leak in swftocxx (read.c:252) | https://api.github.com/repos/libming/libming/issues/132/comments | 0 | 2018-03-27T04:59:30Z | 2018-03-27T04:59:30Z | https://github.com/libming/libming/issues/132 | 308,822,393 | 132 |
[
"libming",
"libming"
] | In latest version of libming (0.4.8), there is a heap-use-after-free in decompileJUMP function of decompile.c file, which could be triggered by the POC below.
The "FREE" operation corresponds to a "realloc" in parseSWF_DOACTION (parser.c:2435):
2424 SWF_Parserstruct *
2425 parseSWF_DOACTION (FILE * f, int le... | heap-use-after-free in decompileJUMP (decompile.c) | https://api.github.com/repos/libming/libming/issues/131/comments | 3 | 2018-03-25T01:21:59Z | 2020-07-12T20:31:14Z | https://github.com/libming/libming/issues/131 | 308,313,370 | 131 |
[
"libming",
"libming"
] | In latest release version (0.4.8) of libming, there are multiple heap-use-after frees in decompileGETVARIABLE/decompileSingleArgBuiltInFunctionCall/decompilePUSHPARAM/decompileDELETE/decompileSETTARGET/decompileSUBSTRING/decompileNEWOBJECT functions of decompile.c, which could be triggered by the POCs below.
To repr... | multiple heap-use-after-frees in decompile.c | https://api.github.com/repos/libming/libming/issues/130/comments | 3 | 2018-03-22T03:27:43Z | 2018-05-20T12:51:21Z | https://github.com/libming/libming/issues/130 | 307,493,439 | 130 |
[
"libming",
"libming"
] | On latest release version of libming (0.4.8), these is a heap-use-after-free in function decompileCALLFUNCTION of decompile.c, which could be triggered by the POC below.
To reproduce the issue, run: ./bin/swftophp $POC
POC could be downloaded at: https://github.com/traceprobe/POC/blob/master/libming/libming_0-4-8_s... | heap-use-after-free in decompileCALLFUNCTION (decompile.c) | https://api.github.com/repos/libming/libming/issues/129/comments | 1 | 2018-03-18T18:28:57Z | 2018-05-20T12:39:38Z | https://github.com/libming/libming/issues/129 | 306,267,194 | 129 |
[
"libming",
"libming"
] | On latest version of libming, there is a heap-use-after-free in decompileArithmeticOp function of decompile.c, which could be triggered by the POC below.
To reproduce the issue, run: ./bin/swftophp $POC
POC could be downloaded at: https://github.com/ProbeFuzzer/poc/blob/master/libming/libming_0-4-8_swftophp_heap-us... | heap-use-after-free in decompileArithmeticOp (decompile.c) | https://api.github.com/repos/libming/libming/issues/128/comments | 1 | 2018-03-18T18:01:55Z | 2018-05-20T05:52:44Z | https://github.com/libming/libming/issues/128 | 306,264,057 | 128 |
[
"libming",
"libming"
] | In the parseSWF_ACTIONRECORD function (util/parser.c), in the case of `SWFACTION_PUSH`, we enter in a loop which always allocates memory for the next element at the end of the current round:
```
case SWFACTION_PUSH:
{
(snip)
struct SWF_ACTIONPUSHPARAM *param;
(snip)
end = fileOffset + act->Length;
... | Memory waste in parseSWF_ACTIONRECORD (util/parser.c) | https://api.github.com/repos/libming/libming/issues/126/comments | 0 | 2018-03-14T20:55:47Z | 2018-03-14T20:55:47Z | https://github.com/libming/libming/issues/126 | 305,325,235 | 126 |
[
"libming",
"libming"
] | Hi, i found a issue in the libming 0.4.8. It's similar to https://github.com/libming/libming/issues/112,
but it is crashed by function decompileSingleArgBuiltInFunctionCall to getString .It just cause a Invalid memory address dereference.the details are below(ASAN):
```
./swftocxx 015-unknown-def-swf-349 /dev/null... | Invalid memory address dereference in decompileSingleArgBuiltInFunctionCall and getString (in util/decompile.c:349) | https://api.github.com/repos/libming/libming/issues/123/comments | 1 | 2018-03-09T06:38:19Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/123 | 303,739,842 | 123 |
[
"libming",
"libming"
] | Hi, i found a issue in the libming 0.4.8. it is crashed by function decompileSingleArgBuiltInFunctionCall to getString It just cause a Invalid memory address dereference.the details are below(ASAN):
```
./swftocxx 014-unknown-def-swf-398 /dev/null
...
...
ASAN:SIGSEGV
===========================================... | Invalid memory address dereference in function decompileGETVARIABLE and getName (in util/decompile.c:398) | https://api.github.com/repos/libming/libming/issues/122/comments | 1 | 2018-03-09T06:36:38Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/122 | 303,739,565 | 122 |
[
"libming",
"libming"
] | Hi, i found a null pointer dereference bug in the libming 0.4.8. It crashed in function getName .the details are below(ASAN):
```
./swftocxx 013-NULL-ptr-swf /dev/null
....
...
ASAN:SIGSEGV
=================================================================
==1645==ERROR: AddressSanitizer: SEGV on unknown addres... | Null pointer dereference vulnerability in getName (util/decompile.c:380) | https://api.github.com/repos/libming/libming/issues/121/comments | 8 | 2018-03-09T06:35:17Z | 2018-05-20T05:49:14Z | https://github.com/libming/libming/issues/121 | 303,739,338 | 121 |
[
"libming",
"libming"
] | Hi, i found a heap-buffer-overflow bug in the libming 0.4.8, the details are below(ASAN):
```
./swftocxx 012-heap-over-swf /dev/null
==13696==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b00000f7d8 at pc 0x000000411568 bp 0x7ffd9cd99ef0 sp 0x7ffd9cd99ee0
READ of size 8 at 0x60b00000f7d8 thread T0
... | heap-buffer-overflow in getName(util/decompile.c:408) | https://api.github.com/repos/libming/libming/issues/120/comments | 2 | 2018-03-07T09:12:13Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/120 | 303,017,913 | 120 |
[
"libming",
"libming"
] | ```
#./swftocxx 011-mem-leaks-swf /dev/null &>mem.txt
# vim mem.txt
=================================================================
==36339==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 40960 byte(s) in 1 object(s) allocated from:
#0 0x7fc58821b79a in __interceptor_calloc (/usr/lib/x86_64-... | There are a lot of memory leaks in libming 0.4.8 which is trigged in dcinit(in util/decompile.c:84) | https://api.github.com/repos/libming/libming/issues/119/comments | 0 | 2018-03-07T09:01:56Z | 2018-03-07T09:02:37Z | https://github.com/libming/libming/issues/119 | 303,014,800 | 119 |
[
"libming",
"libming"
] | Hi, i found a null pointer dereference bug in the libming 0.4.8. It crashed in function newVar3.the details are below(ASAN):
```
./swftocxx 010-NULL-ptr-swf /dev/null
#include <mingpp.h>
main(){
SWFMovie* m = new SWFMovie(48);
Ming_setScale(1.0);
m->setRate(48.187500);
m->setDimension(3992, 3680);
/... | Null pointer dereference vulnerability in newVar3 (util/decompile.c:517) | https://api.github.com/repos/libming/libming/issues/118/comments | 2 | 2018-03-07T08:42:15Z | 2020-07-12T20:31:14Z | https://github.com/libming/libming/issues/118 | 303,009,214 | 118 |
[
"libming",
"libming"
] | Hi, i found a issue in the libming 0.4.8. It crashed in function getString .the details are below(ASAN):
```
./swftocxx 009-unknown-def-swf /dev/null
....
...
==41268==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000188 (pc 0x0000004110c3 bp 0x7ffea292d660 sp 0x7ffea292d640 T0)
#0 0x4110c2 in ge... | Invalid memory address dereference in getString (in util/decompile.c:355) | https://api.github.com/repos/libming/libming/issues/117/comments | 1 | 2018-03-07T08:29:46Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/117 | 303,005,832 | 117 |
[
"libming",
"libming"
] | Hi, i found a heap-buffer-overflow bug in the libming 0.4.8, the details are below(ASAN):
```
./swftocxx 008-heap-over-swf /dev/null
header indicates a filesize of 522 but filesize is 2748
#include <mingpp.h>
main(){
SWFMovie* m = new SWFMovie(48);
Ming_setScale(1.0);
m->setRate(48.187500);
m->setDime... | heap-buffer-overflow in getString(util/decompile.c:332) | https://api.github.com/repos/libming/libming/issues/116/comments | 1 | 2018-03-07T08:21:57Z | 2018-05-20T05:49:15Z | https://github.com/libming/libming/issues/116 | 303,003,725 | 116 |
[
"libming",
"libming"
] | Hi, i found a issue in the libming 0.4.8. It crashed in function strlenext .the details are below(ASAN):
```
./swftocxx 007-unknown-def-swf /dev/null
#include <mingpp.h>
main(){
SWFMovie* m = new SWFMovie(48);
Ming_setScale(1.0);
m->setRate(48.187500);
m->setDimension(3992, 3680);
// SWF_SETBACKGROU... | Invalid memory address dereference in strlenext (in util/decompile.c:237) | https://api.github.com/repos/libming/libming/issues/115/comments | 1 | 2018-03-07T08:11:56Z | 2018-05-20T05:52:29Z | https://github.com/libming/libming/issues/115 | 303,001,208 | 115 |
[
"libming",
"libming"
] | Hi, i found a issue in the libming 0.4.8. It crashed in function getName.the details are below(ASAN):
```
./swftocxx 006-unknown-swf /dev/null
header indicates a filesize of 522 but filesize is 538
#include <mingpp.h>
main(){
SWFMovie* m = new SWFMovie(48);
Ming_setScale(1.0);
m->setRate(48.187500);
m... | Invalid memory address dereference in getName (in util/decompile.c:408) | https://api.github.com/repos/libming/libming/issues/114/comments | 1 | 2018-03-07T08:03:05Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/114 | 302,999,088 | 114 |
[
"libming",
"libming"
] | Hi, i found a heap-buffer-overflow bug in the libming 0.4.8, the details are below(ASAN):
```
./swftocxx 005-heap-over-swf /dev/null
...
...
==50170==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b00000b780 at pc 0x0000004113e6 bp 0x7ffcbc1d1ea0 sp 0x7ffcbc1d1e90
READ of size 8 at 0x60b00000b780... | heap-buffer-overflow in getName(util/decompile.c:398) | https://api.github.com/repos/libming/libming/issues/113/comments | 1 | 2018-03-07T07:50:29Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/113 | 302,996,201 | 113 |
[
"libming",
"libming"
] | Hi, i found a heap-buffer-overflow bug in the libming 0.4.8, the details are below(ASAN):
```
./swftocxx 004-heap-over-swf /dev/null
....
...
==15902==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b00000b090 at pc 0x000000410f70 bp 0x7ffe3f6b0340 sp 0x7ffe3f6b0330
READ of size 8 at 0x60b00000b090 t... | heap-buffer-overflow in getString(util/decompile.c:349) | https://api.github.com/repos/libming/libming/issues/112/comments | 2 | 2018-03-07T07:44:35Z | 2018-03-13T07:32:41Z | https://github.com/libming/libming/issues/112 | 302,994,944 | 112 |
[
"libming",
"libming"
] | Hi, i found a heap-buffer-overflow bug in the libming 0.4.8, the details are below(ASAN):
```
./swftocxx 003-heap-over-swf /dev/null
....
....
==30550==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ec7a at pc 0x7fd29030c9f5 bp 0x7ffd968473e0 sp 0x7ffd96846b70
WRITE of size 11 at 0x60200000ec... | heap-buffer-overflow in function getString(util/decompile.c:346) | https://api.github.com/repos/libming/libming/issues/111/comments | 1 | 2018-03-07T07:37:59Z | 2020-07-12T20:31:14Z | https://github.com/libming/libming/issues/111 | 302,993,458 | 111 |
[
"libming",
"libming"
] | Hi, i found a heap-buffer-overflow bug in the libming 0.4.8, the details are below(ASAN)
```
./swftocxx 002-heap-over-swf /dev/null
...
...
==53714==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ec1a at pc 0x7fb09c1699f5 bp 0x7ffc13fe6b30 sp 0x7ffc13fe62c0
WRITE of size 13 at 0x60200000ec1a t... | heap-buffer-overflow in getString(util/decompile.c:342) | https://api.github.com/repos/libming/libming/issues/110/comments | 2 | 2018-03-07T07:28:31Z | 2018-05-20T05:51:24Z | https://github.com/libming/libming/issues/110 | 302,991,443 | 110 |
[
"libming",
"libming"
] | Version: libming 0.4.8(latest version)
A memory exhaustion vulnerability was found in function parseSWF_ACTIONRECORD, which allow attackers to cause a denial of service via a crafted file.
```
./swftocxx 001-mem-ex-swf /dev/null
header indicates a filesize of 92 but filesize is 256
#include <mingpp.h>
m... | memory exhaustion in parseSWF_ACTIONRECORD(util/parser.c:1142) | https://api.github.com/repos/libming/libming/issues/109/comments | 1 | 2018-03-07T07:15:31Z | 2020-07-12T20:31:14Z | https://github.com/libming/libming/issues/109 | 302,988,844 | 109 |
[
"libming",
"libming"
] | The `readUInt32` function (util/listfdb.c) in libming through 0.4.8 is vulnerable to an integer overflow caused by an out-of-range left shift. This issue also affects the master branch.
Reproduce:
`$ listfdb out-of-range-left-shift-in-readUInt32-poc-1.fdb`
Output:
```
Font Name: f
number of glyphs: 1
listf... | Integer Overflow caused by out-of-range left shift in listfdb (master, libming 0.4.8 and earlier) | https://api.github.com/repos/libming/libming/issues/107/comments | 1 | 2018-01-30T10:26:43Z | 2018-03-11T22:03:47Z | https://github.com/libming/libming/issues/107 | 292,729,300 | 107 |
[
"libming",
"libming"
] | The `readSBits` function (util/listfdb.c) in libming through 0.4.8 is vulnerable to a shift of a negative value. This issue also affects the master branch.
Reproduce:
`$ listfdb negative-left-shift-in-listfdb-poc-1.fdb`
Output:
```
Font Name: f
number of glyphs: 1
off 0, 12,0
Offset0: -8
Glyph 0:
listfd... | Shift of a negative value in listfdb (master, libming 0.4.8 and earlier) | https://api.github.com/repos/libming/libming/issues/106/comments | 2 | 2018-01-27T18:13:55Z | 2018-03-12T07:28:07Z | https://github.com/libming/libming/issues/106 | 292,140,675 | 106 |
[
"libming",
"libming"
] | Hello.
I found a heap-use-after-free bug in libming.
Please confirm.
Thanks.
Summary: heap-use-after-free
OS: CentOS 7 64bit
Version: 3120f1cdae0c5232a4fb15e5ce42b8c455b43379
PoC Download: [free_decompileIF.zip](https://github.com/libming/libming/files/1670002/free_decompileIF.zip)
Steps to reproduc... | heap-use-after-free in decompileIF | https://api.github.com/repos/libming/libming/issues/105/comments | 5 | 2018-01-27T10:51:57Z | 2018-02-20T09:36:31Z | https://github.com/libming/libming/issues/105 | 292,111,426 | 105 |
[
"libming",
"libming"
] | The `printDefineFont2` function (util/listfdb.c) in libming through 0.4.8 is vulnerable to a heap buffer overflow. This vulnerability is also affecting the master branch.
Reproduce:
`$ listfdb heap-buffer-overflow-in-listfdb-poc-1.fdb`
Output:
```
Font Name: f
number of glyphs: 1
Offset0: -8
=============... | Heap Buffer Overflow in listfdb (master, libming 0.4.8 and earlier) | https://api.github.com/repos/libming/libming/issues/104/comments | 2 | 2018-01-26T10:13:05Z | 2018-03-11T22:03:46Z | https://github.com/libming/libming/issues/104 | 291,854,314 | 104 |
[
"libming",
"libming"
] | There seems to be a memory access violation in listswf+libming (latest version 0.4.8, tested on Ubuntu 14.04).
To reproduce:
`$ listswf POC_input`
Where POC_input is the input file (attached with the report).
The output will be (with GDB):
`Program received signal SIGSEGV, Segmentation fault.
0x0000000000418... | libming 0.4.8 Segmentation fault at parseABC_NS_SET_INFO | https://api.github.com/repos/libming/libming/issues/102/comments | 3 | 2018-01-15T09:25:37Z | 2018-01-30T10:49:32Z | https://github.com/libming/libming/issues/102 | 288,527,917 | 102 |
[
"libming",
"libming"
] | Hello.
I found a NULL pointer dereference in libming.
Please confirm.
Thanks.
Summary: NULL pointer dereference
OS: CentOS 7 64bit
Version: 1df8bc2e6e286e1226204c01779c4020aa97725f
PoC Download: [null_outputSWF_TEXT_RECORD.zip](https://github.com/libming/libming/files/1624623/null_outputSWF_TEXT_RECORD.... | NULL pointer dereference in outputSWF_TEXT_RECORD | https://api.github.com/repos/libming/libming/issues/101/comments | 4 | 2018-01-12T00:48:40Z | 2018-01-27T08:01:55Z | https://github.com/libming/libming/issues/101 | 287,974,410 | 101 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.