7.5
CWE
119
Advisory Published
Updated

CVE-2012-2152: Buffer Overflow

First published: Wed Jul 25 2012(Updated: )

Stack-based buffer overflow in the get_packet method in socket.c in dhcpcd 3.2.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long packet.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
dhcpcd=3.2.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-2152?

    CVE-2012-2152 is considered to have a medium severity due to its potential for denial of service and arbitrary code execution.

  • How do I fix CVE-2012-2152?

    To mitigate CVE-2012-2152, upgrade to a patched version of dhcpcd that resolves the stack-based buffer overflow issue.

  • Which versions of dhcpcd are affected by CVE-2012-2152?

    CVE-2012-2152 specifically affects dhcpcd version 3.2.3.

  • What type of vulnerability is CVE-2012-2152?

    CVE-2012-2152 is classified as a stack-based buffer overflow vulnerability.

  • Can CVE-2012-2152 be exploited remotely?

    Yes, CVE-2012-2152 can be exploited remotely by sending a long packet to the affected dhcpcd service.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203