Commit 33660b887 for imagemagick.org

commit 33660b8876202ab00c683d88854ee3589b6e8923
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Mon Sep 28 14:16:35 2026 -0400

    block PDF

diff --git a/config/policy-open.xml b/config/policy-open.xml
index b77f19b01..447882f05 100644
--- a/config/policy-open.xml
+++ b/config/policy-open.xml
@@ -149,7 +149,7 @@
   <!-- Indirect reads are not permitted. -->
   <!-- <policy domain="path" rights="none" pattern="@*"/> -->
   <!-- These image types are security risks on read, but write is fine -->
-  <!-- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,TXT,URL,XPS}"/> -->
+  <!-- <policy domain="module" rights="write" pattern="{MSL,MVG,PDF,PS,SVG,TXT,URL,XPS}"/> -->
   <!-- This policy sets the number of times to replace content of certain
        memory buffers and temporary files before they are freed or deleted. -->
   <!-- <policy domain="system" name="shred" value="1"/> -->
diff --git a/config/policy-secure.xml b/config/policy-secure.xml
index b328769ac..7da9138c9 100644
--- a/config/policy-secure.xml
+++ b/config/policy-secure.xml
@@ -107,7 +107,7 @@
   <!-- Indirect reading is not permitted. -->
   <policy domain="path" rights="none" pattern="@*"/>
   <!-- These image types are security risks on read, but write is fine -->
-  <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,TXT,URL,XPS}"/>
+  <policy domain="module" rights="write" pattern="{MSL,MVG,PDF,PS,SVG,TXT,URL,XPS}"/>
   <!-- This policy sets the number of times to replace content of certain
        memory buffers and temporary files before they are freed or deleted. -->
   <policy domain="system" name="shred" value="1"/>