CVE-2024-25262
High · 8.1CVSS
8.1
EPSS
0.9%
Published
Feb 29, 2024
CISA due date
—
Cloudanix analysis
A bug in font-handling software lets attackers crash programs by sending a specially crafted font file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in the ttfLoadHDMX function during TTF font parsing, enabling memory corruption that results in application crash and denial of service.
Why it matters to the business
Disruption to document rendering, publishing, or any workflow that processes font files, potentially halting operations until the affected component is restarted or replaced.
How an attack unfolds
An attacker crafts a malicious TTF file that triggers the overflow when parsed by the vulnerable ttfLoadHDMX routine and supplies the file to any application using the affected texlive-bin code.
How to fix it
Upgrade to a patched version of texlive-bin that corrects the ttfLoadHDMX buffer handling; alternatively, disable processing of untrusted TTF files or sandbox font-handling components.
How to confirm the fix worked
Confirm the installed texlive-bin version contains the fix for commit c515e, test parsing of known-good and boundary TTF files, and monitor for absence of crashes on crafted inputs.
Typical attack path
- Identify target application that processes TTF fonts with texlive-bin
- Craft TTF file to overflow the HDMX table buffer
- Deliver the file via email, download, or shared storage
- Trigger parsing to cause heap corruption and DoS
How to detect it
Review application logs for segmentation faults or crashes during TTF parsing; inspect file upload or processing logs for unusual TTF files around the time of incidents.
What your security team should do
- Inventory all systems using texlive-bin and prioritize patching
- Implement file-type sandboxing for font processing
- Block or quarantine untrusted TTF files at email and web gateways
- Add runtime monitoring for font parser crashes
The record
texlive-bin commit c515e was discovered to contain heap buffer overflow via the function ttfLoadHDMX:ttfdump. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted TTF file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | texlive-bin | 0 | No fix |
| Debian:11 | texlive-bin | 0 | 2020.20200327.54578-7+deb11u2 |
| Debian:12 | texlive-bin | 0 | No fix |
| Debian:13 | texlive-bin | 0 | 2023.20230311.66589-9 |
| Mageia:9 | texlive | 0 | 20220321-7.1.mga9 |
| Ubuntu:16.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:18.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:20.04:LTS | texlive-bin | 0 | 2019.20190605.51237-3ubuntu0.2 |
| Ubuntu:22.04:LTS | texlive-bin | 0 | 2021.20210626.59705-1ubuntu0.2 |
| Ubuntu:23.10 | texlive-bin | 0 | 2023.20230311.66589-6ubuntu0.1 |
| Ubuntu:24.04:LTS | texlive-bin | 0 | 2023.20230311.66589-9 |
| Ubuntu:Pro:16.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | texlive-bin | 0 | 2015.20160222.37495-1ubuntu0.1+esm1 |
| Ubuntu:Pro:18.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | texlive-bin | 0 | 2017.20170613.44572-8ubuntu0.2+esm1 |
Related vulnerabilities
- CVE-2015-5700 mktexlsr revision 22855 through revision 36625 as packaged in texlive allows local users… Also affects texlive-bin
- CVE-2016-10243 TeX Live allows remote attackers to execute arbitrary commands by leveraging inclusion of… Also affects texlive-bin
- CVE-2009-1284 Buffer overflow in BibTeX 0.99 allows context-dependent attackers to cause a denial of… Also affects texlive-bin
- CVE-2022-36561 XPDF v4.0.4 was discovered to contain a segmentation violation via the component… Also affects texlive-bin
- CVE-2022-24107 Xpdf prior to 4.04 lacked an integer overflow check in JPXStream.cc. Also affects texlive-bin
- CVE-2026-112403 Pillow is a Python imaging library. CWE-122
- CVE-2026-112393 Pillow is a Python imaging library. CWE-122
- CVE-2026-112395 Pillow is a Python imaging library. CWE-122