CVE-2026-22189 Panda3D <= 1.10.16 egg-mkfont Stack Buffer Overflow

Medium 6.9 Published Updated

Attacker can trigger stack buffer overflow in Panda3D egg-mkfont via long glyph patterns, potentially causing crashes or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-22189?

CVE-2026-22189 is a medium-severity memory corruption vulnerability in Panda3D, published on 7 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2026-22189?

It affects 1 product.

Products include Cmu Panda3d.

How do I fix CVE-2026-22189?

No fix has been published for CVE-2026-22189 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-22189 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22189 exists.

Sources

Also known as GHSA-gwg6-62mc-7h63.

Is CVE-2026-22189 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free