Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2015-5621 EUVD-2015-5573GHSA-w7cc-jv4p-qccr

The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and earlier does not remove the varBind variable in a netsnmp_variable_list ite…

Published Aug 19, 2015 · Updated Dec 4, 2025 · Assigned by mitre

Description

The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and earlier does not remove the varBind variable in a netsnmp_variable_list item when parsing of the SNMP PDU fails, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted packet.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 net-snmp 5.7.3+dfsg-1.1 —
Debian 13 net-snmp 5.7.3+dfsg-1.1 —
Debian 12 net-snmp 5.7.3+dfsg-1.1 —
Debian 8 net-snmp 5.7.2.1+dfsg-1+deb8u1 DSA-4154-1
Debian 7 net-snmp 5.4.3~dfsg-2.8+deb7u2 DLA-1317-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS net-snmp 5.7.2~dfsg-8.1ubuntu3.1 USN-2711-1
ReleasePackageFixed inAdvisory
RHEL 7 net-snmp +8 1:5.7.2-20.ael7b_1.1 RHSA-2015:1636
RHEL 6 net-snmp +5 1:5.5-54.el6_7.1 RHSA-2015:1636
ReleasePackageFixed inAdvisory
SLES 12 net-snmp 5.7.2.1-4.3.2 SUSE-SU-2015:1556-1
SLES 11 SP4 net-snmp 5.4.2.1-8.12.24.1 SUSE-SU-2015:1524-1
SLES 11 SP3 net-snmp 5.4.2.1-8.12.24.1 SUSE-SU-2015:1524-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 net-snmp 5.7.2.1-4.3.2 SUSE-SU-2015:1556-1
SLES for SAP 11 SP4 net-snmp 5.4.2.1-8.12.24.1 SUSE-SU-2015:1524-1
SLES for SAP 11 SP3 net-snmp 5.4.2.1-8.12.24.1 SUSE-SU-2015:1524-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed net-snmp 5.7.3-8.4 openSUSE-SU-2024:10204-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 net-snmp +8 1:5.7.2-20.el7_1.1 ELSA-2015-1636

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 12

References