CVE-2023-51791 in Fedoraproject Fedora and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 38 39 40 |
| Ffmpeg | Ffmpeg | 7.0 7.0.1 7.0.2 7.0.3 7.1 7.1.1+6 more7.1.2 7.1.3 7.2 8.0 8.0.1 8.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-51791 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-174882-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-04-19 |
| Last modified | 2026-01-07 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability in Ffmpeg version N113007-g8d24a28d06 allows a local attacker to execute arbitrary code through the libavcodec/jpegxl_parser.c file in the gen_alias_map function.
The vulnerability is triggered by a buffer overflow in the gen_alias_map function within the libavcodec/jpegxl_parser.c file. An attacker can exploit this by providing a specially crafted JPEG XL file to the affected version of Ffmpeg, potentially leading to arbitrary code execution with the privileges of the user running Ffmpeg.
Questions
What is CVE-2023-51791?
A buffer overflow vulnerability in Ffmpeg version N113007-g8d24a28d06 allows a local attacker to execute arbitrary code through the libavcodec/jpegxl_parser.c file in the gen_alias_map function.
What is the CVSS score for CVE-2023-51791?
CVE-2023-51791 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2023-51791 actively exploited?
No confirmed active exploitation of CVE-2023-51791 as of 2026-05-30.
How do I remediate CVE-2023-51791?
Priority: HIGH.
What systems are affected by CVE-2023-51791?
CVE-2023-51791 affects Fedoraproject Fedora; Ffmpeg Ffmpeg.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-01-07.