{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49581","id":"CVE-2022-49581","title":"be2net: Fix buffer overflow in be_get_module_eeprom","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbe2net: Fix buffer overflow in be_get_module_eeprom\n\nbe_cmd_read_port_transceiver_data assumes that it is given a buffer that\nis at least PAGE_DATA_LEN long, or twice that if the module supports SFF\n8472. However, this is not always the case.\n\nFix this by passing the desired offset and length to\nbe_cmd_read_port_transceiver_data ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbe2net: Fix buffer overflow in be_get_module_eeprom\n\nbe_cmd_read_port_transceiver_data assumes that it is given a buffer that\nis at least PAGE_DATA_LEN long, or twice that if the module supports SFF\n8472. However, this is not always the case.\n\nFix this by passing the desired offset and length to\nbe_cmd_read_port_transceiver_data so that we only copy the bytes once.","published":"2025-02-26T02:23:19.148Z","updated":"2026-10-28T02:30:34.260285014Z","reserved":"2025-02-26T02:21:30.412Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"fe4473fc7940f14c4a12db873b9729134c212654","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"8ff4f9df73e5c551a72ee6034886c17e8de6596d","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"a8569f76df7ec5b4b51155c57523a0b356db5741","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"665cbe91de2f7c97c51ca8fce39aae26477c1948","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"18043da94c023f3ef09c15017bdb04e8f695ef10","status":"affected","versionType":"git"},{"version":"e36edd9d26cf257511548edaf2b7a56eb4fed854","lessThan":"d7241f679a59cfe27f92cb5c6272cb429fb1f7ec","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.18","status":"affected"},{"version":"0","lessThan":"3.18","status":"unaffected","versionType":"semver"},{"version":"4.9.325","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.290","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.254","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.208","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.134","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.58","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.15","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a5a8fc0679a8fd58d47aa2ebcfc5742631f753f9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fe4473fc7940f14c4a12db873b9729134c212654","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8ff4f9df73e5c551a72ee6034886c17e8de6596d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a8569f76df7ec5b4b51155c57523a0b356db5741","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/665cbe91de2f7c97c51ca8fce39aae26477c1948","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/aba8ff847f4f927ad7a1a1ee4a9f29989a1a728f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/18043da94c023f3ef09c15017bdb04e8f695ef10","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d7241f679a59cfe27f92cb5c6272cb429fb1f7ec","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49581.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49581","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0031,"epssPercentile":0.24211,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49581","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49581","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49581","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49581","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}