{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "7.24",
                "range": [
                  {
                    "fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"
            },
            {
              "fixed": "91b87a6bd8568f101680d4fc0db3d8773f74eb6c"
            }
          ],
          "repo": "https://github.com/cesanta/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wc32-gjw7-5g65"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-129"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134170.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "7.22"
              },
              {
                "fixed": "7.24"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "7.22"
              },
              {
                "fixed": "7.24"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "7.22"
              },
              {
                "fixed": "7.24"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Cesanta Mongoose 7.22 before 7.24 with the built-in TLS stack contains an out-of-bounds read in mg_timegm() that allows remote attackers to crash the process via crafted X.509 certificate validity months. Attackers can present a certificate with month '00' or out-of-range values during the handshake, before signature verification, causing an unchecked dm array index and denial of service.",
  "id": "CVE-2026-134170",
  "modified": "2026-11-20T23:45:20.781330586Z",
  "published": "2026-11-20T22:30:36.568Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134170.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cesanta/mongoose"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cesanta/mongoose/blob/7.23/src/tls_builtin.c#L1407-L1423"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cesanta/mongoose/blob/7.23/src/util.c#L14-L25"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cesanta/mongoose/commit/7fccc2b75f64f416ba1c7fd4f5072ae33b44d578"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cesanta/mongoose/releases/tag/7.24"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cesanta/mongoose/security/advisories/GHSA-wc32-gjw7-5g65"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134170"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cesanta-mongoose-7.22-before-7.24-out-of-bounds-read-via-mg-timegm"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Cesanta Mongoose 7.22 before 7.24 Out-of-Bounds Read via mg_timegm"
}