CVE-2026-22189 Details
Description
The egg-mkfont utility in Panda3D versions up to and including 1.10.16 contains a stack-based buffer overflow vulnerability due to use of an unbounded sprintf() call with attacker-controlled input. When constructing glyph filenames, egg-mkfont formats a user-supplied glyph pattern (-gp) into a fixed-size stack buffer without length validation. Supplying an excessively long glyph pattern string can overflow the stack buffer, resulting in memory corruption and a deterministic crash. Depending on build configuration and execution environment, the overflow may also be exploitable for arbitrary code execution.
A stack-based buffer overflow vulnerability has been identified in the Panda3D game engine, specifically in versions up to and including 1.10.16, within the egg-mkfont utility. This vulnerability arises from the use of an unbounded sprintf() function that allows attacker-controlled input to overflow a fixed-size stack buffer. The issue occurs when the glyph pattern option (-gp) is used to format user-supplied data into the buffer without proper length validation. As a result, an excessively long glyph pattern can corrupt memory, leading to a crash of the egg-mkfont process. Furthermore, depending on the build configuration and execution environment, this memory corruption could be exploited for arbitrary code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/panda3d/panda3d | [email protected] | Product |
| https://seclists.org/fulldisclosure/2026/Jan/10 | [email protected] | ExploitMailing ListThird Party Advisory |
| https://www.panda3d.org/ | [email protected] | Product |
| https://www.vulncheck.com/advisories/panda3d-egg-mkfont-stack-buffer-overflow | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cmu panda3d | <= 1.10.16 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | CVE Modified | [email protected] |
| Jan 12, 2026 | Initial Analysis | [email protected] |
| Jan 7, 2026 | New CVE Received | [email protected] |