CVE-2025-68617

Source
https://cve.org/CVERecord?id=CVE-2025-68617
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68617.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68617
Aliases
  • GHSA-ffw2-xvvp-39ch
Downstream
Related
Published
2025-12-23T22:41:28.861Z
Modified
2026-03-23T05:00:54.315395695Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Use after free in fluidsynth
Details

FluidSynth is a software synthesizer based on the SoundFont 2 specifications. From versions 2.5.0 to before 2.5.2, a race condition during unloading of a DLS file can trigger a heap-based use-after-free. A concurrently running thread may be pending to unload a DLS file, leading to use of freed memory, if the synthesizer is being concurrently destroyed, or samples of the (unloaded) DLS file are concurrently used to synthesize audio. This issue has been patched in version 2.5.2. The problem will not occur, when explicitly unloading a DLS file (before synth destruction), provided that at the time of unloading, no samples of the respective file are used by active voices. The problem will not occur in versions of FluidSynth that have been compiled without native DLS support.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68617.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-416"
    ]
}
References

Affected packages

Git / github.com/fluidsynth/fluidsynth

Affected ranges

Type
GIT
Repo
https://github.com/fluidsynth/fluidsynth
Events

Affected versions

v2.*
v2.5.0
v2.5.1

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "test/test_sfont_unloading.c"
        },
        "deprecated": false,
        "id": "CVE-2025-68617-56872711",
        "signature_version": "v1",
        "source": "https://github.com/fluidsynth/fluidsynth/commit/2d07b6ba240d5c40c51d42b8a9ccb0373ca9e1e9",
        "digest": {
            "line_hashes": [
                "292869959072895810180881308913736084312",
                "277174386879082680922373975865422835496",
                "25772108852946730211827827432201409882",
                "3977316033021007388345594220546667675",
                "318768187034328746214582352436234437449",
                "65076747092573439573257551787721528198",
                "261202732781790058092593193569562329938",
                "71727194951274260887052797404449324923",
                "324342769386684286488490420813521632603",
                "64800661795084153090724825609357714905",
                "309430224366904807940913209527378441640",
                "35984075722583812547463582002425649459",
                "9847263797338525028835676762491752524",
                "54442022903922065145166638316407586696",
                "318768187034328746214582352436234437449",
                "65076747092573439573257551787721528198",
                "261202732781790058092593193569562329938",
                "71727194951274260887052797404449324923",
                "324342769386684286488490420813521632603",
                "119228509318447040048921878744716836256",
                "136939798334318721493642473289229369480",
                "334970821412795010149769777937322255155",
                "270404135180178899312906932679168110779",
                "281216996403594403504043230538762863114",
                "65076747092573439573257551787721528198",
                "261202732781790058092593193569562329938",
                "71727194951274260887052797404449324923",
                "324342769386684286488490420813521632603",
                "28444897556014857391003462014009053800",
                "8772846713554922970557711860990544241",
                "2007703861094503167363532247460496914",
                "30228198138185865731799635313361139053",
                "120166416623581592419352276194871480699",
                "53650572243776762584583233315868329604",
                "64885672482267586688582534977388096248",
                "252671245692372623304402763214126225026",
                "105425289832812335918783738879442128600",
                "226057241642466136986374361311019742042",
                "78459566227403888569472741009378820929",
                "301360865748171659568306839148044330079",
                "38879523381326754712974511173460798735",
                "135943098215644833258322801130753070027",
                "156973268064897565528440799838517685314"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "function_hash": "11960903352363113167553200569858541988",
            "length": 792.0
        },
        "id": "CVE-2025-68617-6e7a5659",
        "signature_version": "v1",
        "source": "https://github.com/fluidsynth/fluidsynth/commit/2d07b6ba240d5c40c51d42b8a9ccb0373ca9e1e9",
        "target": {
            "file": "test/test_sfont_unloading.c",
            "function": "main"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "function_hash": "236303651037871317757874874892815388416",
            "length": 481.0
        },
        "id": "CVE-2025-68617-a1750e4a",
        "signature_version": "v1",
        "source": "https://github.com/fluidsynth/fluidsynth/commit/2d07b6ba240d5c40c51d42b8a9ccb0373ca9e1e9",
        "target": {
            "file": "test/test_sfont_unloading.c",
            "function": "test_without_rendering"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "test/test_sfont_unloading.c",
            "function": "test_after_polyphony_exceeded"
        },
        "id": "CVE-2025-68617-ad8ce704",
        "deprecated": false,
        "source": "https://github.com/fluidsynth/fluidsynth/commit/2d07b6ba240d5c40c51d42b8a9ccb0373ca9e1e9",
        "digest": {
            "function_hash": "55853318785889735561908590565781789508",
            "length": 1122.0
        }
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "117895584575955284687831163846801745211",
            "length": 1956.0
        },
        "signature_version": "v1",
        "id": "CVE-2025-68617-c5c39cf4",
        "deprecated": false,
        "source": "https://github.com/fluidsynth/fluidsynth/commit/2d07b6ba240d5c40c51d42b8a9ccb0373ca9e1e9",
        "target": {
            "file": "test/test_sfont_unloading.c",
            "function": "test_default_polyphony"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68617.json"