CVE-2023-27390 Memory corruption in Diagon

High 7.8 Published Updated

A heap-based buffer overflow in Diagon allows arbitrary code execution when a user opens a specially crafted markdown file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-27390?

CVE-2023-27390 is a high-severity memory corruption vulnerability in Diagon, published on 5 Jul 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A heap-based buffer overflow vulnerability exists in the Sequence::DrawText functionality of Diagon v1.0.139. A specially crafted markdown file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger this vulnerability.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2023-27390?

It affects 1 product.

Products include Diagon Project Diagon.

How do I fix CVE-2023-27390?

No fix has been published for CVE-2023-27390 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-27390 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-27390 exists.

Sources

Also known as GHSA-4p57-rrmc-hxh2.

Is CVE-2023-27390 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free