While a "patch" sounds like a quick fix, there are significant risks and better alternatives: Security Risks

Handles Arabic, Pashto, Punjabi, Sindhi, and Persian. Inpage Patcher 3.11