CVE-2025-27835

Public on 2025-03-24
Modified on 2025-03-24
Description
Fix confusion between bytes and shorts. Data is being copied from a string in multiple of shorts, rather than multiple of bytes, leading to both a read (probably benign, given the memory manager) and write buffer overflow.

Info: http://bugs.ghostscript.com/show_bug.cgi?id=708131
Patch: http://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=de900010a6f2310d1fd54e99eeba466693da0e13 (ghostpdl-10.05.0)
Severity
Important severity
Important
CVSS v3 Base Score
8.4
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
HAQM Linux 1 ghostscript Not Affected
HAQM Linux 2 - Core ghostscript 2025-04-09 ALAS2-2025-2820 Fixed
HAQM Linux 2023 ghostscript 2025-04-09 ALAS2023-2025-927 Fixed

CVSS Scores

Score Type Score Vector
HAQM Linux CVSSv3 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H