VYPR
Unrated severityOSV Advisory· Published Jun 29, 2018· Updated Sep 17, 2024

CVE-2018-13007

CVE-2018-13007

Description

An issue was discovered in gpmf-parser 1.1.2. There is a heap-based buffer over-read in GPMF_parser.c in the function GPMF_Next, related to certain checks for GPMF_KEY_END and nest_level (not conditional on a buffer_size_longs check).

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A heap-based buffer over-read in gpmf-parser 1.1.2's GPMF_Next function can cause a crash or information disclosure via crafted GPMF data.

Vulnerability

In gpmf-parser version 1.1.2, the function GPMF_Next in GPMF_parser.c contains a heap-based buffer over-read vulnerability. The issue occurs because the code checks for GPMF_KEY_END and nest_level without first verifying that the buffer position is within bounds using a buffer_size_longs check. This allows reading beyond the allocated heap buffer when processing specially crafted GPMF data. The affected function is called during parsing of GPMF metadata, such as from GoPro video files.

Exploitation

An attacker can exploit this vulnerability by providing a malicious GPMF stream (e.g., embedded in a video file) to an application using the gpmf-parser library. No authentication is required; the attacker only needs to supply the crafted data. The parsing process triggers the over-read when GPMF_Next attempts to read a key type at an out-of-bounds position. The ASAN report confirms a read of size 4 at an address 0 bytes to the right of a 4568-byte region [1].

Impact

Successful exploitation leads to a heap-buffer over-read, which can cause a denial of service (crash) as demonstrated by the AddressSanitizer report. In some cases, it may also lead to information disclosure if the over-read reveals sensitive heap data. The vulnerability does not provide code execution directly, but could be leveraged in combination with other bugs.

Mitigation

The issue was reported in the upstream repository [1]. As of the publication date (2018-06-29), no official patch had been released. Users should update to a fixed version if available, or avoid processing untrusted GPMF data. The project may have since addressed the issue; consult the repository for the latest status.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Gopro/Gpmf ParserOSV2 versions
    v1.0, v1.01, v1.1, …+ 1 more
    • (no CPE)range: v1.0, v1.01, v1.1, …
    • (no CPE)range: <=1.1.2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.