ubuntu-cve-2025-15536
Vulnerability from osv_ubuntu
Published
2026-01-18 09:15
Modified
2026-05-26 22:38
Summary
Details

A weakness has been identified in BYVoid OpenCC up to 1.1.9. This vulnerability affects the function opencc::MaxMatchSegmentation of the file src/MaxMatchSegmentation.cpp. This manipulation causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. Patch name: 345c9a50ab07018f1b4439776bad78a0d40778ec. To fix this issue, it is recommended to deploy a patch.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libopencc1",
            "binary_version": "0.4.3-2build1"
          },
          {
            "binary_name": "opencc",
            "binary_version": "0.4.3-2build1"
          },
          {
            "binary_name": "python-opencc",
            "binary_version": "0.4.3-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "opencc",
        "purl": "pkg:deb/ubuntu/opencc@0.4.3-2build1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.4.3-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopencc2",
            "binary_version": "1.0.4-5ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopencc2-data",
            "binary_version": "1.0.4-5ubuntu0.1~esm1"
          },
          {
            "binary_name": "opencc",
            "binary_version": "1.0.4-5ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "opencc",
        "purl": "pkg:deb/ubuntu/opencc@1.0.4-5ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.4-5ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.4-5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopencc2",
            "binary_version": "1.0.5+git20190530-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopencc2-data",
            "binary_version": "1.0.5+git20190530-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "opencc",
            "binary_version": "1.0.5+git20190530-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "opencc",
        "purl": "pkg:deb/ubuntu/opencc@1.0.5+git20190530-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.5+git20190530-1ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.5-2",
        "1.0.5+git20190530-1",
        "1.0.5+git20190530-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libopencc-data",
            "binary_version": "1.1.3+ds1-3ubuntu3.1"
          },
          {
            "binary_name": "libopencc1.1",
            "binary_version": "1.1.3+ds1-3ubuntu3.1"
          },
          {
            "binary_name": "opencc",
            "binary_version": "1.1.3+ds1-3ubuntu3.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "opencc",
        "purl": "pkg:deb/ubuntu/opencc@1.1.3+ds1-3ubuntu3.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.3+ds1-3ubuntu3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.1+git20200624+ds2-10ubuntu3",
        "1.1.3+ds1-3ubuntu2",
        "1.1.3+ds1-3ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libopencc-data",
            "binary_version": "1.1.7+ds1-1ubuntu0.1"
          },
          {
            "binary_name": "libopencc1.1",
            "binary_version": "1.1.7+ds1-1ubuntu0.1"
          },
          {
            "binary_name": "opencc",
            "binary_version": "1.1.7+ds1-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "opencc",
        "purl": "pkg:deb/ubuntu/opencc@1.1.7+ds1-1ubuntu0.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.7+ds1-1ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.6+ds1-1",
        "1.1.7+ds1-1",
        "1.1.7+ds1-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libopencc-data",
            "binary_version": "1.1.9+ds1-2ubuntu0.1"
          },
          {
            "binary_name": "libopencc1.1",
            "binary_version": "1.1.9+ds1-2ubuntu0.1"
          },
          {
            "binary_name": "opencc",
            "binary_version": "1.1.9+ds1-2ubuntu0.1"
          },
          {
            "binary_name": "python3-opencc",
            "binary_version": "1.1.9+ds1-2ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "opencc",
        "purl": "pkg:deb/ubuntu/opencc@1.1.9+ds1-2ubuntu0.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.9+ds1-2ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.9+ds1-1build1",
        "1.1.9+ds1-2"
      ]
    }
  ],
  "aliases": [],
  "details": "A weakness has been identified in BYVoid OpenCC up to 1.1.9. This vulnerability affects the function opencc::MaxMatchSegmentation of the file src/MaxMatchSegmentation.cpp. This manipulation causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. Patch name: 345c9a50ab07018f1b4439776bad78a0d40778ec. To fix this issue, it is recommended to deploy a patch.",
  "id": "UBUNTU-CVE-2025-15536",
  "modified": "2026-05-26T22:38:58Z",
  "published": "2026-01-18T09:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-15536"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-15536"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/BYVoid/OpenCC/pull/1005"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/oneafter/1222/blob/main/repro"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.341708"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?id.341708"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?submit.733347"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7972-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7972-2"
    }
  ],
  "related": [
    "USN-7972-1",
    "USN-7972-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "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:P",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-15536"
  ]
}



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…