CVE-2019-9020
Description
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. Invalid input to the function xmlrpc_decode() can lead to an invalid memory access (heap out of bounds read or read after free). This is related to xml_elem_parse_buf in ext/xmlrpc/libxmlrpc/xml_element.c.
In plain language
AI Worth attentionCVE-2019-9020 is a serious bug in older PHP versions that can crash or potentially let an attacker take control through malformed XML-RPC data; if your small business still runs an affected PHP version, you should act now.
CVE-2019-9020 is a memory-safety issue (CWE-125/CWE-416) in PHP’s xmlrpc_decode() path for ext/xmlrpc, where carefully crafted XML-RPC input can trigger invalid memory access (e.g., heap out-of-bounds read or read-after-free), making remote impact possible in vulnerable deployments; public exploits exist and the likelihood is rising.
What to do now
- Check whether your server/app runs PHP and which exact version (and whether the xmlrpc extension/functionality is enabled).
- If your PHP version is older than the fixes listed below, schedule an upgrade as soon as possible.
- Upgrade PHP to a fixed version: 5.6.40 or later, 7.1.26 or later, 7.2.14 or later, or 7.3.1 or later (as applicable to your branch).
- Re-test your application’s XML-RPC usage (or disable XML-RPC if you don’t need it) after the upgrade.
- If you can’t upgrade immediately, temporarily remove/disable xmlrpc functionality and block external access to any XML-RPC endpoints until the fix is applied.
sudo apt-get update && sudo apt-get install --only-upgrade phpCVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit detailsAttack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
3 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2019-9020 and every CVE in our database. Create a free account — no credit card required.
Create Free Account