TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, integer overflow occurs when 2^31 <= num_frames * height * width * channels < 2^32, for example Full HD screencast of at least 346 frames. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25667.json"
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.12.0"
}
]
}"2026-08-08T08:45:26Z"
[
{
"target": {
"file": "tensorflow/core/lib/gif/gif_io_test.cc"
},
"digest": {
"line_hashes": [
"75483344023816429105130490763696043289",
"5048300868609634787190383591664757390",
"330069613024145824126389773723531612521",
"40324363809392037008837474359697379798",
"40795313174366162036863075677102966814",
"196385181144489574157525661013123003497",
"336046903572298236129209819055494196297",
"199442846548475862059704899708917020185"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2023-25667-101c4c4e",
"source": "https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"
},
{
"target": {
"file": "tensorflow/core/lib/gif/gif_io.cc"
},
"digest": {
"line_hashes": [
"312683973966876362580114940459784222431",
"256899358402854129430259923433378709100",
"175686708388634474581516103812976608836",
"286495462731717484613262139888406739323",
"296220701238892890408272312498500066466",
"224032444667956843018123274678267778727",
"74568796020233128857535251786138762100",
"71064546818578940511665421790448513365",
"338006772525973745291982095005126614527",
"328576911163367567952297367932998870415",
"225099206183294977650354238225823640122",
"107051609724886551182225906509967148148",
"3192678925972932212101298233996880634",
"258753212494869283106847453344585987652",
"119583089973441725631259427846820220316",
"237339465516865318591457107639651870675",
"122306484358657262420960311130712746118",
"285050450174598028332036744045534940086",
"288181829055209924800595344131316769371",
"44515208220051684974659960553660683138",
"328430054474788384574424451433974647198",
"53997613645272902258063710718922258288",
"30587296236979998210241277004688842608"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2023-25667-557a8b5e",
"source": "https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"
},
{
"target": {
"function": "TEST",
"file": "tensorflow/core/lib/gif/gif_io_test.cc"
},
"digest": {
"length": 435.0,
"function_hash": "310435308776820137343310569710633624191"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2023-25667-5f0ac9d5",
"source": "https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"
},
{
"target": {
"file": "tensorflow/core/kernels/image/decode_image_op.cc"
},
"digest": {
"line_hashes": [
"331991745603701478666292707411477669829",
"83389706465366460482737271557856530812",
"130546531829194270344518875144420595979",
"284370101128173431935723099030038545006",
"104189083286458946738289580258698154549",
"3917642976523126524882292132022801030",
"171546781220418346243506608980270902321",
"40535225766815957133357606536866158407",
"116232964464812411681059266209652247905"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2023-25667-969a8977",
"source": "https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"
},
{
"target": {
"function": "TestDecodeGif",
"file": "tensorflow/core/lib/gif/gif_io_test.cc"
},
"digest": {
"length": 670.0,
"function_hash": "221575979870091091246827127066277084928"
},
"signature_version": "v1",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2023-25667-bb2a3e42",
"source": "https://github.com/tensorflow/tensorflow/commit/8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25667.json"