CVE-2023-25671

Source
https://cve.org/CVERecord?id=CVE-2023-25671
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-25671.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-25671
Aliases
Downstream
Published
2023-03-24T23:31:40.731Z
Modified
2026-04-11T16:44:03.600478Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
TensorFlow has segmentation fault in tfg-translate
Details

TensorFlow is an open source platform for machine learning. There is out-of-bounds access due to mismatched integer type sizes. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.

Database specific
{
    "cwe_ids": [
        "CWE-787"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25671.json"
}
References

Affected packages

Git / github.com/tensorflow/tensorflow

Affected ranges

Type
GIT
Repo
https://github.com/tensorflow/tensorflow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.12.0"
        }
    ]
}

Affected versions

0.*
0.5.0
0.6.0
v1.*
v1.1.0-rc1
v1.1.0-rc2
v1.12.1
v1.6.0-rc1
v1.9.0-rc2
v2.*
v2.12.0-rc0
v2.12.0-rc1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-25671.json"
vanir_signatures_modified
"2026-04-11T16:44:03Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "id": "CVE-2023-25671-3609c99b",
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "41737126082438154888327617717463636980",
            "length": 198.0
        },
        "target": {
            "file": "tensorflow/core/ir/importexport/tfg-translate.cc",
            "function": "main"
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/2eedc8f676d2c3b8be9492e547b2bc814c10b367"
    },
    {
        "signature_type": "Line",
        "id": "CVE-2023-25671-5201752f",
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "110936910809933810313696292827688334170",
                "46050431440526392475159163936027345292",
                "243823049579734347885637504562602315469",
                "131905123196545719080324326596714371011",
                "38969284885242220308282294486140276184",
                "124320428570008947099963848856194123831",
                "81357170747677019339961982708716155329",
                "330472524566922850763506030940656034287"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "tensorflow/core/ir/importexport/tfg-translate.cc"
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/2eedc8f676d2c3b8be9492e547b2bc814c10b367"
    },
    {
        "signature_type": "Line",
        "id": "CVE-2023-25671-a070333a",
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "78792333873588860814535388065407686704",
                "251215331340689476191073796142577896024",
                "283893177921906776137287300813055930980",
                "93159640951277688411446472009275404379",
                "159431613838891742549851905728524157395",
                "261439544674207126016204729305385138339",
                "79219829053516516609760405224472808042",
                "294833776135814384306126183236736958568",
                "200645095797821004903206337825961216192",
                "138742371328213206344557837225792688669",
                "301524666265235932771393002366852762424",
                "290987826776189472153684619627486360282",
                "19825731055762180756249145206051013417",
                "39065919470201946766140670541656156423",
                "142206059637822012130801543982551006932",
                "198708696776721715784563160068540932284",
                "275400656781667375922233512382688685657",
                "174774852686795017853554234934999633573",
                "184716737021656739682524113825894448363",
                "269310065920517242017497074168845079719",
                "63850069166224907752672790295228162239",
                "145427411806174163472605282787115985774",
                "8985688138822279644455707784668789635",
                "268842721151862623012373822770299692956",
                "77315212033208531006180886466650713234",
                "5753182078445803417293414579659525426",
                "298158345473563494993682907807944266365",
                "88309296290049677647534689862454252405"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "tensorflow/core/ir/importexport/functiondef_import.cc"
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/760322a71ac9033e122ef1f4b1c62813021e5938"
    },
    {
        "signature_type": "Function",
        "id": "CVE-2023-25671-dfbc71a5",
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "324110293359966431996914401560878698415",
            "length": 2205.0
        },
        "target": {
            "file": "tensorflow/core/ir/importexport/functiondef_import.cc",
            "function": "ImportNodes"
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/760322a71ac9033e122ef1f4b1c62813021e5938"
    }
]