Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-30421

mystrtod in mjson 1.2.7 requires more than a billion iterations during processing of certain digit strings such as 8891110122900e913013935755114.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-30421
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:51 UTC · Revision 1

Source evidence

CVE-2023-30421

core-osv · Original source

Published 19 Apr 2025, 00:00 UTC

mystrtod in mjson 1.2.7 requires more than a billion iterations during processing of certain digit strings such as 8891110122900e913013935755114.

osv:CVE-2023-30421
Complete source record
{
  "id": "09aaf6a7d9a8c4bb824bbecb7e8ecd2443e9c42256f7eae6e94e46faf899fa1f",
  "url": "https://osv.dev/vulnerability/CVE-2023-30421",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-30421",
    "summary": "mystrtod in mjson 1.2.7 requires more than a billion iterations during processing of certain digit strings such as 8891110122900e913013935755114.",
    "evidence": "osv:CVE-2023-30421",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2023-30421",
      "aliases": [
        "CVE-2023-30421"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cesanta/mjson",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "032a2eaca1a989e56d88218f2a3cb91a68afebe8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "ZeroIntroducedSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.7",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "v1.1.1",
            "v1.1.0",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30421.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.004644145Z",
      "provider": "osv",
      "references": [
        "https://github.com/boofish/json_bugs/blob/main/mjson",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30421.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-30421",
        "https://github.com/cesanta/mjson/releases"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-407"
        ],
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30421.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-30421",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498025,
  "published_at": "2025-04-19T00:00:00+00:00"
}