CVE-2016-4912: Null Pointer Dereference

Published Apr 21, 2016
·
Updated

A null pointer dereference vulnerability was found in function xrealloc() in xlspxmalloc.c in OpenSLP. A remote attacker could potentially crash the server when large number of packets are sent.

Vulnerable code:

void xrealloc(const char file, int line, void ptr, sizet size) { xallocationt x;

if (!ptr) return xmalloc(file, line, size);

if (!size) { xfree(file, line, ptr); return 0; }

x = xmallocfind(ptr); if (x != 0) { void newptr = ptr; if (x->size != size) { newptr = xmalloc(file, line, size); // return 0 if failed from xmalloc memcpy(newptr, ptr, x->size); // it'll cased a null pointer reference xfree(file, line, x); } return newptr; }

if (Gxmallocfh) fprintf(Gxmallocfh, " xrealloc called on " "non-xmalloc'd memory \n");

return 0; }

Other sources

The xrealloc function in xlspxmalloc.c in OpenSLP 2.0.0 allows remote attackers to cause a denial of service

Microsoft

Affected Software

2 affected componentsFixes available
OpenSLP OpenSLP=2.0.0
Microsoft cbl2 openslp 2.0.0-26

Event History

Apr 21, 2016
Data Sourced
via Red Hat·02:40 PM
DescriptionSeverityAffected Software
Mar 27, 2017
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Oct 1, 2025
Data Sourced
via Microsoft·11:10 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:10 PM
Affected Software
Updated
via Microsoft·11:10 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-4912?

CVE-2016-4912 has a medium severity rating due to its potential to cause a denial of service.

2

How do I fix CVE-2016-4912?

To fix CVE-2016-4912, you should upgrade to a patched version of OpenSLP that addresses this vulnerability.

3

Which versions of OpenSLP are affected by CVE-2016-4912?

CVE-2016-4912 affects OpenSLP version 2.0.0.

4

Can CVE-2016-4912 be exploited remotely?

Yes, CVE-2016-4912 can be exploited remotely by sending a large number of packets.

5

What type of attack can be executed using CVE-2016-4912?

An attacker can exploit CVE-2016-4912 to cause a null pointer dereference, potentially crashing the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203