CWE
NVD-CWE-Other
Advisory Published
CVE Published
Updated

CVE-2004-0114

First published: Wed Mar 03 2004(Updated: )

The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's reference count when the vm_map_find function fails, which could allow local users to gain read or write access to a portion of kernel memory and gain privileges.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
OpenBSD<=2.6
FreeBSD FreeBSD<=5.2
NetBSD NetBSD<=1.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-2004-0114?

    CVE-2004-0114 is classified as having a moderate severity level due to the potential for local users to gain unauthorized access to shared memory segments.

  • How do I fix CVE-2004-0114?

    To address CVE-2004-0114, consider upgrading to a patched version of FreeBSD, OpenBSD, or NetBSD that resolves the issue.

  • What systems are affected by CVE-2004-0114?

    CVE-2004-0114 affects FreeBSD versions up to 5.2, NetBSD versions up to 1.3, and OpenBSD versions up to 2.6.

  • What is the impact of CVE-2004-0114?

    The impact of CVE-2004-0114 includes a potential escalation of privileges, allowing local users to read or write to restricted shared memory segments.

  • Is there a workaround for CVE-2004-0114?

    While the best solution is upgrading to fixed versions, restricting access permissions for shared memory segments can serve as a temporary workaround for CVE-2004-0114.

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