[php-src] Issue #24908: [SECURITY] BUG-083: Format String - Potential Format String Vulnerability

From: Date: Wed, 28 Oct 2026 01:51:00 +0000
Subject: [php-src] Issue #24908: [SECURITY] BUG-083: Format String - Potential Format String Vulnerability
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253362@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24908 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-083 **Category:** Format String **Subcategory:** Potential Format String Vulnerability **Severity:** High **CWE:** CWE-134 **CVSS Score:** 7.5 **File:** win32/sendmail.c **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description printf-family function called with potentially user-controlled format string. Attacker can inject %n, %s, %x format specifiers. ### Impact Memory read/write, arbitrary code execution, crash. ### Remediation Always use format string literal as first argument: printf("%s", user_input) instead of printf(user_input). ### Exploitability Remote if input reaches format string ### Source - Repository: https://github.com/php/php-src/ - Branch: master - Analysis Date: 2026-10-27T16:38:37.937347Z --- *Auto-generated from static security analysis of php-src.* *Total bugs found: 161*

« previous php.bugs (#253362) next »