public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghostscript] f45: CVE-2026-103226 (fedora#2544465)
@ 2026-10-16 13:36 RHEL Packaging Agent
  0 siblings, 0 replies; only message in thread
From: RHEL Packaging Agent @ 2026-10-16 13:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ghostscript
Branch : f45
Commit : ba5d5158fafb6a0ce16952cad9f403c5f8bc72ac
Author : RHEL Packaging Agent <redhat-ymir-agent@redhat.com>
Date   : 2026-10-16T15:12:02+02:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ghostscript/c/ba5d5158fafb6a0ce16952cad9f403c5f8bc72ac?branch=f45

Log:
CVE-2026-103226 (fedora#2544465)

---
diff --git a/0001-pdfwrite-bound-check-control-stack-in-type-1-2-font-.patch b/0001-pdfwrite-bound-check-control-stack-in-type-1-2-font-.patch
new file mode 100644
index 0000000..1e7f53c
--- /dev/null
+++ b/0001-pdfwrite-bound-check-control-stack-in-type-1-2-font-.patch
@@ -0,0 +1,13 @@
+diff --git a/devices/vector/gdevpsfx.c b/devices/vector/gdevpsfx.c
+index 8aaa3df..cc78554 100644
+--- a/devices/vector/gdevpsfx.c
++++ b/devices/vector/gdevpsfx.c
+@@ -237,6 +237,8 @@ type1_next(gs_type1_state *pcis)
+         case c_callsubr:
+             if (csp + 1 - &pcis->ostack[0] < 1)
+                 return_error(gs_error_invalidfont);
++            /* Check there is space available on the control stack */
++            CS_CHECK_IPSTACK(ipsp + 1, pcis->ipstack);
+             code = type1_callsubr(pcis, fixed2int_var(*csp) +
+                                   pcis->pfont->data.subroutineNumberBias);
+             if (code < 0)

diff --git a/ghostscript.spec b/ghostscript.spec
index f4e354c..5416b19 100644
--- a/ghostscript.spec
+++ b/ghostscript.spec
@@ -123,6 +123,7 @@ Patch002: 0001-OpenJPEG-Fix-overreading-bytes-in-some-conditions.patch
 Patch003: 0001-PostScript-interpreter-don-t-permit-local-inside-glo.patch
 Patch004: 0001-graphics-library-Shadings-with-arrays-of-Functions-v.patch
 Patch005: 0001-PostScript-interpreter-procedural-data-sink-filter-d.patch
+Patch006: 0001-pdfwrite-bound-check-control-stack-in-type-1-2-font-.patch
 
 
 # Downstream patches -- these should be always included when doing rebase:
@@ -490,6 +491,8 @@ done
 - CVE-2026-39919 ghostscript: Heap buffer overflow in JPEG 2000 JPXDecode output adapter
 - CVE-2026-101258 ghostscript: ghostscript: -dSAFER sandbox bypass via Type 5 shading OOB write and procedure-stream use-after-free
   bypass via Type 5 shading OOB write and procedure-stream use-after-free
+- CVE-2026-103226 ghostscript: ghostscript: stack-based buffer overflow
+  in pdfwrite via crafted font data
 
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 10.07.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-16 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 13:36 [rpms/ghostscript] f45: CVE-2026-103226 (fedora#2544465) RHEL Packaging Agent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox