CVE-2020-36773

Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in…

Critical · published February 4, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
58.7
In the wild
Unconfirmed
What it is

🚨 A sneaky out-of-bounds write in Ghostscript could leave your system vulnerable, all because one character can represent multiple codes! 🔥 Think of this as a restaurant that misinterprets a complicated order and accidentally serves you two entrees instead of one — it can lead to quite a mess in the kitchen! An attacker could potentially exploit this flaw to overwrite memory, leading to data corruption or even system crashes. This critical vulnerability means your application could face unexpected behavior, risking your data integrity and availability. You definitely don’t want uninvited guests in your system!

Put simply

Think of this as a restaurant that misinterprets a complicated order and accidentally serves you two entrees instead of one — it can lead to quite a mess in the kitchen! This out-of-bounds write and use-after-free vulnerability occurs due to how Ghostscript handles UTF-8 characters that map to multiple Unicode code points when processing PDF documents. This can lead to memory mishandling, opening the door for exploitation.

What to do

An attacker could potentially exploit this flaw to overwrite memory, leading to data corruption or even system crashes. This critical vulnerability means your application could face unexpected behavior, risking your data integrity and availability. You definitely don’t want uninvited guests in your system! Upgrade Ghostscript to version 9.53.0 or later to patch this vulnerability immediately. Review your PDF processing workflows to ensure you're not using older, vulnerable versions. Make sure to monitor any related dependencies as well! You've got this! By taking these steps, you can secure your system and keep the bad guys at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00879 · 58.7th percentile
Published
2024-02-04T00:00Z
EPSS history
Timeline
  • 04 FEB 00:00Z
    Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in…
    cvelistv5