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] f43: CVE-2026-103226 (fedora#2544465)
Date: Fri, 16 Oct 2026 14:00:12 GMT [thread overview]
Message-ID: <179215921243.1.5034897309061307064.rpms-ghostscript-31f07c88b4ab@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ghostscript
Branch : f43
Commit : 31f07c88b4ab0174cb40005ce6d1a424ce251b10
Author : RHEL Packaging Agent <redhat-ymir-agent@redhat.com>
Date : 2026-10-16T15:30:02+02:00
Stats : +16/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ghostscript/c/31f07c88b4ab0174cb40005ce6d1a424ce251b10?branch=f43
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 dad2d72..9a7129a 100644
--- a/ghostscript.spec
+++ b/ghostscript.spec
@@ -129,6 +129,7 @@ Patch005: 0001-OpenJPEG-Fix-overreading-bytes-in-some-conditions.patch
Patch006: 0001-PostScript-interpreter-don-t-permit-local-inside-glo.patch
Patch007: 0001-graphics-library-Shadings-with-arrays-of-Functions-v.patch
Patch008: 0001-PostScript-interpreter-procedural-data-sink-filter-d.patch
+Patch009: 0001-pdfwrite-bound-check-control-stack-in-type-1-2-font-.patch
# Downstream patches -- these should be always included when doing rebase:
@@ -500,6 +501,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
* Wed Jan 21 2026 Zdenek Dohnal <zdohnal@redhat.com> - 10.05.1-6
- security fix for CVE-2025-59798, CVE-2025-59799, CVE-2025-59800 (fedora#2431544, fedora#2431548, fedora#2431546)
reply other threads:[~2026-10-16 14:00 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=179215921243.1.5034897309061307064.rpms-ghostscript-31f07c88b4ab@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