CVE and update status of the FreeBSD ports tree3,560 unaddressed CVEs in 711 portsAll times are CET
CVE details

CVE-2026-119196

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, constructed BIT STRING decoding repeatedly shifts and copies the complete bit value accumulated from earlier fragments. Attacker-controlled BER or CER input contains many constructed BIT STRING fragments; schema-driven DER also accepts a definite-length constructed BIT STRING. BitStringPayloadDecoder repeatedly calls BitString.fromOctetString with the prior bitString as prepend, shifting an ever-growing SizedInteger for each fragment and causing quadratic work. Large fragmented values can exhaust CPU during decode() without requiring later conversion or formatting. This issue is fixed in version 0.6.5.

Score
7.5 high
Published
2026-10-29
Links
NVD · cve.org · Report wrong data

Matched ports (1)

PortPackageVersionStatusMaintainer
devel/py-pyasn1py312-pyasn10.6.4unaddressedmhjacks@swbell.net

Template for a VuXML entry

Check the content

Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.

Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>py312-pyasn1 -- FIXME</topic>
    <affects>
      <package>
	<name>py312-pyasn1</name>
	<range><lt>0.6.5</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>CVE-2026-119196: pyasn1 is a generic ASN.1 library for Python. Prior
	  to 0.6.5, constructed BIT STRING decoding repeatedly shifts and
	  copies the complete bit value accumulated from earlier fragments.
	  Attacker-controlled BER or CER input contains many constructed BIT
	  STRING fragments; schema-driven DER also accepts a definite-length
	  constructed BIT STRING. BitStringPayloadDecoder repeatedly calls
	  BitString.fromOctetString with the prior bitString as prepend,
	  shifting an ever-growing SizedInteger for each fragment and causing
	  quadratic work. Large fragmented values can exhaust CPU during
	  decode() without requiring later conversion or formatting. This
	  issue is fixed in version 0.6.5.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-119196</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-119196</url>
    </references>
    <dates>
      <discovery>2026-10-29</discovery>
      <entry>2026-10-30</entry>
    </dates>
  </vuln>