{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
            }
          ],
          "repo": "https://github.com/hyrathon/trophies",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
            }
          ],
          "repo": "https://github.com/sheredom/json.h",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wvpq-p7pp-cj6m"
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45494.json"
  },
  "details": "Buffer overflow vulnerability in function json_parse_object in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.",
  "id": "CVE-2022-45494",
  "modified": "2026-10-21T02:30:38.372463888Z",
  "published": "2023-01-31T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45494.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/hyrathon/trophies/security/advisories/GHSA-wvpq-p7pp-cj6m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45494"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/sheredom/json.h/issues/93"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/sheredom/json.h/issues/97"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/sheredom/json.h"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}