Heap Buffer Overflow in OTFCC
Summary
CVE-2022-35039: OTFCC commit 617837b was discovered to contain a heap buffer overflow via /release-x64/otfccdump+0x6e20a0. Affects texlive-bin versions 2022.20220321.62855-5.1 – 2025.20250727.75242+ds-5~hurd.1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
OTFCC is an open-source font converter and editor. It is used for manipulating OpenType and TrueType fonts. The package texlive-bin, specifically in versions for Debian 12 and Debian 13, includes the OTFCC tool. This tool is vulnerable to a heap buffer overflow, which can be exploited to execute arbitrary code or cause a denial of service.
Vulnerability Detail
The vulnerability, identified as CVE-2022-35039, originates from a commit (617837b) in the OTFCC codebase. The issue arises due to a heap buffer overflow in the 'otfccdump' component. An attacker can trigger this vulnerability by providing a specially crafted font file to the 'otfccdump' utility. Successful exploitation can lead to arbitrary code execution or a crash of the application.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the texlive-bin package to a version that includes a patched version of OTFCC. The maintainers of the Debian distribution should release an updated package that addresses this issue. Users are advised to update their systems as soon as the patched package becomes available.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, no known workarounds exist for this vulnerability. It is crucial to apply the patch or update the package as soon as it becomes available.
Conclusion
In conclusion, the OTFCC tool included in the texlive-bin package for Debian 12 and Debian 13 is vulnerable to a heap buffer overflow. This vulnerability can be exploited to execute arbitrary code or cause a denial of service. It is crucial to update the package as soon as a patched version becomes available. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for texlive-bin →
FAQ
OTFCC is an open-source font converter and editor used for manipulating OpenType and TrueType fonts.
This vulnerability can allow an attacker to execute arbitrary code or cause a denial of service by exploiting the heap buffer overflow in OTFCC.
To fix this vulnerability, update the texlive-bin package to a version that includes a patched version of OTFCC.
Currently, no known workarounds exist for this vulnerability. It is crucial to apply the patch or update the package as soon as it becomes available.
You can find more information about this vulnerability in the CVE-2022-35039 JSON report available at the following source: https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35039.json
Related vulnerabilities
Recent vulnerabilities recorded for texlive-bin.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.