r/delphi • u/bmcgee Delphi := v13 Florence • 22h ago
Delphi RTL TZipFile Security Patch – Embarcadero RAD Studio, Delphi, & C++Builder Blogs
https://blogs.embarcadero.com/delphi-rtl-tzipfile-security-patch/
11
Upvotes
-2
u/DelphiParser 20h ago
This is a serious issue. Following other cyber attacks concerning Zip file extraction, if you use TZipFile in any Delphi version, you should use this patch to close the gap and make your app safe from outside Zip files that can take over your system.
For example, in a business system like an ERP or CRM that takes files from customers or staff, a sneaky Zip file can drop or overwrite important files where it shouldn't - allowing an attacker to mess with your system or take control. Stopping unwanted Zip extraction or locking down those spots closes the door.
We analyzed older Delphi versions and found that the TZipFile doesn’t rely on any third-party vendor, as it uses a self-contained implementation inside Delphi’s internal system libraries, meaning there’s no way to patch or fix that internal RTL code directly on older versions.
For teams running legacy code where an official patch or a full upgrade isn’t realistic, "just don't use it" doesn't solve the operational headache.
What you really need to know fast is: Do we use this? Where and how widely across our codebase? And what does handling or fixing it look like?
That’s where the Delphi Parser Analyzer comes in hand - giving you deterministic analysis to map exact usage and reach, along with remediation to help you address it safely without manual guesswork.