CVE-2025-49014

Source
https://cve.org/CVERecord?id=CVE-2025-49014
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49014.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-49014
Aliases
  • GHSA-rmjp-cr27-wpg2
Downstream
Published
2025-06-19T15:08:04.875Z
Modified
2025-12-05T10:18:35.308115Z
Severity
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
jq heap use after free vulnerability in f_strflocaltime
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/jqlang/jq

Affected ranges

Type
GIT
Repo
https://github.com/jqlang/jq
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.6rc2
jq-1.*
jq-1.0
jq-1.1
jq-1.2
jq-1.3
jq-1.4
jq-1.5rc1
jq-1.5rc2
jq-1.6
jq-1.6rc1
jq-1.7
jq-1.7.1
jq-1.7rc1
jq-1.7rc2
jq-1.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49014.json"
vanir_signatures
[
    {
        "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"
        }
    }
]