Skip to content
Fencer Intel
medium 4.6

CVE-2007-3105 json

Stack-based buffer overflow in the random number generator (RNG) implementation in the Linux kernel before 2.6.22 might allow local root us…

published 19y ago modified 5mo ago also EUVD-2007-3097

cvss
4.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 31%
public exploits
0
none known

Summary

Stack-based buffer overflow in the random number generator (RNG) implementation in the Linux kernel before 2.6.22 might allow local root users to cause a denial of service or gain privileges by setting the default wakeup threshold to a value greater than the output pool size, which triggers writing random numbers to the stack by the pool transfer function involving "bound check ordering". NOTE: this issue might only cross privilege boundaries in environments that have granular assignment of privileges for root.

Patch / fix

  • kernel RHEL 5 2.6.18-8.1.15.el5
  • kernel-PAE RHEL 5 2.6.18-8.1.15.el5
  • kernel-xen RHEL 5 2.6.18-8.1.15.el5
  • kernel-kdump RHEL 5 2.6.18-8.1.15.el5
  • kernel-debuginfo-common RHEL 5 2.6.18-8.1.15.el5
  • kernel RHEL 4 2.6.9-55.0.12.EL
  • kernel-smp RHEL 4 2.6.9-55.0.12.EL
  • kernel-xenU RHEL 4 2.6.9-55.0.12.EL

2 fixed more, in the advisories below

red hat advisories RHSA-2007:0940RHSA-2007:0939

  • kernel-devel, kernel-macros, kernel-source, kernel-default, kernel-default-man, kernel-default-base, kernel-default-devel SLES 12 SP5, SLES 12 SP4, SLES 12 SP2 +1 more not affected

suse advisories suse-vex

SUSE CSAF VEX © SUSE LLC, from https://ftp.suse.com/pub/projects/security/csaf-vex/; changed: reduced to the packages affected with no fix, fixed or not affected per release. CC BY 4.0

Is CVE-2007-3105 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-3105 updated

Bound check ordering issue in random driver

  • Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-8.1.15.el5, kernel-PAE 2.6.18-8.1.15.el5, kernel-xen 2.6.18-8.1.15.el5, kernel-kdump 2.6.18-8.1.15.el5, kernel-debuginfo-common 2.6.18-8.1.15.el5
    fixed: vendor fix RHSA-2007:0940
  • Red Hat Enterprise Linux AS version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL
    fixed: vendor fix RHSA-2007:0939
  • Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-8.1.15.el5, kernel-PAE 2.6.18-8.1.15.el5, kernel-xen 2.6.18-8.1.15.el5, kernel-kdump 2.6.18-8.1.15.el5, kernel-debuginfo-common 2.6.18-8.1.15.el5
    fixed: vendor fix RHSA-2007:0940
  • Red Hat Enterprise Linux Desktop version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL Red Hat Enterprise Linux ES version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL Red Hat Enterprise Linux WS version 4 kernel 2.6.9-55.0.12.EL, kernel-smp 2.6.9-55.0.12.EL, kernel-xenU 2.6.9-55.0.12.EL, kernel-hugemem 2.6.9-55.0.12.EL, kernel-largesmp 2.6.9-55.0.12.EL
    fixed: vendor fix RHSA-2007:0939

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-25).

CVSS scores

assigned by version score vector
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.