Skip to content
Heist/ feed
Back to feed
Medium

PX4 PX4-Autopilot mavlink_log_handler.cpp log_entry_from_id stack-based overflow

Type: advisorySources: OSV

A vulnerability was found in PX4 PX4-Autopilot up to 1.16.0. Affected by this issue is the function MavlinkLogHandler::state_listing/MavlinkLogHandler::log_entry_from_id of the file src/modules/mavlink/mavlink_log_handler.cpp. The manipulation results in stack-based buffer overflow. The attack is only possible with local access. The patch is identified as 338595edd1d235efd885fd5e9f45e7f9dcf4013d. It is best practice to apply a patch to resolve this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-15150
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 19:46 UTC · Revision 1

Source evidence

PX4 PX4-Autopilot mavlink_log_handler.cpp log_entry_from_id stack-based overflow

core-osv · Original source

Published 28 Dec 2025, 19:02 UTC

A vulnerability was found in PX4 PX4-Autopilot up to 1.16.0. Affected by this issue is the function MavlinkLogHandler::state_listing/MavlinkLogHandler::log_entry_from_id of the file src/modules/mavlink/mavlink_log_handler.cpp. The manipulation results in stack-based buffer overflow. The attack is only possible with local access. The patch is identified as 338595edd1d235efd885fd5e9f45e7f9dcf4013d. It is best practice to apply a patch to resolve this issue.

osv:CVE-2025-15150
Complete source record
{
  "id": "2f71531db41fc404e9e0216223bbc738a8006ba40982af7e5c55105bc2bd6cea",
  "url": "https://osv.dev/vulnerability/CVE-2025-15150",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PX4 PX4-Autopilot mavlink_log_handler.cpp log_entry_from_id stack-based overflow",
    "summary": "A vulnerability was found in PX4 PX4-Autopilot up to 1.16.0. Affected by this issue is the function MavlinkLogHandler::state_listing/MavlinkLogHandler::log_entry_from_id of the file src/modules/mavlink/mavlink_log_handler.cpp. The manipulation results in stack-based buffer overflow. The attack is only possible with local access. The patch is identified as 338595edd1d235efd885fd5e9f45e7f9dcf4013d. It is best practice to apply a patch to resolve this issue.",
    "evidence": "osv:CVE-2025-15150",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-15150",
      "aliases": [
        "CVE-2025-15150"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/px4/px4-autopilot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "401d35677f63276ba1957093de86a06a6404920b"
                },
                {
                  "last_affected": "6ea3539157ca358c70a515878b77077af7d4611d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "last_affected": "1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.1"
                      },
                      {
                        "last_affected": "1.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.2"
                      },
                      {
                        "last_affected": "1.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.5"
                      },
                      {
                        "last_affected": "1.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.7"
                      },
                      {
                        "last_affected": "1.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.8"
                      },
                      {
                        "last_affected": "1.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.9"
                      },
                      {
                        "last_affected": "1.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.10"
                      },
                      {
                        "last_affected": "1.10"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.11"
                      },
                      {
                        "last_affected": "1.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.12"
                      },
                      {
                        "last_affected": "1.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.13"
                      },
                      {
                        "last_affected": "1.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.14"
                      },
                      {
                        "last_affected": "1.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.15"
                      },
                      {
                        "last_affected": "1.15"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.16.0"
                      },
                      {
                        "last_affected": "1.16.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:dronecode:px4_drone_autopilot:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.16.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0",
            "1.1",
            "1.10",
            "1.11",
            "1.12",
            "1.13",
            "1.14",
            "1.15",
            "1.16.0",
            "1.2",
            "1.5",
            "1.7",
            "1.8",
            "1.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15150.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.734740108Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15150.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-15150",
        "https://vuldb.com/?id.338527",
        "https://vuldb.com/?submit.717323",
        "https://github.com/PX4/PX4-Autopilot/issues/26118",
        "https://github.com/PX4/PX4-Autopilot/pull/26124",
        "https://vuldb.com/?ctiid.338527",
        "https://github.com/PX4/PX4-Autopilot/pull/26124/commits/338595edd1d235efd885fd5e9f45e7f9dcf4013d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-121"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3"
                  },
                  {
                    "last_affected": "1.3"
                  },
                  {
                    "introduced": "1.4"
                  },
                  {
                    "last_affected": "1.4"
                  },
                  {
                    "introduced": "1.6"
                  },
                  {
                    "last_affected": "1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15150.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-15150",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520249,
  "published_at": "2025-12-28T19:02:07.96+00:00"
}