Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-20760

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-20760
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:25 UTC · Revision 1

Source evidence

CVE-2018-20760

core-osv · Original source

Published 6 Feb 2019, 23:29 UTC

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

osv:CVE-2018-20760
Complete source record
{
  "id": "8b2624444117ffc63840828e453c6e21d5fc0d89291ab98cdd079734c4d4833a",
  "url": "https://osv.dev/vulnerability/CVE-2018-20760",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-20760",
    "summary": "In GPAC 0.7.1 and earlier, gf_text_get_utf8_line in media_tools/text_import.c in libgpac_static.a allows an out-of-bounds write because a certain -1 return value is mishandled.",
    "evidence": "osv:CVE-2018-20760",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-20760",
      "aliases": [
        "CVE-2018-20760"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gpac/gpac",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "440d475f133038824dab08292b2e592ecd0e10b4"
                },
                {
                  "fixed": "4c1360818fc8948e9307059fba4dc47ba8ad255d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.7.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4c1360818fc8948e9307059fba4dc47ba8ad255d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20760.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-20760-0f0f89f8",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "166482483231269289728412799493455409256",
                    "294305885484496685493816442798177987069",
                    "339237291132411872005631746324972709639",
                    "275142320839685856229007254720329448643"
                  ]
                },
                "source": "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
                "target": {
                  "file": "src/media_tools/text_import.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-20760-5f3fa077",
                "digest": {
                  "length": 1613,
                  "function_hash": "99797345829505119259293328342837626094"
                },
                "source": "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
                "target": {
                  "file": "src/media_tools/text_import.c",
                  "function": "gf_text_get_utf8_line"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:28:57Z"
          }
        }
      ],
      "modified": "2026-10-20T13:28:57.918187768Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/02/msg00040.html",
        "https://usn.ubuntu.com/3926-1/",
        "https://github.com/gpac/gpac/commit/4c1360818fc8948e9307059fba4dc47ba8ad255d",
        "https://github.com/gpac/gpac/issues/1177"
      ],
      "provider_metadata": {
        "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:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "18.10"
                  },
                  {
                    "last_affected": "18.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-20760",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387726,
  "published_at": "2019-02-06T23:29:00.23+00:00"
}