CVE-2023-51791 Memory corruption in n/a
A local attacker can execute arbitrary code via a buffer overflow in FFmpeg's JPEG XL parser.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-51791?
CVE-2023-51791 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 19 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Buffer Overflow vulenrability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavcodec/jpegxl_parser.c in gen_alias_map.
Weakness: CWE-125
Which versions are affected by CVE-2023-51791?
It affects 2 products.
Products include Fedoraproject Fedora, Ffmpeg Ffmpeg.
How do I fix CVE-2023-51791?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-51791 being exploited?
There is no known exploitation of CVE-2023-51791 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2023-51791, GHSA-4rw9-59ch-c9mh, JLSEC-2026-634, UBUNTU-CVE-2023-51791.