ubuntu-cve-2025-67269
Vulnerability from osv_ubuntu
Published
2026-01-02 16:17
Modified
2026-06-30 16:17
Summary
Details

An integer underflow vulnerability exists in the nextstate() function in gpsd/packet.c of gpsd versions prior to commit ffa1d6f40bca0b035fc7f5e563160ebb67199da7. When parsing a NAVCOM packet, the payload length is calculated using lexer->length = (size_t)c - 4 without checking if the input byte c is less than 4. This results in an unsigned integer underflow, setting lexer->length to a very large value (near SIZE_MAX). The parser then enters a loop attempting to consume this massive number of bytes, causing 100% CPU utilization and a Denial of Service (DoS) condition.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.15-2build1"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.15-2build1"
          },
          {
            "binary_name": "libgps22",
            "binary_version": "3.15-2build1"
          },
          {
            "binary_name": "libqgpsmm22",
            "binary_version": "3.15-2build1"
          },
          {
            "binary_name": "python-gps",
            "binary_version": "3.15-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.15-2build1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.11-3",
        "3.15-2",
        "3.15-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.17-5"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.17-5"
          },
          {
            "binary_name": "libgps23",
            "binary_version": "3.17-5"
          },
          {
            "binary_name": "libqgpsmm23",
            "binary_version": "3.17-5"
          },
          {
            "binary_name": "python-gps",
            "binary_version": "3.17-5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.17-5?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.16-4",
        "3.17-3",
        "3.17-5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.20-8ubuntu0.4"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.20-8ubuntu0.4"
          },
          {
            "binary_name": "libgps26",
            "binary_version": "3.20-8ubuntu0.4"
          },
          {
            "binary_name": "libqgpsmm26",
            "binary_version": "3.20-8ubuntu0.4"
          },
          {
            "binary_name": "python3-gps",
            "binary_version": "3.20-8ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.20-8ubuntu0.4?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.17-7",
        "3.19-3",
        "3.20-1",
        "3.20-3",
        "3.20-4",
        "3.20-4build1",
        "3.20-5ubuntu1",
        "3.20-6",
        "3.20-8",
        "3.20-8ubuntu0.1",
        "3.20-8ubuntu0.2",
        "3.20-8ubuntu0.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.22-4ubuntu2.1"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.22-4ubuntu2.1"
          },
          {
            "binary_name": "gpsd-tools",
            "binary_version": "3.22-4ubuntu2.1"
          },
          {
            "binary_name": "libgps28",
            "binary_version": "3.22-4ubuntu2.1"
          },
          {
            "binary_name": "libqgpsmm28",
            "binary_version": "3.22-4ubuntu2.1"
          },
          {
            "binary_name": "python3-gps",
            "binary_version": "3.22-4ubuntu2.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.22-4ubuntu2.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.22-4ubuntu2.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.22-4",
        "3.22-4ubuntu1",
        "3.22-4ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.25-3ubuntu3.2"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.25-3ubuntu3.2"
          },
          {
            "binary_name": "gpsd-tools",
            "binary_version": "3.25-3ubuntu3.2"
          },
          {
            "binary_name": "libgps30t64",
            "binary_version": "3.25-3ubuntu3.2"
          },
          {
            "binary_name": "libqgpsmm30t64",
            "binary_version": "3.25-3ubuntu3.2"
          },
          {
            "binary_name": "python3-gps",
            "binary_version": "3.25-3ubuntu3.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.25-3ubuntu3.2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.25-3ubuntu3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.25-2ubuntu2",
        "3.25-3ubuntu2",
        "3.25-3ubuntu3",
        "3.25-3ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.25-5ubuntu1.25.10.1"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.25-5ubuntu1.25.10.1"
          },
          {
            "binary_name": "gpsd-tools",
            "binary_version": "3.25-5ubuntu1.25.10.1"
          },
          {
            "binary_name": "libgps30t64",
            "binary_version": "3.25-5ubuntu1.25.10.1"
          },
          {
            "binary_name": "libqgpsmm30t64",
            "binary_version": "3.25-5ubuntu1.25.10.1"
          },
          {
            "binary_name": "python3-gps",
            "binary_version": "3.25-5ubuntu1.25.10.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.25-5ubuntu1.25.10.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.25-5ubuntu1.25.10.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.25-5ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gpsd",
            "binary_version": "3.27-1.1ubuntu1"
          },
          {
            "binary_name": "gpsd-clients",
            "binary_version": "3.27-1.1ubuntu1"
          },
          {
            "binary_name": "gpsd-tools",
            "binary_version": "3.27-1.1ubuntu1"
          },
          {
            "binary_name": "libgps32",
            "binary_version": "3.27-1.1ubuntu1"
          },
          {
            "binary_name": "libqgpsmm32",
            "binary_version": "3.27-1.1ubuntu1"
          },
          {
            "binary_name": "python3-gps",
            "binary_version": "3.27-1.1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "gpsd",
        "purl": "pkg:deb/ubuntu/gpsd@3.27-1.1ubuntu1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.27-1.1ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.25-5ubuntu1",
        "3.27-1.1"
      ]
    }
  ],
  "aliases": [],
  "details": "An integer underflow vulnerability exists in the `nextstate()` function in `gpsd/packet.c` of gpsd versions prior to commit `ffa1d6f40bca0b035fc7f5e563160ebb67199da7`. When parsing a NAVCOM packet, the payload length is calculated using `lexer-\u003elength = (size_t)c - 4` without checking if the input byte `c` is less than 4. This results in an unsigned integer underflow, setting `lexer-\u003elength` to a very large value (near `SIZE_MAX`). The parser then enters a loop attempting to consume this massive number of bytes, causing 100% CPU utilization and a Denial of Service (DoS) condition.",
  "id": "UBUNTU-CVE-2025-67269",
  "modified": "2026-06-30T16:17:37Z",
  "published": "2026-01-02T16:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-67269"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-67269"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Jaenact/gspd_cve/blob/main/CVE-2025-67269/README.md"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7948-1"
    }
  ],
  "related": [
    "USN-7948-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-67269"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…