CVE-2018-20760

Source
https://cve.org/CVERecord?id=CVE-2018-20760
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20760.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20760
Downstream
Published
2019-02-06T23:29:00.230Z
Modified
2026-07-08T17:17:47.868056Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In GPAC 0.7.1 and earlier, gftextgetutf8line in mediatools/textimport.c in libgpac_static.a allows an out-of-bounds write because a certain -1 return value is mishandled.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                },
                {
                    "introduced": "18.10"
                },
                {
                    "last_affected": "18.10"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "canonical:ubuntu_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/gpac/gpac

Affected ranges

Type
GIT
Repo
https://github.com/gpac/gpac
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.7.1"
        }
    ],
    "cpe": "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.5.2
v0.6.0
v0.7.0
v0.7.1

Database specific

vanir_signatures_modified
"2026-07-08T17:17:47Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20760.json"
vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "src/media_tools/text_import.c"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "166482483231269289728412799493455409256",
                "294305885484496685493816442798177987069",
                "339237291132411872005631746324972709639",
                "275142320839685856229007254720329448643"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-20760-0f0f89f8",
        "source": "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "src/media_tools/text_import.c",
            "function": "gf_text_get_utf8_line"
        },
        "deprecated": false,
        "digest": {
            "length": 1613.0,
            "function_hash": "99797345829505119259293328342837626094"
        },
        "id": "CVE-2018-20760-5f3fa077",
        "source": "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
        "signature_version": "v1"
    }
]