jq is a command-line JSON processor. In version 1.8.0 a heap use after free vulnerability exists within the function f_strflocaltime of /src/builtin.c. This issue has been patched in commit 499c91b, no known fix version exists at time of publication.
{
"cwe_ids": [
"CWE-416"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49014.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49014.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "21456594099338338635748615545730557265",
"length": 986.0
},
"source": "https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e",
"signature_type": "Function",
"id": "CVE-2025-49014-3e43d7e6",
"target": {
"file": "src/builtin.c",
"function": "f_strflocaltime"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"229634195381499058681326750279650833607",
"230671743281348001652869107249043243754",
"318781633256137416056698969236056090348",
"221594159179736934004132549719613449877",
"300314480822069680885455335287559623124",
"332789478503690004999524088681419111540",
"295556432682119296555640261943771039645",
"223011200396628518572300652305279348205",
"163071475878479685086128886377381360284",
"235516793933210745273981392022280828375",
"81053189470843417409031580521265402663",
"185208184308688324749959713834010109323",
"3301820162626082305170999464506940786",
"320283078681103333539857400143893874706",
"197542084011474806318153766173779281612",
"225001260349828254685261580777144476096",
"2571407476777690373904023816381098686"
]
},
"source": "https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e",
"signature_type": "Line",
"id": "CVE-2025-49014-6e558b7a",
"target": {
"file": "src/builtin.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "127944034147993421152010928359955530594",
"length": 1289.0
},
"source": "https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e",
"signature_type": "Function",
"id": "CVE-2025-49014-efff44d6",
"target": {
"file": "src/builtin.c",
"function": "f_strftime"
}
}
]