Bug 2541641 (CVE-2025-14181)

Summary: CVE-2025-14181 php: PHP: Denial of Service via heap buffer overflow in SOAP client
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, sdawley, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in PHP. A malicious server can cause a Denial of Service (DoS) by exploiting an improper buffer size check in the Simple Object Access Protocol (SOAP) client during HTTP response parsing. When responding to a request, the server can supply crafted data that triggers an integer calculation issue, causing the client to allocate an undersized memory buffer. As the client writes incoming data past the allocated space, a heap-based buffer overflow occurs, leading to an application crash or potential memory corruption.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-09-25 20:41:29 UTC
The SOAP HTTP client guards its response buffer growth with a check that relies on signed integer overflow, which is undefined behaviour and is not guaranteed to trigger. When the check is optimised away, a malicious SOAP server can make the client allocate a buffer far smaller than the data it then writes into it, producing a heap buffer overflow.