{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/debian10els/vex/2025/cve-2025-12781-els_os-debian10els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-05-01T10:25:23Z",
      "generator": {
        "date": "2026-05-01T10:25:23Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2025-12781-ELS_OS-DEBIAN10ELS",
      "initial_release_date": "2025-01-01T00:00:00Z",
      "revision_history": [
        {
          "date": "2025-01-01T00:00:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-05-01T10:25:23Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2025-12781"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian None",
                "product": {
                  "name": "Debian None",
                  "product_id": "Debian-10",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:10:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/python2.7@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libpython2.7-dev@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/python2.7-dev@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libpython2.7@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libpython2.7-stdlib@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/python2.7-minimal@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                "product": {
                  "name": "libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_id": "libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libpython2.7-minimal@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                "product": {
                  "name": "python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_id": "python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/python2.7-examples@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                "product": {
                  "name": "libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_id": "libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libpython2.7-testsuite@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                "product": {
                  "name": "python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_id": "python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/python2.7-doc@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                "product": {
                  "name": "idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_id": "idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/idle-python2.7@2.7.16-2%2Bdeb10u4%2Btuxcare.els1?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all as a component of Debian None",
          "product_id": "Debian-10:python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all"
        },
        "product_reference": "python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all as a component of Debian None",
          "product_id": "Debian-10:libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all"
        },
        "product_reference": "libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all as a component of Debian None",
          "product_id": "Debian-10:python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all"
        },
        "product_reference": "python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64 as a component of Debian None",
          "product_id": "Debian-10:libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        },
        "product_reference": "libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all as a component of Debian None",
          "product_id": "Debian-10:idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all"
        },
        "product_reference": "idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-12781",
      "cwe": {
        "id": "CWE-704",
        "name": "Incorrect Type Conversion or Cast"
      },
      "notes": [
        {
          "category": "description",
          "text": "When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the \"base64\" module the characters \"+/\" will always be accepted, regardless of the value of \"altchars\" parameter, typically used to establish an \"alternative base64 alphabet\" such as the URL safe alphabet. This behavior matches what is recommended in earlier base64 RFCs, but newer RFCs now recommend either dropping characters outside the specified base64 alphabet or raising an error. The old behavior has the possibility of causing data integrity issues.\n\n\n\n\nThis behavior can only be insecure if your application uses an alternate base64 alphabet (without \"+/\"). If your application does not use the \"altchars\" parameter or the urlsafe_b64decode() function, then your application does not use an alternative base64 alphabet.\n\n\n\n\nThe attached patches DOES NOT make the base64-decode behavior raise an error, as this would be a change in behavior and break existing programs. Instead, the patch deprecates the behavior which will be replaced with the newly recommended behavior in a future version of Python. Users are recommended to mitigate by verifying user-controlled inputs match the base64 \nalphabet they are expecting or verify that their application would not be \naffected if the b64decode() functions accepted \"+\" or \"/\" outside of altchars.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        },
        {
          "category": "other",
          "text": "TuxCare has assessed that this vulnerability does not impact any currently supported TuxCare products. This evaluation may change as new information becomes available. For additional details regarding this vulnerability and affected products, refer to the provided references.",
          "title": "Statement"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "Debian-10:idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
          "Debian-10:libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
          "Debian-10:libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
          "Debian-10:libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
          "Debian-10:libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
          "Debian-10:libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
          "Debian-10:python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
          "Debian-10:python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
          "Debian-10:python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
          "Debian-10:python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
          "Debian-10:python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2025-12781"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/commit/13360efd385d1a7d0659beba03787ea3d063ef9b",
          "url": "https://github.com/python/cpython/commit/13360efd385d1a7d0659beba03787ea3d063ef9b"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/commit/1be80bec7960f5ccd059e75f3dfbd45fca302947",
          "url": "https://github.com/python/cpython/commit/1be80bec7960f5ccd059e75f3dfbd45fca302947"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/commit/9060b4abbe475591b6230b23c2afefeff26fcca5",
          "url": "https://github.com/python/cpython/commit/9060b4abbe475591b6230b23c2afefeff26fcca5"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/commit/e95e783dff443b68e8179fdb57737025bf02ba76",
          "url": "https://github.com/python/cpython/commit/e95e783dff443b68e8179fdb57737025bf02ba76"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/commit/fd17ee026fa9b67f6288cbafe374a3e479fe03a5",
          "url": "https://github.com/python/cpython/commit/fd17ee026fa9b67f6288cbafe374a3e479fe03a5"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/issues/125346",
          "url": "https://github.com/python/cpython/issues/125346"
        },
        {
          "category": "external",
          "summary": "https://github.com/python/cpython/pull/141128",
          "url": "https://github.com/python/cpython/pull/141128"
        },
        {
          "category": "external",
          "summary": "https://mail.python.org/archives/list/security-announce@python.org/thread/KRI7GC6S27YV5NJ4FPDALS2WI5ENAFJ6/",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/KRI7GC6S27YV5NJ4FPDALS2WI5ENAFJ6/"
        }
      ],
      "release_date": "2026-01-21T20:16:00Z",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "Debian-10:idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        },
        {
          "category": "impact",
          "details": "moderate",
          "product_ids": [
            "Debian-10:idle-python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:libpython2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-stdlib-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:libpython2.7-testsuite-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:python2.7-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:python2.7-dev-0:2.7.16-2+deb10u4+tuxcare.els1.amd64",
            "Debian-10:python2.7-doc-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:python2.7-examples-0:2.7.16-2+deb10u4+tuxcare.els1.all",
            "Debian-10:python2.7-minimal-0:2.7.16-2+deb10u4+tuxcare.els1.amd64"
          ]
        }
      ]
    }
  ]
}