[php-src] Issue #24983: [SECURITY] BUG-158: Concurrency - TSRM Thread Safety Issues
| From: | Codeleafly | Date: | Wed, 28 Oct 2026 01:52:04 +0000 |
| Subject: | [php-src] Issue #24983: [SECURITY] BUG-158: Concurrency - TSRM Thread Safety Issues | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-253437@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/24983
Author: Codeleafly
## 🐛 Security Bug Report
**Bug ID:** BUG-158
**Category:** Concurrency
**Subcategory:** TSRM Thread Safety Issues
**Severity:** Medium
**CWE:** CWE-662
**CVSS Score:** 5.0
**File:**
TSRM/tsrm_strtok_r.c
**Line:** multiple
**Status:** UNFIXED
**Verified:** False
### Description
Thread Safe Resource Manager may have race conditions in resource allocation/deallocation under
concurrent access.
### Impact
Data corruption, crash in multi-threaded SAPI (Apache, FPM).
### Remediation
Add proper mutex locks around TSRM resource operations.
### Exploitability
Local, concurrent access required
### 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*