Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-45492

Buffer overflow vulnerability in function json_parse_number in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-45492
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:08 UTC · Revision 1

Source evidence

CVE-2022-45492

core-osv · Original source

Published 3 Feb 2023, 00:00 UTC

Buffer overflow vulnerability in function json_parse_number in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.

osv:CVE-2022-45492
Complete source record
{
  "id": "3f1d53c3035faf20699e6c3e3ec47959a6c8da1d0aecebd69c44eb71c7e4c57c",
  "url": "https://osv.dev/vulnerability/CVE-2022-45492",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-45492",
    "summary": "Buffer overflow vulnerability in function json_parse_number in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.",
    "evidence": "osv:CVE-2022-45492",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-45492",
      "aliases": [
        "CVE-2022-45492",
        "GHSA-r9wh-hxqh-3xq7"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hyrathon/trophies",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/sheredom/json.h",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0825301a07cbf51653882bf2b153cc81fdadf41"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45492.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.974458207Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45492.json",
        "https://github.com/hyrathon/trophies/security/advisories/GHSA-r9wh-hxqh-3xq7",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-45492",
        "https://github.com/sheredom/json.h/issues/95"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45492.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-45492",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 514146,
  "published_at": "2023-02-03T00:00:00+00:00"
}