Description (CNA)
smpeg through 2.0.0 contains an integer underflow vulnerability in stream_header() in MPEGsystem.cpp that allows attackers to wrap packet_size by declaring an undersized packet length. Attackers can supply a crafted MPEG file opened via SMPEG_new, SMPEG_new_rwops or SMPEG_new_data to trigger a reachable assertion or out-of-bounds copy, crashing the application.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| icculus / smpeg | affected 0 through 2.0.0 |
CWE
CWE-191
References
- https://hackmd.io/@haindpwn/smpeg-system-header-stream-table-oob-read
- https://github.com/icculus/smpeg/blob/d188dc111f4817288718705e4a84e248803ccfdc/MPEGsystem.cpp#L295-L350
- https://github.com/icculus/smpeg/blob/d188dc111f4817288718705e4a84e248803ccfdc/MPEGsystem.cpp#L777
- https://github.com/icculus/smpeg
- https://www.vulncheck.com/advisories/smpeg-through-2.0.0-integer-underflow-via-stream-header-in-mpegsystem-cpp
ADP enrichment
No English description supplied.
No references supplied.