fig2dev 3.2.7b contains a global buffer overflow in the setfigfont function in genepic.c.
After analysis of this flaw, all versions of RHEL 8 and 9 are affected. The patch that can be applied to fix this flaw is: https://sourceforge.net/p/mcj/fig2dev/ci/00cdedac7a0b029846dee891769a1e77df83a01b/ and https://sourceforge.net/p/mcj/fig2dev/ci/421afa17d8cb8dafcaf3e6044a70790fa4fe307b/.This flaw was caused by accepting -1 as a value for a tex font. This lead to an out of bounds error and resulted in a global buffer overflow.
Analysis did not show any sign of being able to achieve code execution with this flaw. The flaw present caused a denial of service to the program affecting availability, but with no found effects on Integrity or Confidentiality of data. As such the CVSS score should be 5.5/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H