CVE-2026-22189CWE-121

Panda3D <= 1.10.16 egg-mkfont Stack Buffer Overflow

Medium · published January 7, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
43.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack-based buffer overflow is lurking in the egg-mkfont utility of Panda3D, which could lead to some unexpected crashes! Think of this as a coffee cup (the stack buffer) that gets filled with an overflowing fountain of coffee (the user input) without anyone checking the size of the cup first. If someone pours too much, it spills everywhere, causing a big mess—or worse, some unintended consequences! An attacker could exploit this vulnerability by supplying an overly long glyph pattern string, leading to memory corruption and potentially crashing the application. Depending on how the application is built, there’s a chance this could also allow for arbitrary code execution, which is definitely a cause for concern!

Put simply

Think of this as a coffee cup (the stack buffer) that gets filled with an overflowing fountain of coffee (the user input) without anyone checking the size of the cup first. If someone pours too much, it spills everywhere, causing a big mess—or worse, some unintended consequences! This vulnerability in Panda3D’s egg-mkfont arises from an unbounded sprintf() call with attacker-controlled input, allowing for an overflow of the fixed-size stack buffer when formatting glyph filenames.

What to do

An attacker could exploit this vulnerability by supplying an overly long glyph pattern string, leading to memory corruption and potentially crashing the application. Depending on how the application is built, there’s a chance this could also allow for arbitrary code execution, which is definitely a cause for concern! To protect yourself, patch Panda3D to version 1.10.17 or later, where this issue has been resolved. Additionally, review any user input handling in your applications to ensure proper length validation. It's a good time to reinforce your security measures! You've got this! Follow these steps, and you'll turn that potential spill into a well-contained cup of coffee! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00519 · 43.2th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2026-01-07T20:25Z
EPSS history
Timeline
  • 07 JAN 20:25Z
    Panda3D <= 1.10.16 egg-mkfont Stack Buffer Overflow
    cvelistv5