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

CVE-2026-49142

OpenEMR before 8.5.0 contains an authenticated SQL injection vulnerability in the Syndromic Surveillance module that allows users with Clinician-level privileges to read and modify arbitrary database contents by submitting crafted values in the form_icd_codes[] POST parameter to the syndromicsurveillance/index endpoint. Attackers can inject an unquoted numeric IN() clause and UNION DISTINCT SELECT statement using hex-encoded literals to abuse MySQL extractvalue() for error-based exfiltration of bcrypt password hashes and execute stacked queries that reset passwords, resulting in full administrative account takeover.

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

Matched ports (4)

PortPackageVersionStatusMaintainer
www/openemropenemr-php828.0.0unaddressedwen@FreeBSD.org
www/openemropenemr-php838.0.0unaddressedwen@FreeBSD.org
www/openemropenemr-php848.0.0unaddressedwen@FreeBSD.org
www/openemropenemr-php858.0.0unaddressedwen@FreeBSD.org

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>openemr-php82 -- FIXME</topic>
    <affects>
      <package>
	<name>openemr-php82</name>
	<name>openemr-php83</name>
	<name>openemr-php84</name>
	<name>openemr-php85</name>
	<range><lt>8.5.0</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>CVE-2026-49142: OpenEMR before 8.5.0 contains an authenticated SQL
	  injection vulnerability in the Syndromic Surveillance module that
	  allows users with Clinician-level privileges to read and modify
	  arbitrary database contents by submitting crafted values in the
	  form_icd_codes[] POST parameter to the syndromicsurveillance/index
	  endpoint. Attackers can inject an unquoted numeric IN() clause and
	  UNION DISTINCT SELECT statement using hex-encoded literals to abuse
	  MySQL extractvalue() for error-based exfiltration of bcrypt
	  password hashes and execute stacked queries that reset passwords,
	  resulting in full administrative account takeover.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-49142</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-49142</url>
    </references>
    <dates>
      <discovery>2026-10-29</discovery>
      <entry>2026-10-29</entry>
    </dates>
  </vuln>