Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-38216
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:18 UTC · Revision 1

Source evidence

CVE-2022-38216

core-osv · Original source

Published 16 Aug 2022, 00:34 UTC

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.

osv:CVE-2022-38216
Complete source record
{
  "id": "4014d47c7090b90580ec3900e7e7545cd71555bf9dbab32081714ecebb8e8cf1",
  "url": "https://osv.dev/vulnerability/CVE-2022-38216",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-38216",
    "summary": "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.",
    "evidence": "osv:CVE-2022-38216",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-38216",
      "aliases": [
        "CVE-2022-38216",
        "GHSA-4696-g7jj-xg2h"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mapbox/mapbox-maps-android",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c8015c669cc6b874a1a18177a9095527cc819bc2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "10.6.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "SplitRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c8015c669cc6b874a1a18177a9095527cc819bc2"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "android-v10.6.1"
                  },
                  {
                    "cpe": "cpe:2.3:a:mapbox:maps_software_development_kit:*:*:*:*:*:android:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "10.6.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "android-v10.6.0-rc.1",
            "android-v10.6.0-beta.2",
            "android-v10.6.0-beta.1",
            "extension-androidauto-v0.1.0",
            "android-v10.5.0-beta.1",
            "android-v10.4.0-beta.1",
            "android-v10.0.0",
            "android-v10.1.0",
            "android-v10.2.0-beta.1",
            "android-v10.1.0-rc.1",
            "android-v10.1.0-beta.1",
            "android-v10.0.0-rc.9",
            "android-v10.0.0-rc.8",
            "android-v10.0.0-beta.19",
            "android-v10.0.0-rc.7",
            "android-v10.0.0-rc.6",
            "android-v10.0.0-rc.5",
            "android-v10.0.0-rc.4",
            "android-v10.0.0-rc.3",
            "android-v10.0.0-rc.2",
            "android-v10.0.0-rc.1",
            "android-v10.0.0-beta.21",
            "android-v10.0.0-beta.20",
            "android-v10.0.0-beta.18",
            "android-v10.0.0-beta.17",
            "android-v10.0.0-beta.16",
            "android-v10.0.0-beta.15",
            "android-v10.0.0-beta.14",
            "android-v10.0.0-beta.13",
            "android-v10.0.0-beta.12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-38216.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.599975165Z",
      "provider": "osv",
      "references": [
        "https://github.com/mapbox/mapbox-maps-android/releases/tag/android-v10.6.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38216.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-38216"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-190"
        ],
        "cna_assigner": "facebook",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38216.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-38216",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 506089,
  "published_at": "2022-08-16T00:34:54+00:00"
}