Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-5628

An issue was discovered in Artifex Software, Inc. MuJS before 8f62ea10a0af68e56d5c00720523ebcba13c2e6a. The MakeDay function in jsdate.c does not validate the month, leading to an integer overflow when parsing a specially crafted JS file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-5628
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 09:00 UTC · Revision 1

Source evidence

CVE-2017-5628

core-osv · Original source

Published 30 Jan 2017, 04:59 UTC

An issue was discovered in Artifex Software, Inc. MuJS before 8f62ea10a0af68e56d5c00720523ebcba13c2e6a. The MakeDay function in jsdate.c does not validate the month, leading to an integer overflow when parsing a specially crafted JS file.

osv:CVE-2017-5628
Complete source record
{
  "id": "fed2e119a8f1a5545f5f50d7c35d415a6e4d06272186803496b8bceae6e435e8",
  "url": "https://osv.dev/vulnerability/CVE-2017-5628",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-5628",
    "summary": "An issue was discovered in Artifex Software, Inc. MuJS before 8f62ea10a0af68e56d5c00720523ebcba13c2e6a. The MakeDay function in jsdate.c does not validate the month, leading to an integer overflow when parsing a specially crafted JS file.",
    "evidence": "osv:CVE-2017-5628",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-5628",
      "aliases": [
        "CVE-2017-5628"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ccxvii/mujs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8f62ea10a0af68e56d5c00720523ebcba13c2e6a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5628.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-5628-2c0e115a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "302338063589320777506656733934098694740",
                    "168914246480469680882378029224303936735",
                    "256653493518763499336265779728017327860",
                    "59515177325930289519458002516218188450",
                    "121817145195669859466740412724984179930",
                    "235964387829672882322383825213001374906",
                    "255037448926206480694799834336331042339",
                    "245703386097029334799162329722053937019"
                  ]
                },
                "source": "https://github.com/ccxvii/mujs/commit/8f62ea10a0af68e56d5c00720523ebcba13c2e6a",
                "target": {
                  "file": "jsdate.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-5628-89b8a5e3",
                "digest": {
                  "length": 501,
                  "function_hash": "147080890961510823702327613709478672053"
                },
                "source": "https://github.com/ccxvii/mujs/commit/8f62ea10a0af68e56d5c00720523ebcba13c2e6a",
                "target": {
                  "file": "jsdate.c",
                  "function": "MakeDay"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-08T07:07:45Z"
          }
        }
      ],
      "modified": "2026-10-08T07:07:45.659976582Z",
      "provider": "osv",
      "references": [
        "https://bugs.ghostscript.com/show_bug.cgi?id=697496"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:artifex:mujs:*:*:*:*:*:*:*:*"
            ],
            "source": "CPE_RANGE",
            "vendor_product": "artifex:mujs",
            "extracted_events": [
              {
                "fixed": "2017-01-24"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-5628",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 98626,
  "published_at": "2017-01-30T04:59:00.703+00:00"
}