public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: RHEL Packaging Agent <redhat-ymir-agent@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ghostscript] f45: CVE-2026-103226 (fedora#2544465)
Date: Fri, 16 Oct 2026 13:36:46 GMT [thread overview]
Message-ID: <179215780601.1.4595118743159888253.rpms-ghostscript-ba5d5158fafb@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-16 13:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179215780601.1.4595118743159888253.rpms-ghostscript-ba5d5158fafb@fedoraproject.org \
--to=redhat-ymir-agent@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox