CVE-2004-2731

Medium

Multiple integer overflows in Sbus PROM driver (drivers/sbus/char/openprom.c) for the Linux kernel 2.4.x up to 2.4.27, 2.6.x up to 2.6.7, and possibly later versions, allow local users to execute arbitrary code by specifying (1) a small buffer size to the copyin_string function or (2) a negative buffer size to the copyin function.

Package Linux Kernel
Published 2004-12-31
Last modified 2026-04-16
CVSS version 2.0
Patch available
Awaiting data

CVSS 2.0 score

4.4

out of 10
Medium
Attack Vector
Local
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Vector string
AV:L/AC:M/Au:N/C:P/I:P/A:P

Weakness type

CWE-189

CVE-2004-2731 is classified as CWE-189

See CWE-189 on MITRE CWE for full details on this weakness type.

References

The following references provide additional information about CVE-2004-2731 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2004-2731?

    CVE-2004-2731 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.4 out of 10 . CVE-2004-2731 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2004-2731?

    CVE-2004-2731 has a CVSS score of 4.4 out of 10, rated Medium severity (CVSS 2.0). The vector string is AV:L/AC:M/Au:N/C:P/I:P/A:P .

  • Is there a patch available for CVE-2004-2731?

    No patch is currently available for CVE-2004-2731. Monitor the NIST NVD and your Linux distribution's security advisories for updates.

  • Is CVE-2004-2731 actively exploited?

    No — CVE-2004-2731 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.