UBUNTU-CVE-2025-52565 (CVE-2025-52565)

Vulnerability from osv_ubuntu – Published: 2025-11-05 09:00 – Updated: 2026-01-20 05:33 – Source website
VLAI
Details

runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting /dev/pts/$n to /dev/console inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of /dev/pts/$n to /dev/console as configured for all containers that allocate a console). This happens after pivot_root(2), so this cannot be used to write to host files directly -- however, as with CVE-2025-31133, this can load to denial of service of the host or a container breakout by providing the attacker with a writable copy of /proc/sysrq-trigger or /proc/sys/kernel/core_pattern (respectively). This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-opencontainers-runc-dev",
            "binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4"
          },
          {
            "binary_name": "runc",
            "binary_version": "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0.8+dfsg-2",
        "0.1.1-0ubuntu5~16.04",
        "1.0.0~rc1-0ubuntu1~16.04",
        "1.0.0~rc1-0ubuntu2~16.04.1",
        "1.0.0~rc1-0ubuntu2~16.04.1.1",
        "1.0.0~rc2-0ubuntu2~16.04.1",
        "1.0.0~rc2+docker1.12.6-0ubuntu1~16.04.1",
        "1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1",
        "1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.2",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.3",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm1",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm2",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-opencontainers-runc-dev",
            "binary_version": "1.1.4-0ubuntu1~18.04.2+esm1"
          },
          {
            "binary_name": "runc",
            "binary_version": "1.1.4-0ubuntu1~18.04.2+esm1"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.4-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.0~rc2+docker1.13.1-0ubuntu1",
        "1.0.0~rc4+dfsg1-2",
        "1.0.0~rc4+dfsg1-6",
        "1.0.0~rc4+dfsg1-6ubuntu0.18.04.1",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.1",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2",
        "1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2+esm1",
        "1.0.0~rc10-0ubuntu1~18.04.1",
        "1.0.0~rc10-0ubuntu1~18.04.2",
        "1.0.0~rc93-0ubuntu1~18.04.1",
        "1.0.0~rc93-0ubuntu1~18.04.2",
        "1.0.0~rc95-0ubuntu1~18.04.1",
        "1.0.0~rc95-0ubuntu1~18.04.2",
        "1.0.1-0ubuntu2~18.04.1",
        "1.1.0-0ubuntu1~18.04.1",
        "1.1.4-0ubuntu1~18.04.1",
        "1.1.4-0ubuntu1~18.04.2",
        "1.1.4-0ubuntu1~18.04.2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-opencontainers-runc-dev",
            "binary_version": "1.1.7-0ubuntu1~20.04.5"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.7-0ubuntu1~20.04.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.0~rc8+git20190923.3e425f80-0ubuntu1",
        "1.0.0~rc10-0ubuntu1",
        "1.0.0~rc93-0ubuntu1~20.04.1",
        "1.0.0~rc93-0ubuntu1~20.04.2",
        "1.0.0~rc95-0ubuntu1~20.04.1",
        "1.0.0~rc95-0ubuntu1~20.04.2",
        "1.0.1-0ubuntu2~20.04.1",
        "1.1.0-0ubuntu1~20.04.1",
        "1.1.0-0ubuntu1~20.04.2",
        "1.1.4-0ubuntu1~20.04.1",
        "1.1.4-0ubuntu1~20.04.2",
        "1.1.4-0ubuntu1~20.04.3",
        "1.1.7-0ubuntu1~20.04.1",
        "1.1.7-0ubuntu1~20.04.2",
        "1.1.7-0ubuntu1~20.04.4",
        "1.1.7-0ubuntu1~20.04.5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "runc",
            "binary_version": "1.1.12-0ubuntu2~20.04.1"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "runc-app",
        "purl": "pkg:deb/ubuntu/runc-app@1.1.12-0ubuntu2~20.04.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.12-0ubuntu2~20.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-opencontainers-runc-dev",
            "binary_version": "1.1.7-0ubuntu1~22.04.6"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.7-0ubuntu1~22.04.6?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.1-0ubuntu2",
        "1.0.1-0ubuntu3",
        "1.0.3-0ubuntu1",
        "1.1.0-0ubuntu1",
        "1.1.0-0ubuntu1.1",
        "1.1.4-0ubuntu1~22.04.1",
        "1.1.4-0ubuntu1~22.04.2",
        "1.1.4-0ubuntu1~22.04.3",
        "1.1.7-0ubuntu1~22.04.1",
        "1.1.7-0ubuntu1~22.04.2",
        "1.1.7-0ubuntu1~22.04.4",
        "1.1.7-0ubuntu1~22.04.5",
        "1.1.7-0ubuntu1~22.04.6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "runc",
            "binary_version": "1.3.3-0ubuntu1~22.04.2"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "runc-app",
        "purl": "pkg:deb/ubuntu/runc-app@1.3.3-0ubuntu1~22.04.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.3-0ubuntu1~22.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.12-0ubuntu2~22.04.1",
        "1.2.5-0ubuntu1~22.04.1",
        "1.3.0-0ubuntu2~22.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-opencontainers-runc-dev",
            "binary_version": "1.1.12+ds1-2ubuntu1.3"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.12+ds1-2ubuntu1.3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.7-0ubuntu2",
        "1.1.10+ds1-1ubuntu1",
        "1.1.10+ds1-1ubuntu2",
        "1.1.12+ds1-1ubuntu1",
        "1.1.12+ds1-2ubuntu1",
        "1.1.12+ds1-2ubuntu1.1",
        "1.1.12+ds1-2ubuntu1.2",
        "1.1.12+ds1-2ubuntu1.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "runc",
            "binary_version": "1.3.3-0ubuntu1~24.04.2"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "runc-app",
        "purl": "pkg:deb/ubuntu/runc-app@1.3.3-0ubuntu1~24.04.2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.3-0ubuntu1~24.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.10-0ubuntu1",
        "1.1.12-0ubuntu1",
        "1.1.12-0ubuntu2",
        "1.1.12-0ubuntu3",
        "1.1.12-0ubuntu3.1",
        "1.2.5-0ubuntu1~24.04.1",
        "1.3.0-0ubuntu2~24.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-opencontainers-runc-dev",
            "binary_version": "1.1.15+ds1-2ubuntu1"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "runc",
        "purl": "pkg:deb/ubuntu/runc@1.1.15+ds1-2ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.15+ds1-2ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "runc",
            "binary_version": "1.3.3-0ubuntu1~25.10.2"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "runc-app",
        "purl": "pkg:deb/ubuntu/runc-app@1.3.3-0ubuntu1~25.10.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.3-0ubuntu1~25.10.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.5-0ubuntu1",
        "1.3.0-0ubuntu1",
        "1.3.0-0ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "runc-stable",
            "binary_version": "1.3.3-0ubuntu1~25.10.2"
          }
        ],
        "priority_reason": "runc developers have rated this as being high severity"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "runc-stable",
        "purl": "pkg:deb/ubuntu/runc-stable@1.3.3-0ubuntu1~25.10.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.3-0ubuntu1~25.10.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.3.0-0ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of `/dev/pts/$n` to `/dev/console` as configured for all containers that allocate a console). This happens after `pivot_root(2)`, so this cannot be used to write to host files directly -- however, as with CVE-2025-31133, this can load to denial of service of the host or a container breakout by providing the attacker with a writable copy of `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern` (respectively). This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.",
  "id": "UBUNTU-CVE-2025-52565",
  "modified": "2026-01-20T05:33:08Z",
  "published": "2025-11-05T09:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-52565"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-52565"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7851-1"
    }
  ],
  "related": [
    "USN-7851-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-52565"
  ]
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…