<html>
    <head>
      <base href="https://bugzilla.libav.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Libav - avcodec-58.dll - Heap overflow - Motion JPEG Video"
   href="https://bugzilla.libav.org/show_bug.cgi?id=1114">1114</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Libav - avcodec-58.dll - Heap overflow - Motion JPEG Video
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Libav
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git HEAD
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>X86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>---
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libavcodec
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugzilla@libav.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jplopezy@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=706" name="attach_706" title="testcases and windbg">attachment 706</a> <a href="attachment.cgi?id=706&action=edit" title="testcases and windbg">[details]</a></span>
testcases and windbg

I was doing some fuzzing with the version of libav (to date) for windows
(windows 10 to date) and I found several vulnerabilities.

One of them is this, using a mov video file, with the codec (Motion JPEG Video)
At first I think it's a heap overflow.

After test with avplay.exe from last libav version with the testcase this
crash.

 Hash Usage : Stack Trace:
Major+Minor : avcodec_58!av_parser_close+0x1c221
Major+Minor : avcodec_58!av_d3d11va_alloc_context+0xe526
Major+Minor : avcodec_58!avcodec_send_packet+0xe8
Major+Minor : avcodec_58!avcodec_send_packet+0x170
Major+Minor : avplay+0xb030
Minor       : avplay!SDL_Delay+0x2f9
Minor       : avplay!SDL_EventState+0x354
Minor       : avplay!SDL_SetTimer+0x231
Minor       : msvcrt!beginthreadex+0x126
Minor       : msvcrt!endthreadex+0xac
Minor       : KERNEL32!BaseThreadInitThunk+0x14
Minor       : ntdll!RtlUserThreadStart+0x21
Instruction Address: 0x0000000065c14d81</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>