Heap Buffer Overflow in OTFCC

texlive-bin Updated 02 Oct 2025

Summary

14/10/2022
N/A
No i
Medium
6.5

CVE-2022-35042: OTFCC commit 617837b was discovered to contain a heap buffer overflow via /release-x64/otfccdump+0x4adb11. Affects texlive-bin versions < 3a9d42668f45387fa566845be5a3e61579823d35. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The texlive-bin package is a part of the Debian ecosystem and is used for typesetting documents. It provides a collection of programs for handling TeX and LaTeX files. One of the programs included in this package is OTFCC, which is used for manipulating OpenType fonts. OTFCC allows users to convert, merge, and extract information from OpenType fonts. However, a vulnerability has been discovered in the OTFCC commit 617837b, which can lead to a heap buffer overflow.

Vulnerability Detail

The vulnerability (CVE-2022-35042) in OTFCC commit 617837b allows an attacker to trigger a heap buffer overflow. This can be exploited by providing a specially crafted input to the otfccdump program. If successful, the attacker can overwrite adjacent memory locations, potentially leading to arbitrary code execution or a crash. The impact of this vulnerability can vary depending on the context in which the OTFCC program is used. It is important to note that this vulnerability has been assigned a CVSSv3 score of 6.5, indicating a medium severity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can avoid using the otfccdump program or restrict its usage to trusted input only. By limiting the exposure to potentially malicious input, the risk of exploitation can be reduced. However, this workaround may not be feasible in all scenarios, and it is strongly advised to apply the official fix as soon as it becomes available.

Conclusion

In conclusion, the texlive-bin package, specifically the OTFCC program, is vulnerable to a heap buffer overflow. This vulnerability can be exploited by providing malicious input to the otfccdump program, potentially leading to arbitrary code execution or a crash. It is recommended to update the texlive-bin package to the latest version as soon as a fix becomes available. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for texlive-bin →

Share this vulnerability

FAQ

Texlive-bin is a package in the Debian ecosystem that provides programs for handling TeX and LaTeX files.

OTFCC is a program included in the texlive-bin package that is used for manipulating OpenType fonts.

The heap buffer overflow can be triggered by providing a specially crafted input to the otfccdump program.

The potential consequences of this vulnerability include arbitrary code execution or a crash, depending on the context in which the OTFCC program is used.

This vulnerability has been assigned a CVSSv3 score of 6.5, indicating a medium severity.

Related vulnerabilities

Recent vulnerabilities recorded for texlive-bin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback