---
title: "CVE-2026-138295"
canonical_url: "https://pkgseek.com/security/CVE-2026-138295"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-138295

Net-SNMP snmpd through 5.9.5.2 and 5.10.pre1 before 5.10.pre3 contains a heap out-of-bounds write vulnerability in view_parse_oid() that allows authenticated attackers with SNMP write access to corrupt heap memory. Attackers can send a single SET to vacmViewTreeFamilyTable whose index begins with sub-identifier 4294967295, causing a one-byte write before a malloc(0) allocation and crashing snmpd.

CVE-2026-138295 严重级别为 MEDIUM (4.9)，共索引 17 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: MEDIUM (4.9)
- **受影响构建数**: 17
- **涉及发行版**: 2
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libnetsnmptrapd40t64 | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | libsnmp40t64 | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | libsnmp-base | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | libsnmp-dev | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | libsnmp-perl | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | snmp | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | snmpd | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | snmptrapd | 5.9.4+dfsg-2+deb13u1 | — |
| Debian | trixie | tkmib | 5.9.4+dfsg-2+deb13u1 | — |
| Ubuntu | jammy | libsnmp40 | 5.9.1+dfsg-1ubuntu2 | — |
| Ubuntu | jammy | libsnmp-base | 5.9.1+dfsg-1ubuntu2 | — |
| Ubuntu | jammy | snmp | 5.9.1+dfsg-1ubuntu2 | — |
| Ubuntu | jammy | snmpd | 5.9.1+dfsg-1ubuntu2 | — |
| Ubuntu | noble | libsnmp40t64 | 5.9.4+dfsg-1.1ubuntu3 | — |
| Ubuntu | noble | libsnmp-base | 5.9.4+dfsg-1.1ubuntu3 | — |
| Ubuntu | noble | snmp | 5.9.4+dfsg-1.1ubuntu3 | — |
| Ubuntu | noble | snmpd | 5.9.4+dfsg-1.1ubuntu3 | — |
