[php-src] Issue #24979: [SECURITY] BUG-154: Buffer Overflow - SNMP Extension Buffer Overflow
| From: | Codeleafly | Date: | Wed, 28 Oct 2026 01:52:01 +0000 |
| Subject: | [php-src] Issue #24979: [SECURITY] BUG-154: Buffer Overflow - SNMP Extension Buffer Overflow | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-253433@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/24979
Author: Codeleafly
## 🐛 Security Bug Report
**Bug ID:** BUG-154
**Category:** Buffer Overflow
**Subcategory:** SNMP Extension Buffer Overflow
**Severity:** High
**CWE:** CWE-121
**CVSS Score:** 7.5
**File:**
ext/snmp/snmp.c
**Line:** multiple
**Status:** UNFIXED
**Verified:** False
### Description
SNMP extension uses strcpy() and sprintf() without bounds checking on network-sourced data.
### Impact
Buffer overflow, remote code execution.
### Remediation
Replace unsafe string functions with bounded alternatives.
### Exploitability
Remote via SNMP packets
### 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*