{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnome:glib:2.88.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.86.5"
              },
              {
                "introduced": "2.88.0"
              },
              {
                "last_affected": "2.88.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3033f7862c2d3c7569cef2ad4b425cf42e95d4b4"
            },
            {
              "introduced": "7a03e2ef692204d8bf0fa5f2b1a32bbac14634f4"
            },
            {
              "last_affected": "7a03e2ef692204d8bf0fa5f2b1a32bbac14634f4"
            }
          ],
          "repo": "https://github.com/gnome/glib",
          "type": "GIT"
        },
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnome:glib:2.88.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.86.5"
              },
              {
                "introduced": "2.88.0"
              },
              {
                "last_affected": "2.88.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3033f7862c2d3c7569cef2ad4b425cf42e95d4b4"
            },
            {
              "introduced": "7a03e2ef692204d8bf0fa5f2b1a32bbac14634f4"
            },
            {
              "last_affected": "7a03e2ef692204d8bf0fa5f2b1a32bbac14634f4"
            }
          ],
          "repo": "https://gitlab.gnome.org/gnome/glib",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.88.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58011.json"
  },
  "details": "A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.",
  "id": "CVE-2026-58011",
  "modified": "2026-08-12T03:51:14.306046315Z",
  "published": "2026-06-30T12:57:15.173Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:49512"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-58011"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58011.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58011"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2492245"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.gnome.org/GNOME/glib/-/issues/3917"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.gnome.org/GNOME/glib/"
    },
    {
      "type": "EVIDENCE",
      "url": "https://gitlab.gnome.org/GNOME/glib/-/work_items/3917"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime"
}