Description
The perl_trapd_handler function in perl/TrapReceiver/TrapReceiver.xs in Net-SNMP 5.7.3.pre3 and earlier, when using certain Perl versions, allows remote attackers to cause a denial of service (snmptrapd crash) via an empty community string in an SNMP trap, which triggers a NULL pointer dereference within the newSVpv function in Perl.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | net-snmp | 5.7.2.1~dfsg-3 | — |
| Debian 13 | net-snmp | 5.7.2.1~dfsg-3 | — |
| Debian 12 | net-snmp | 5.7.2.1~dfsg-3 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | net-snmp +4 | 1:5.3.2.2-22.el5_10.1 | RHSA-2014:0322 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | net-snmp | 5.7.3-8.4 | openSUSE-SU-2024:10204-1 |
Advisories 4
- RHSA-2014:0322 Red Hat Security Advisory: net-snmp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2024:10204-1 libsnmp30-32bit-5.7.3-8.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1694 Net-SNMP: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Jul 31, 2025
- WID-SEC-2024-1591 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1072778
- openSUSE-SU-2014:0398 vendor-advisory
- openSUSE-SU-2014:0399 vendor-advisory
- RHSA-2014:0322 vendor-advisory
- 59974 third-party-advisory
- GLSA-201409-02 vendor-advisory
- http://sourceforge.net/p/net-snmp/patches/1275/
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://www.nntp.perl.org/group/perl.perl5.porters/2006/09/msg116250.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1072044
- [oss-security] 20140305 CVE request for two net-snmp remote DoS flaws mailing-list