Skip to content
Heist/ feed
Back to feed
MediumFix available

openssl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2024-0727

Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.

Products
openssl
Affected versions
3.0.10-1, 3.0.10-1~deb12u1, 3.0.11-1, 3.0.11-1~deb12u1, 3.0.11-1~deb12u2, 3.0.12-1, 3.0.12-2, 3.0.9-1
Fixed versions
3.0.13-1~deb12u1, 3.1.5-1
CVEs
CVE-2024-0727
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:54 UTC · Revision 1

Source evidence

DEBIAN-CVE-2024-0727

core-osv · Original source

Published 26 Jan 2024, 09:15 UTC

Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.

osv:DEBIAN-CVE-2024-0727

openssl

Fixed versions: 3.0.13-1~deb12u1

openssl

Fixed versions: 3.1.5-1

openssl

Fixed versions: 3.1.5-1

Complete source record
{
  "id": "047bfc0a59ed2b1d67f5b82f7781f3b60513550d2e4358b3f082b174c314a8d2",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-0727",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2024-0727",
    "summary": "Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.",
    "evidence": "osv:DEBIAN-CVE-2024-0727",
    "products": [
      {
        "name": {
          "value": "openssl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.0.13-1~deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.0.10-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.10-1~deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.11-1~deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.11-1~deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.12-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.12-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.9-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openssl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.5-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openssl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.5-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2024-0727",
      "aliases": [
        "DEBIAN-CVE-2024-0727"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.0.13-1~deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "openssl",
            "purl": "pkg:deb/debian/openssl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "3.0.10-1",
            "3.0.10-1~deb12u1",
            "3.0.11-1",
            "3.0.11-1~deb12u1",
            "3.0.11-1~deb12u2",
            "3.0.12-1",
            "3.0.12-2",
            "3.0.9-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-0727.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openssl",
            "purl": "pkg:deb/debian/openssl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-0727.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openssl",
            "purl": "pkg:deb/debian/openssl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-0727.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:43.891445866Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-0727"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2024-0727"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-0727",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 328543,
  "published_at": "2024-01-26T09:15:07.637+00:00"
}