cbcvebase.
CVE-2016-3141
published 2016-03-31

CVE-2016-3141: Use-after-free vulnerability in wddx.c in the WDDX extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to cause a denial of service…

PriorityP354critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
35.44%
98.2th percentile
Use-after-free vulnerability in wddx.c in the WDDX extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to cause a denial of service (memory corruption and application crash) or possibly have unspecified other impact by triggering a wddx_deserialize call on XML data containing a crafted var element.

Affected

23 ranges
VendorProductVersion rangeFixed in
applemac_os_x<= 10.11.4
appleos_x_el_capitan_v10.11.5_and_security_update_2016-003
phpphp<= 5.5.32
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
phpphp
php5php5>= 0 < 5.5.9+dfsg-1ubuntu4.165.5.9+dfsg-1ubuntu4.16

Detection & IOCsextracted from sources · hover to see the quote

path/etc/php.d/wddx.ini
filenamewddx.so
  • Trigger condition is a call to wddx_deserialize() on XML data containing a crafted var element — monitor for wddx_deserialize invocations on untrusted/remote input
  • Vulnerable code resides in wddx.c within the WDDX extension (php-xml subpackage); systems without php-xml / wddx.so loaded are not affected — check for presence of wddx.so in loaded PHP extensions
  • Reproducer available at upstream PHP bug tracker — useful for validating detection rules against known-malicious XML payloads
  • ·Mitigation: disable the WDDX extension by commenting out 'extension=wddx.so' in wddx.ini; php.d directory location varies by deployment

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.