# CVE-2023-46046: An issue in MiniZinc before 2.8.0 allows a NULL pointer dereference via tiexpr in a crafted .mzn file.

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-27T00:00:00.000Z
- Modified: 2026-06-17T06:29:55.977Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue in MiniZinc before 2.8.0 allows a NULL pointer dereference via ti_expr in a crafted .mzn file. NOTE: this is disputed because there is no common libminizinc use case in which an unattended process is supposed to run forever to process a series of atttacker-controlled .mzn files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <http://packetstormsecurity.com/files/176817/MiniZinc-2.7.6-Null-Pointer.html> (exploit)
- <https://github.com/MiniZinc/libminizinc/issues/730>
- <http://seclists.org/fulldisclosure/2024/Jan/63> (mailing-list)
- <https://www.minizinc.org/doc-2.8.3/en/changelog.html>
- <https://github.com/MiniZinc/libminizinc/commit/afe67acc20898e4308044b54c4acf7a08df544f0>

## Sources

- CVE List: [CVE-2023-46046](https://www.cve.org/CVERecord?id=CVE-2023-46046), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2023-46046](https://nvd.nist.gov/vuln/detail/CVE-2023-46046), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46046 · Whole record: https://cve.day/CVE-2023-46046.json · Rebuilt by cve.day 2026-11-25T22:58:33.413Z
