Skip to main content
Public proof of conceptFix available

CVE-2022-3008

A public proof of concept exists; no exploitation attested.

  • Published2022-09-05
  • WeaknessCWE-77 · CWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751

Timeline

dates in UTC
  1. 2022-09-0509:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-3008?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-3008?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
11.0= 11.0no fix published
Tinygltf project tinygltf
BranchAffectedFixed in
2.6< 2.6.02.6.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As Google, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • syoyo tinygltf
    Affected
    • < 2.6.0fixed in 2.6.0custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-09-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • tinygltfUbuntu:22.04:LTSall versions · fixed in 2.5.0+dfsg-4ubuntu0.1
  • tinygltfDebian:14all versions · fixed in 2.5.0+dfsg-5
  • tinygltfDebian:13all versions · fixed in 2.5.0+dfsg-5
  • tinygltfDebian:12all versions · fixed in 2.5.0+dfsg-5
  • tinygltfDebian:11all versions · fixed in 2.5.0+dfsg-3+deb11u1

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-21
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.18.1known since 2026-10-23
  • NVDCVSS 3.18.8read 2026-10-23
  • CNAweakness (CWE)CWE-78known since 2026-10-23
  • NVDweakness (CWE)CWE-77read 2026-10-23
  • FIRST EPSSEPSS score3.1 %2026-11-03
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2022-09-05
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-ghg5-6g69-q4q3

Frequently asked questions

What is CVE-2022-3008?

The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751

Is CVE-2022-3008 actively exploited?

A proof-of-concept exploit exists for CVE-2022-3008, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-3008?

CVE-2022-3008 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running tinygltf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record