Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-27832: The calculation of the buffer size was being done with int values, and overflowing that data type. The bug has existed since the creation of the file contrib/japanese/gdevnpdl.c The calculation of the buffer size was being done with int values, and overflowing that data type. By leaving the total size calculation to the memory manager, the calculation ends up being done in size_t values, and avoiding the overflow in this case, but also meaning the memory manager overflow protection will be effective. Fixed in ghostpdl-10.05.0 Info: https://bugs.ghostscript.com/show_bug.cgi?id=708133 Patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=57291c846334f1585552010faa42d7cb2cbd5c41 CVE-2025-27831: Text buffer overflow with long characters; the txt_get_unicode function was copying too few bytes from the fixed glyph name to unicode mapping tables. This was probably causing incorrect Unicode code points in relatively rare cases but not otherwise a problem. However, a badly formed GlyphNames2Unicode array attached to a font could cause the decoding to spill over the assigned buffer. Patched in ghostpdl-10.05.0 CVE-2025-27830: Potential integer and buffer overflow with DollarBlend during serializing a multiple master font for passing to Freetype. Fixed by changing a variable type from short to unsigned short and checking if a length variable exceeds permitted limit. Fixed in ghostpdl-10.05.0
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | ghostscript | 0:9.54.0-9.amzn2.0.9 |
| Amazon Linux · 2 | ghostscript-cups | 0:9.54.0-9.amzn2.0.9 |
| Amazon Linux · 2 | ghostscript-debuginfo | 0:9.54.0-9.amzn2.0.9 |
| Amazon Linux · 2 | ghostscript-doc | 0:9.54.0-9.amzn2.0.9 |
| Amazon Linux · 2 | ghostscript-gtk | 0:9.54.0-9.amzn2.0.9 |
| Amazon Linux · 2 | libgs | 0:9.54.0-9.amzn2.0.9 |
| Amazon Linux · 2 | libgs-devel | 0:9.54.0-9.amzn2.0.9 |
Vulnerabilities 3
-
Critical 9.8
An issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text buffer overflow…
-
Critical 9.8
An issue was discovered in Artifex Ghostscript before 10.05.0. The NPDL device has a Compression buffer overflow for co…
-
High 7.8
An issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs during serialization of DollarB…