OSV-2025-162 Heap-buffer-overflow in snmp_in_options

Not scored Published

A heap-buffer-overflow in Net-SNMP allows attackers to cause denial of service or potentially execute code via crafted SNMP packets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is OSV-2025-162?

OSV-2025-162 is a memory corruption vulnerability in net-snmp, published on 24 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=398067543

Crash type: Heap-buffer-overflow READ 8
Crash state:
snmp_in_options
netsnmp_parse_args
snmp_parse_args_fuzzer.c

Which versions are affected by OSV-2025-162?

1 open source package ship an affected version, including net-snmp.

PackageAffectedFixed in
net-snmp OSS-FuzzAll versionsNone

How do I fix OSV-2025-162?

No fix has been published for OSV-2025-162 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2025-162 being exploited?

There is no known exploitation of OSV-2025-162 in the wild and no public exploit code.

Sources

Is OSV-2025-162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free