Process crash via oversized tensor dimensions
Published Nov 18, 2022 · Updated Apr 22, 2025
Incorrect buffer size calculation in TensorFlow before 2.7.4, 2.8.0 through 2.8.1, or 2.9.0 through 2.9.1 allows remote attackers to cause a service interrupt via FusedResizeAndPadConv2D. The FusedResizeAndPadConv2D kernel multiplies dimensions from attacker-controlled large tensor shapes without preventing integer overflow, producing an invalid allocation calculation. Exploitation requires a remotely reachable application that accepts attacker-supplied tensors; the observed consequence is process crash or denial of service, with no confidentiality or integrity impact reported.
Summary
What happened
Incorrect buffer size calculation in TensorFlow before 2.7.4, 2.8.0 through 2.8.1, or 2.9.0 through 2.9.1 allows remote attackers to cause a service interrupt via FusedResizeAndPadConv2D. The FusedResizeAndPadConv2D kernel multiplies dimensions from attacker-controlled large tensor shapes without preventing integer overflow, producing an invalid allocation calculation. Exploitation requires a remotely reachable application that accepts attacker-supplied tensors; the observed consequence is process crash or denial of service, with no confidentiality or integrity impact reported.
The record
- CVE
- CVE-2022-41885
- Published
- Nov 18, 2022
- Updated
- Apr 22, 2025
- Vendor
- Product
- TensorFlow
- Classifications
- CWE-131, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 18, 2022CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.7.4
- Affected versionversion=>= 2.8.0, < 2.8.1
- Affected versionversion=>= 2.9.0, < 2.9.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo