Release 16.12.2
Date of Release: 26 November 2026
General remarks
- Patch release addressing false positives raised against valid files and files with minor, repairable faults. In many cases the Engine now repairs the fault and reports a remedy item where it previously rejected the file.
- For Glasswall Python wrapper integrations, update the wrapper to v5.12.5 to get the hardened policy XML parsing in this release. Run
pip install --upgrade glasswall==5.12.5.
Fixes and improvements
- Fixed issue in PDF where a malformed embedded JBIG2 image could cause the Engine to stop unexpectedly.
- Fixed issue in PDF where an integer longer than 10 digits was rejected, such as the build number that signing software records in a signed PDF.
- The Engine accepts integers of up to 39 digits. It clamps a dictionary value outside the 32-bit range and reports the new remedy "Clamped an integer to the 32-bit range.".
- An operand outside the 32-bit range in a content stream is rejected under the new issue "Integer is outside the 32-bit range.".
- Fixed issue in PDF where a layer whose CreatorInfo
/Subtypewas stored as a string was rejected. The string is now converted to a name and reported under a new remedy, "Converted string /Subtype in an OCG CreatorInfo dictionary to a PDF name.". - Fixed issue in PDF where a metadata stream labelled
/Subtype /XMPwas rejected. The value is now replaced with/XMLand reported under a new remedy, "Replaced /XMP metadata stream /Subtype with /XML.". - Fixed issue in PDF where forms with a calculation order (
/CO) entry were rejected. The Engine now validates/CO, removes an entry that is not a reference to a field and reports a remedy. - Fixed issue in PDF where name, integer and boolean values written as indirect references were misread and rejected, such as the
/Hentry of a link annotation. - Fixed issue in PDF where an empty array was rejected in annotation, graphics state and action entries, such as
/QuadPoints []. - Fixed issue in PDF where an uncompressed cross-reference stream that ended with a single LF or CR before
endstreamwas rejected. - Fixed issue in PDF where a font
/Encodingthat pointed at a content stream caused the Engine to corrupt that stream.- The Engine now removes the invalid
/Encodingentry from Type 1, MMType1 and TrueType fonts and reports a remedy. - A Type 3 font whose encoding points at a stream, or a font descriptor that points at a stream, is now rejected with an issue.
- The Engine now removes the invalid
- Fixed issue in PDF where an object used as both
/Infoand/AcroFormhad the keys of each role removed, which caused the file to be rejected. - Fixed issue in PDF where an encrypted FlateDecode stream with a truncated Adler-32 checksum was rejected.
- A truncated checksum is recalculated and reported under a new remedy, "Recalculated a truncated Adler-32 checksum in a FlateDecode stream" (RemedyID 197001414).
- A missing checksum is added and reported under a new remedy, "Added a missing Adler-32 checksum to a FlateDecode stream" (RemedyID 197001415).
- A stream with an incorrect checksum is now rejected.
- Improved performance when processing large PDFs that contain content that fails validation.
- Fixed issue in PDF where the analysis report listed "Expected basic /NAME object within dictionary" issues that the file did not have, after an invalid stream in a page
/Contentsarray. - Fixed issue in PDF where the "Non-empty Optional Content Config /Locked not supported." issue was reported under a generic issue ID. It is now reported under issue ID 186844116.
- Fixed issue in OOXML where an XML comment or processing instruction between elements caused the file to be rejected. The Engine now removes the comment or processing instruction and reports a remedy.
- Fixed issue in OOXML where an element in a position the schema does not allow caused the file to be rejected, such as an empty
<row>before<sheetData>in XLSX. The Engine now removes the element and reports a remedy. - Fixed issue in DOCX where an empty
<w:tblBorders>or<w:tcBorders>element was rejected. - Fixed issue in DOCX where files with task history were rejected.
- Fixed issue in OOXML where files that are not ZIP archives, such as some DLLs, were identified as XLSX and rejected with "Unable to load Glasswall camera: unknown".
- Fixed issue in DOC where malformed toolbar data caused the file to be rejected. A malformed command table is now removed under the
macroscontent management policy and reported as a sanitization item. - Fixed issue in XLS where unprotected sheets with a zero password value were rejected. An object protection flag other than 1 is now set to 1 and reported as a remedy.
- Fixed issue in PNG where a pHYs chunk with a pixels-per-unit value of zero, or with an aspect ratio above 10:1, was rejected. The PNG specification allows both.
- Fixed issue in PNG where a pHYs chunk with an out-of-range pixels-per-unit value caused the file to be rejected. The Engine now removes the chunk and reports a remedy.
- Fixed issue in PNG where a bKGD background color value above the image bit depth caused the file to be rejected. The Engine now masks the value to the bit depth and reports a remedy.
- Fixed issue in PNG where a file that ended inside the checksum of its IEND chunk was rejected. The checksum is now repaired and reported under a new remedy (RemedyID 146669604).
- Fixed issue in GIF where a reserved disposal method (values 4 to 7) caused the file to be rejected. The Engine now sets the disposal method to 0 and reports a remedy.
- Fixed issue in BMP where valid RLE4 and RLE8 compressed files were rejected.
- BMP files with a 52-byte or 56-byte info header are now supported. These headers are the 40-byte header followed by the color masks.
- Fixed issue in SVG where a processing instruction inside the
<svg>element, such as an Adobe XMP packet, caused the file to be rejected. The Engine now removes the processing instruction and reports a remedy. - Fixed issue in SVG where a CDATA section that contained a
]character followed by a<character caused the file to be rejected. - Fixed issue in SVG where current CSS values in presentation attributes were rejected, such as a numeric
font-weight, a percentagefont-stretchand the CSS-wide keywordsinitial,unset,revertandrevert-layer. - Fixed issue in ELF where files with an
EI_OSABIorEI_ABIVERSIONvalue outside a fixed list were rejected, such as NVIDIA CUDA binaries. The Engine now accepts any value for both fields. - Fixed issue in ELF where files that use extended section numbering were rejected.
- Fixed issue in ELF where files with no section header table were rejected.
- Fixed issue in ELF where non-zero values in unused fields of section header 0 caused the file to be rejected. The Engine now sets these fields to 0 and reports a remedy for each.
- Fixed issue in ELF where section names were checked against the wrong string table, which caused valid files to be rejected with "sh_name index out of range of string table".
- ELF files with an
EI_VERSIONvalue other than 1 now report "Validation of ELF_ID_32.EI_VERSION failed." or "Validation of ELF_ID_64.EI_VERSION failed." in place of "Failed to parse document correctly". ELF files with ane_versionof 0 are now rejected. - Fixed issue in WAV where valid compressed files and files with more than two channels were rejected.
- Fixed issue in WAV where a format chunk with a codec-specific extension, such as MP3 in WAV, was reported as "File is missing a mandatory FMT chunk".
- MP3 audio inside a WAV file is now processed by the MP3 file handling in Protect, Export and Import modes.
- Fixed issue in PE where DLLs with a Bound Import table in the header area were rejected with "Validation of Bound Import Table data directory entry failed".
- Fixed issue in PE where MS-DOS executables without a PE header were identified as PE and failed with "Failed to parse document correctly". These files are now reported as an unsupported file type.
- Fixed issue in MP4 where QuickTime files failed with parse errors. These files are now reported as an unsupported file type.
- Hardened XML parsing of content management policies in the Python wrapper (v5.12.5).
validate_xmlraisesValueErrorandPolicy.from_stringraisesContentManagementPolicyErrorfor a policy that declares entities or references an external DTD. - General bug fixes and stability improvements across multiple supported file formats.
Defects and limitations
- The Word Search Java wrapper compatibility is currently limited to JRE8.
- PDFs generated via the MS Outlook Adobe plug-in are not supported.
- Word Search analysis XML no longer reports structural content or changes.
- Processing times may be impacted by changes made to licensing features.
- Processing files using multiple threads is not supported. Spawning multiple processes is advised to facilitate parallel processing.
- Word Search is provided as a beta feature:
textorregexcannot be the same forrequireorallow/disallowas this will regenerate the file and ignore thedisalloworrequiresetting.- The pipe symbol (
|) at the start or end ofrequirecan potentially cause the Engine to hang when using regex search policies.